@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@500&display=swap");

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Proporcja 16:9 (9/16 = 0.5625) */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#cookit {
    position: fixed;
    width: 100%;
    bottom: 0;
    padding: 0.6rem 2rem;
    display: flex;
    z-index: 1000;
}
#cookit.hidden {
    display: none;
}

#cookit #cookit-container {
    margin: auto;
    width: 1200px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

#cookit #cookit-container > * {
    margin: 0.4rem;
}
#cookit #cookit-container p {
    line-height: 1.4rem;
}

#cookit #cookit-container a {
    text-decoration: none;
}
#cookit #cookit-container a:hover {
    opacity: 0.9;
}

#cookit #cookit-container #cookit-button {
    padding: 0.5rem 1rem;
    margin-left: auto;
}

.home-product {
    vertical-align: top;
}

@media (min-width: 576px) {
    .home-product {
        max-width: 250px !important;
    }
}
@media (min-width: 768px) {
    .home-product {
        max-width: 320px !important;
    }
}
@media (min-width: 992px) {
    .home-product {
        max-width: 300px !important;
    }
}
@media (min-width: 1200px) {
    .home-product {
        max-width: 290px !important;
    }
}
@media (min-width: 1400px) {
    .home-product {
        max-width: 320px !important;
    }
}

/*
   Uporządkowana typografia treści artykułów How-To
*/
.article-rich-content {
    color: #2f2f2f;
    font-size: 17px;
    line-height: 1.75;
}

.article-rich-content h1,
.article-rich-content h2,
.article-rich-content h3,
.article-rich-content h4,
.article-rich-content h5,
.article-rich-content h6 {
    color: #1b1b1b;
    line-height: 1.3;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.55em;
}

.article-rich-content h1 {
    font-size: 2rem;
}
.article-rich-content h2 {
    font-size: 1.7rem;
    border-left: 4px solid #ce181e;
    padding-left: 10px;
}
.article-rich-content h3 {
    font-size: 1.4rem;
}
.article-rich-content h4 {
    font-size: 1.2rem;
}

.article-rich-content h2,
.article-rich-content h3,
.article-rich-content h4 {
    color: #ce181e;
}
.article-rich-content h5 {
    font-size: 1.05rem;
}
.article-rich-content h6 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.article-rich-content p {
    margin: 0 0 1.05em;
}

.article-rich-content strong,
.article-rich-content b {
    color: #151515;
    font-weight: 700;
}

.article-rich-content em,
.article-rich-content i {
    color: #3d3d3d;
}

.article-rich-content a {
    color: #ce181e;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-rich-content a:hover {
    color: #a31318;
}

.article-rich-content ul,
.article-rich-content ol {
    margin: 0 0 1.2em 1.1em;
    padding-left: 0.8em;
}

.article-rich-content li {
    margin-bottom: 0.45em;
}

.article-rich-content ul li::marker {
    color: #ce181e;
}

.article-rich-content ol li::marker {
    color: #444;
    font-weight: 600;
}

.article-rich-content blockquote {
    margin: 1.3em 0;
    padding: 0.9em 1.1em;
    border-left: 4px solid #ce181e;
    background: #f8f8f9;
    color: #2c2c2c;
    font-style: italic;
}

.article-rich-content q {
    font-style: italic;
}

.article-rich-content cite {
    display: block;
    margin-top: 0.5em;
    color: #6a6a6a;
    font-size: 0.95em;
    font-style: normal;
}

.article-rich-content hr {
    border: 0;
    border-top: 1px solid #e4e4e4;
    margin: 1.8em 0;
}

.article-rich-content table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 1.3em 0;
    table-layout: auto;
}

.article-rich-content table th,
.article-rich-content table td {
    border: 1px solid #e5e5e5;
    padding: 10px 12px;
    vertical-align: top;
    text-align: left;
    white-space: normal;
}

.article-rich-content table thead th,
.article-rich-content table th {
    background: #ce181e;
    color: #fff;
    font-weight: 700;
}

.article-rich-content table tbody tr:nth-child(odd) {
    background: #fff;
}

.article-rich-content table tbody tr:nth-child(even) {
    background: #f8f8f9;
}

.article-rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 0.7em 0;
}

.article-rich-content code,
.article-rich-content pre {
    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: 0.92em;
}

.article-rich-content pre {
    background: #1f1f1f;
    color: #f3f3f3;
    padding: 14px;
    border-radius: 8px;
    overflow-x: auto;
}

@media (max-width: 768px) {
    .article-rich-content {
        font-size: 16px;
        line-height: 1.7;
    }

    .article-rich-content h1 {
        font-size: 1.6rem;
    }
    .article-rich-content h2 {
        font-size: 1.4rem;
    }
    .article-rich-content h3 {
        font-size: 1.2rem;
    }
}
