/* Poradňa — premium article layout (Stavbahub design system) */

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 120px;
}

.poradna-article-page {
    background: var(--background-light, #f8fafc);
    padding-bottom: 4rem;
    overflow-x: hidden;
}

/* —— Hero —— */
.poradna-article-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 62%, #f8fafc 100%);
    padding: 1rem 0 0;
}

.poradna-article-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    padding-bottom: 1.75rem;
}

@media (min-width: 900px) {
    .poradna-article-hero__grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
        gap: 2rem 2.75rem;
        padding-bottom: 2rem;
    }
}

.poradna-article-breadcrumb {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    color: var(--text-gray, #64748b);
    grid-column: 1 / -1;
}

.poradna-article-breadcrumb a {
    color: var(--primary-blue, #2563eb);
    text-decoration: none;
    font-weight: 500;
}

.poradna-article-breadcrumb a:hover {
    color: var(--primary-blue-dark, #1d4ed8);
    text-decoration: underline;
}

.poradna-article-category {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-blue-dark, #1d4ed8);
    background: #fff;
    border: 1px solid rgba(37, 99, 235, 0.18);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.15rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.poradna-article-hero__title {
    font-size: clamp(1.85rem, 4.8vw, 2.65rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 0 1.15rem;
    color: var(--text-dark, #1e293b);
}

.poradna-article-hero__lead {
    font-size: clamp(1.05rem, 2.2vw, 1.2rem);
    line-height: 1.75;
    color: var(--text-gray, #475569);
    margin: 0 0 1.5rem;
    max-width: 36rem;
}

.poradna-article-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.5rem;
    font-size: 0.875rem;
    color: var(--secondary-gray, #64748b);
}

.poradna-article-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.poradna-article-hero__media {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 20px 48px rgba(37, 99, 235, 0.12);
    background: #e2e8f0;
    aspect-ratio: 4 / 3;
}

@media (min-width: 900px) {
    .poradna-article-hero__media {
        aspect-ratio: 5 / 4;
    }
}

.poradna-article-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* —— In-article section figures —— */
.poradna-article-figure {
    margin: 1.35rem 0 1.75rem;
    border-radius: 16px;
    overflow: hidden;
    background: #e2e8f0;
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.04),
        0 12px 32px rgba(37, 99, 235, 0.1);
}

.poradna-article-figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.poradna-article-figure__caption {
    margin: 0;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-gray, #64748b);
    text-align: center;
    background: #fff;
    border-top: 1px solid rgba(37, 99, 235, 0.08);
}

/* 60–30–10 color rule visual */
.poradna-article-palette-rule {
    margin: 1.5rem 0 2rem;
    padding: 1.25rem 1.15rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.poradna-article-palette-rule__title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-blue-dark, #1d4ed8);
    margin: 0 0 1rem;
    text-align: center;
}

.poradna-article-palette-rule svg {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto;
}

.poradna-article-palette-rule__caption {
    font-size: 0.8125rem;
    color: var(--text-gray, #64748b);
    text-align: center;
    margin: 0.85rem 0 0;
    line-height: 1.5;
}

/* Good vs bad color comparison */
.poradna-article-color-compare {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

@media (min-width: 640px) {
    .poradna-article-color-compare {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
}

.poradna-article-color-compare__item {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.07);
    border: 2px solid transparent;
}

.poradna-article-color-compare__item--good {
    border-color: rgba(34, 197, 94, 0.35);
}

.poradna-article-color-compare__item--bad {
    border-color: rgba(239, 68, 68, 0.35);
}

.poradna-article-color-compare__label {
    display: block;
    padding: 0.55rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

.poradna-article-color-compare__item--good .poradna-article-color-compare__label {
    background: #dcfce7;
    color: #166534;
}

.poradna-article-color-compare__item--bad .poradna-article-color-compare__label {
    background: #fee2e2;
    color: #991b1b;
}

.poradna-article-color-compare__item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.poradna-article-color-compare__caption {
    margin: 0;
    padding: 0.65rem 0.85rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-gray, #64748b);
    background: #fff;
}

/* —— Hero CTA band —— */
.poradna-article-hero-cta {
    margin-bottom: 2rem;
}

.poradna-article-hero-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 1.5rem;
    background: linear-gradient(
        135deg,
        var(--primary-blue, #2563eb) 0%,
        var(--primary-blue-dark, #1d4ed8) 100%
    );
    border-radius: 16px;
    color: #fff;
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.22);
}

@media (min-width: 640px) {
    .poradna-article-hero-cta__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.75rem 2rem;
        gap: 2rem;
    }
}

.poradna-article-hero-cta__text {
    min-width: 0;
}

.poradna-article-hero-cta__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: #fff;
}

.poradna-article-hero-cta__desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    opacity: 0.92;
    max-width: 32rem;
}

.poradna-article-hero-cta__btn {
    flex-shrink: 0;
    background: #fff !important;
    color: var(--primary-blue-dark, #1d4ed8) !important;
    border: none !important;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.poradna-article-hero-cta__btn:hover {
    background: #f8fafc !important;
}

/* —— Shell: main + sidebar —— */
.poradna-article-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .poradna-article-shell {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 3rem;
    }
}

.poradna-article-main {
    min-width: 0;
    order: 1;
}

.poradna-article-sidebar {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 1024px) {
    .poradna-article-sidebar {
        position: sticky;
        top: 5.25rem;
    }
}

/* Mobile TOC */
.poradna-article-toc-mobile {
    display: block;
    margin-bottom: 0.25rem;
}

@media (min-width: 1024px) {
    .poradna-article-toc-mobile {
        display: none;
    }
}

.poradna-article-toc-mobile__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--secondary-gray, #64748b);
    margin: 0 0 0.65rem;
}

.poradna-article-toc-mobile__scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
}

.poradna-article-toc-mobile__scroll a {
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-blue, #2563eb);
    text-decoration: none;
    background: #fff;
    border: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
}

.poradna-article-toc-mobile__scroll a:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
}

/* Sidebar cards */
.poradna-article-sidebar__card {
    background: #fff;
    border-radius: 16px;
    padding: 1.35rem 1.25rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 28px rgba(15, 23, 42, 0.05);
    border: none;
}

.poradna-article-sidebar__card--calc {
    background: linear-gradient(
        135deg,
        var(--primary-blue, #2563eb) 0%,
        var(--primary-blue-dark, #1d4ed8) 100%
    );
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.22);
}

.poradna-article-sidebar__card--calc .poradna-article-sidebar-cta__title,
.poradna-article-sidebar__card--calc .poradna-article-sidebar-cta__text {
    color: #fff;
}

.poradna-article-sidebar__card--calc .poradna-article-sidebar-cta__text {
    opacity: 0.92;
}

.poradna-article-sidebar__card--calc .btn {
    background: #fff;
    color: var(--primary-blue-dark, #1d4ed8);
    border: none;
    width: 100%;
    text-align: center;
    min-height: 2.75rem;
}

.poradna-article-sidebar__card--calc .btn:hover {
    background: #f8fafc;
}

.poradna-article-sidebar__card--cta {
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(37, 99, 235, 0.08);
}

.poradna-article-toc__title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--secondary-gray, #64748b);
    margin: 0 0 1rem;
}

.poradna-article-toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: toc;
}

.poradna-article-toc__list li {
    margin: 0;
}

.poradna-article-toc__list a {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    padding: 0.45rem 0.35rem;
    margin: 0 -0.35rem;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--text-gray, #475569);
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.15s ease, background 0.15s ease;
}

.poradna-article-toc__list a:hover,
.poradna-article-toc__list a.is-active {
    background: #eff6ff;
}

.poradna-article-toc__list a::before {
    counter-increment: toc;
    content: counter(toc);
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-blue, #2563eb);
    background: #eff6ff;
    border-radius: 6px;
}

.poradna-article-toc__list a:hover,
.poradna-article-toc__list a.is-active {
    color: var(--primary-blue, #2563eb);
}

.poradna-article-toc__list a.is-active {
    font-weight: 600;
}

.poradna-article-sidebar-cta__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--text-dark, #1e293b);
    line-height: 1.35;
}

.poradna-article-sidebar-cta__text {
    margin: 0 0 1.15rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-gray, #64748b);
}

.poradna-article-sidebar-cta .btn {
    width: 100%;
    text-align: center;
    text-decoration: none;
    min-height: 2.75rem;
}

@media (max-width: 480px) {
    .poradna-article-hero-cta__btn,
    .poradna-article-hero-cta__inner .btn {
        width: 100%;
        text-align: center;
    }

    .poradna-article-section {
        padding: 1.5rem 1.2rem;
    }
}

.poradna-article-sidebar-links__title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--secondary-gray, #64748b);
    margin: 0 0 0.85rem;
}

.poradna-article-sidebar-links__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.poradna-article-sidebar-links__list a {
    display: block;
    padding: 0.5rem 0.4rem;
    margin: 0 -0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-blue, #2563eb);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
}

.poradna-article-sidebar-links__list a:hover {
    background: #eff6ff;
}

.poradna-article-sidebar-links__list a:hover {
    color: var(--primary-blue-dark, #1d4ed8);
}

/* —— Article body —— */
.poradna-article-content {
    counter-reset: article-section;
}

.poradna-article-section {
    counter-increment: article-section;
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    margin-bottom: 1.15rem;
    border: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 28px rgba(15, 23, 42, 0.04);
}

@media (min-width: 640px) {
    .poradna-article-section {
        padding: 2rem 2.25rem;
        margin-bottom: 1.5rem;
    }
}

.poradna-article-section h2 {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: clamp(1.2rem, 2.8vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 1.15rem;
    color: var(--text-dark, #1e293b);
    line-height: 1.35;
}

.poradna-article-section h2::before {
    content: counter(article-section);
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--primary-blue, #2563eb),
        var(--primary-blue-dark, #1d4ed8)
    );
    border-radius: 10px;
    margin-top: 0.1rem;
}

.poradna-article-section--faq h2::before {
    content: '?';
    font-size: 1rem;
}

.poradna-article-section p {
    margin: 0 0 1.2rem;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--text-gray, #475569);
    max-width: 40rem;
}

.poradna-article-section p:last-child {
    margin-bottom: 0;
}

.poradna-article-section ul,
.poradna-article-section ol {
    margin: 0 0 1.2rem;
    padding-left: 1.45rem;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-gray, #475569);
    max-width: 40rem;
}

.poradna-article-section li {
    margin-bottom: 0.55rem;
}

.poradna-article-section strong {
    color: var(--text-dark, #1e293b);
    font-weight: 600;
}

.poradna-article-section a {
    color: var(--primary-blue, #2563eb);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(37, 99, 235, 0.35);
}

.poradna-article-section a:hover {
    color: var(--primary-blue-dark, #1d4ed8);
}

/* FAQ */
.poradna-article-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.poradna-article-faq__item {
    background: var(--background-light, #f8fafc);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.poradna-article-faq__item[open] {
    background: #fff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
}

.poradna-article-faq__item summary {
    padding: 1rem 1.15rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark, #1e293b);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    line-height: 1.4;
}

.poradna-article-faq__item summary::-webkit-details-marker {
    display: none;
}

.poradna-article-faq__item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-blue, #2563eb);
    background: #eff6ff;
    border-radius: 8px;
}

.poradna-article-faq__item[open] summary::after {
    content: '−';
    background: var(--primary-blue, #2563eb);
    color: #fff;
}

.poradna-article-faq__answer {
    padding: 0 1.15rem 1.15rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-gray, #475569);
}

.poradna-article-faq__answer p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    max-width: none;
}

/* Related links row */
.poradna-article-related {
    margin-top: 0.5rem;
}

.poradna-article-related__title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--secondary-gray, #64748b);
    margin: 0 0 1rem;
}

.poradna-article-related__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .poradna-article-related__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.poradna-article-related__link {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.25rem 1.2rem;
    background: #fff;
    border: none;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-dark, #1e293b);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 20px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.poradna-article-related__link:hover {
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.12);
    transform: translateY(-2px);
}

.poradna-article-related__link span {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--text-gray, #64748b);
    line-height: 1.5;
}

.poradna-article-related__arrow {
    margin-top: 0.35rem;
    color: var(--primary-blue, #2563eb);
}

.footer-tools-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    justify-content: center;
    margin: 0.5rem 0;
}

.footer-tools-nav .footer-link {
    font-size: 0.9rem;
}

/* Wide single-column layout (calculator landing) */
.poradna-article-shell--wide {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.poradna-article-shell--wide .poradna-article-section p,
.poradna-article-shell--wide .poradna-article-section ul {
    max-width: none;
}

/* —— Inline SVG / HTML diagrams —— */
.poradna-article-diagram {
    margin: 1.75rem 0 2.25rem;
    padding: 1.35rem 1.15rem 1.15rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 28px rgba(37, 99, 235, 0.07);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.poradna-article-diagram__title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-blue-dark, #1d4ed8);
    margin: 0 0 1rem;
    text-align: center;
}

.poradna-article-diagram__caption {
    font-size: 0.875rem;
    color: var(--text-gray, #64748b);
    text-align: center;
    margin: 1rem 0 0;
    line-height: 1.55;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.poradna-article-diagram svg {
    display: block;
    width: 100%;
    min-width: 280px;
    max-width: 440px;
    height: auto;
    margin: 0 auto;
    font-family: Inter, system-ui, -apple-system, sans-serif;
}

.poradna-article-diagram--wide svg {
    max-width: 580px;
    min-width: 300px;
}

.poradna-article-diagram--wide {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
}

@media (max-width: 480px) {
    .poradna-article-diagram {
        padding: 1rem 0.65rem 0.85rem;
        border-radius: 14px;
    }

    .poradna-article-diagram svg {
        min-width: 260px;
    }
}

/* Summary dimensions table */
.poradna-article-dimensions-table-wrap {
    margin: 2rem 0 2.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    background: #fff;
}

.poradna-article-dimensions-table {
    width: 100%;
    min-width: 280px;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.poradna-article-dimensions-table caption {
    caption-side: top;
    padding: 1rem 1.15rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-blue-dark, #1d4ed8);
    text-align: left;
}

.poradna-article-dimensions-table th,
.poradna-article-dimensions-table td {
    padding: 0.85rem 1.15rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.poradna-article-dimensions-table thead th {
    background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e293b;
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.poradna-article-dimensions-table tbody tr:last-child td {
    border-bottom: none;
}

.poradna-article-dimensions-table tbody tr:hover {
    background: #f8fafc;
}

.poradna-article-dimensions-table td:last-child {
    font-weight: 600;
    color: var(--primary-blue-dark, #1d4ed8);
    white-space: nowrap;
}

.poradna-article-diagrams-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

@media (min-width: 640px) {
    .poradna-article-diagrams-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .poradna-article-diagrams-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}
