/* ==========================================
   Regulamin sklepu - stylowanie treści strony "Regulamin sklepu"
   (zwykła Strona WordPressa, bez Elementora - patrz regulamin-style.php).
   Ten sam język wizualny co reszta witryny: kicker + separator z kropką
   (jak w widgets/custom-text-block.css), akcent w kolorze --nl-accent-gold,
   nagłówki font-weight 300, tekst w kolorze #5b5b5b z dużym line-height.
   Klasy z prefiksem "nlc-" (Ness Lighting - Content), żeby nie kolidowały
   z żadnym innym widgetem.
   ========================================== */

.nlc-wrapper {
    width: 100%;
    padding: clamp(16px, 4vw, 32px) 0 clamp(48px, 8vw, 96px);
    box-sizing: border-box;
}

.nlc-inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ------------------------------------------
   Kicker + separator - identyczny wzorzec co w
   .nl-realizacje-kicker / .cet-divider gdzie indziej na stronie.
   ------------------------------------------ */
.nlc-kicker {
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    color: color-mix(in srgb, var(--ast-global-color-6, #111111) 70%, transparent);
    margin: 0 0 20px;
}

.nlc-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 0 32px;
}

.nlc-divider-line {
    display: inline-block;
    width: 60px;
    height: 1px;
    background-color: var(--nl-accent-gold, #d3c6be);
    opacity: 0.75;
}

.nlc-divider-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--nl-accent-gold, #d3c6be);
    flex-shrink: 0;
}

.nlc-lead {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    text-align: center;
    color: #1c1c1c;
    max-width: 640px;
    margin: 0 auto 40px;
}

/* ------------------------------------------
   Ramka z danymi firmy / kontaktowymi / administratora danych -
   wyróżniona subtelnym akcentowym obramowaniem po lewej, żeby
   szybko rzucały się w oczy pośród długiego tekstu prawnego.
   ------------------------------------------ */
.nlc-meta-box {
    background: color-mix(in srgb, var(--nl-accent-gold, #d3c6be) 10%, transparent);
    border-left: 3px solid var(--nl-accent-gold, #d3c6be);
    padding: 18px 24px;
    margin: 0 0 24px;
    border-radius: 2px;
}

.nlc-meta-box p {
    margin: 0 0 12px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #3f3f3f;
}

.nlc-meta-box p:last-child {
    margin-bottom: 0;
}

.nlc-meta-box a {
    color: #1c1c1c;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--nl-accent-gold, #d3c6be) 80%, transparent);
    text-underline-offset: 2px;
}

/* ------------------------------------------
   Spis treści
   ------------------------------------------ */
.nlc-toc {
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 4px;
    padding: 24px 28px;
    margin: 0 0 48px;
}

.nlc-toc-title {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--ast-global-color-6, #111111) 65%, transparent);
    margin: 0 0 14px;
}

.nlc-toc ol {
    columns: 2;
    column-gap: 32px;
    margin: 0;
    padding-left: 1.3em;
}

.nlc-toc li {
    margin-bottom: 8px;
    break-inside: avoid;
}

.nlc-toc a {
    color: #1c1c1c;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.nlc-toc a:hover,
.nlc-toc a:focus {
    color: color-mix(in srgb, var(--nl-accent-gold, #d3c6be) 55%, #1c1c1c);
    border-bottom-color: var(--nl-accent-gold, #d3c6be);
}

/* ------------------------------------------
   Treść właściwa - nagłówki sekcji (I., II. ...), akapity, listy.
   ------------------------------------------ */
.nlc-content {
    color: #5b5b5b;
    font-size: 1.02rem;
    line-height: 1.85;
    letter-spacing: 0.1px;
}

.nlc-content h2 {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #1c1c1c;
    margin: 3em 0 1.1em;
    padding-top: 1.6em;
    border-top: 1px solid color-mix(in srgb, var(--nl-accent-gold, #d3c6be) 55%, transparent);
}

.nlc-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.nlc-content h2 .nlc-num {
    color: var(--nl-accent-gold, #d3c6be);
    font-weight: 700;
    filter: brightness(0.75) saturate(1.4);
}

.nlc-content p {
    margin: 0 0 1.2em;
}

.nlc-content ol {
    margin: 0 0 1.2em;
    padding-left: 1.4em;
}

.nlc-content > ol,
.nlc-content ol {
    list-style: decimal;
}

.nlc-content ol ol {
    list-style: lower-alpha;
    margin-top: 0.7em;
    margin-bottom: 0.7em;
}

.nlc-content li {
    margin-bottom: 0.75em;
    padding-left: 0.2em;
}

.nlc-content li:last-child {
    margin-bottom: 0;
}

.nlc-content ul.nlc-sublist {
    list-style: disc;
    margin: 0.7em 0;
    padding-left: 1.4em;
}

.nlc-content ol.nlc-sublist {
    margin: 0.7em 0;
}

.nlc-content .nlc-subhead {
    margin: 1.8em 0 0.9em;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1c1c1c;
}

.nlc-content strong {
    color: #1c1c1c;
    font-weight: 600;
}

.nlc-content a {
    color: #1c1c1c;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--nl-accent-gold, #d3c6be) 80%, transparent);
    text-underline-offset: 2px;
}

.nlc-content .nlc-attachment {
    margin-top: 2.6em;
    padding-top: 1.6em;
    border-top: 1px solid color-mix(in srgb, var(--nl-accent-gold, #d3c6be) 55%, transparent);
    font-size: 0.95rem;
    color: #3f3f3f;
}

.nlc-content .nlc-attachment-title {
    margin: 0 0 0.4em;
    color: #1c1c1c;
}

.nlc-content ul.nlc-attachment-list {
    list-style: none;
    margin: 1.4em 0 0;
    padding: 0;
}

.nlc-content ul.nlc-attachment-list li {
    position: relative;
    margin: 0;
    padding: 1.1em 0 1.1em 1.3em;
    border-top: 1px solid color-mix(in srgb, var(--nl-accent-gold, #d3c6be) 45%, transparent);
}

.nlc-content ul.nlc-attachment-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(1.1em + 0.65em);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--nl-accent-gold, #d3c6be);
}

/* ------------------------------------------
   Responsywność - telefony
   ------------------------------------------ */
@media (max-width: 600px) {
    .nlc-toc ol {
        columns: 1;
    }

    .nlc-content h2 {
        font-size: 1.1rem;
    }
}
