/* ==========================================
   PORADNIKI - UsFind
   Adapted from KakoFind tutorials.css
   Color: orange #ff5200 instead of red
   ========================================== */

.tutorials-page-wrapper {
    display: flex;
    width: 100%;
    padding-top: 70px;
    min-height: 100vh;
}

/* ──────────────────────────────────────────
   LEWA SZUFLADA - KATEGORIE
   ────────────────────────────────────────── */
.master-sidebar {
    position: fixed;
    top: 70px;
    left: 0;
    width: 260px;
    height: calc(100vh - 70px);
    background-color: #07070f;
    border-right: 1px solid var(--border);
    padding: 2.5rem 1rem 2rem 1rem;
    z-index: 9980;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 10px 0 30px rgba(0,0,0,.45);
    overflow-y: auto;
}

.master-sidebar__title {
    color: #3a3a4a;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    padding-left: 10px;
}

.master-link {
    background: transparent;
    border: none;
    color: var(--sub);
    text-align: left;
    padding: 13px 18px;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: inherit;
    border-left: 3px solid transparent;
}

.master-link i {
    font-size: 1.05rem;
    color: #555;
    transition: all .25s;
    flex-shrink: 0;
}

.master-link:hover {
    background: rgba(255,255,255,.04);
    color: var(--text);
}

.master-link.active {
    background: var(--or-dim);
    color: var(--or);
    border-left-color: var(--or);
}

.master-link.active i {
    color: var(--or);
}

.mega-badge {
    font-family: inherit;
    background: linear-gradient(90deg, #D4AF37 0%, #FFF5A5 50%, #D4AF37 100%);
    background-size: 200% auto;
    color: #050505;
    font-size: .6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 9px;
    border-radius: 20px;
    margin-left: auto;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(212,175,55,.4);
    border: none;
    animation: shine-gold 3s linear infinite;
}

@keyframes shine-gold {
    to { background-position: 200% center; }
}

/* ──────────────────────────────────────────
   GŁÓWNY OBSZAR TREŚCI
   ────────────────────────────────────────── */
.tutorials-content-area {
    margin-left: 260px;
    width: calc(100% - 260px);
}

.tutorial-wrapper {
    display: none;
    max-width: 1500px;
    margin: 0 auto;
    padding: 3rem 3rem 6rem 10px;
    animation: tutFadeIn .4s ease forwards;
}

.tutorial-wrapper.active {
    display: flex;
    align-items: flex-start;
    gap: 36px;
}

@keyframes tutFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ──────────────────────────────────────────
   WEWNĘTRZNY SIDEBAR - KOTWICE KROKÓW
   ────────────────────────────────────────── */
.tutorial-sidebar {
    position: sticky;
    top: 50vh;
    transform: translateY(-50%);
    width: 60px;
    flex-shrink: 0;
    z-index: 90;
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: none;
}
.tutorial-sidebar::-webkit-scrollbar { display: none; }

.tutorial-sidebar.long-sidebar { top: 55vh; transform: translateY(-40%); }
.tutorial-sidebar.long-sidebar .sidebar-nav { gap: 7px; padding: 13px 7px; }
.tutorial-sidebar.long-sidebar .sidebar-link { width: 38px; height: 38px; font-size: 1rem; }

.sidebar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background-color: #0d0d18;
    padding: 18px 8px;
    border-radius: 36px;
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 15px 35px rgba(0,0,0,.8);
}

.sidebar-link {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    text-decoration: none;
    font-size: 1.15rem;
    transition: all .25s;
    position: relative;
    flex-shrink: 0;
}

.sidebar-link:hover { color: #fff; }

.sidebar-link.active {
    background-color: var(--or);
    color: #fff;
    box-shadow: 0 0 14px rgba(255,82,0,.5);
}

.tooltip-text {
    position: absolute;
    left: 58px;
    background-color: #1a1a2e;
    color: var(--text);
    padding: 5px 11px;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid var(--border2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: all .25s;
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
}

.sidebar-link:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.tutorial-content { flex-grow: 1; min-width: 0; }

/* ──────────────────────────────────────────
   NAGŁÓWEK PORADNIKA
   ────────────────────────────────────────── */
.tutorial-header { text-align: center; margin-bottom: 4rem; }

.tutorial-header h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--text);
}

.tutorial-header p {
    color: var(--sub);
    font-size: 1.1rem;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.65;
}

.text-or { color: var(--or); }
.text-bl { color: var(--bl2); }

/* ──────────────────────────────────────────
   SEKCJE PORADNIKA
   ────────────────────────────────────────── */
.tutorial-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 5rem;
    padding: 2.5rem;
    background-color: #0d0d18;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0,0,0,.55), 0 0 40px rgba(255,82,0,.04);
    overflow: hidden;
    scroll-margin-top: 18vh;
    transition: box-shadow .35s;
}

.tutorial-section:hover {
    box-shadow: 0 25px 55px rgba(0,0,0,.65), 0 0 60px rgba(255,82,0,.1);
}

.tutorial-section.reverse { flex-direction: row-reverse; }

.tutorial-text {
    flex: 1.1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-badge {
    display: inline-block;
    background-color: var(--or-dim);
    color: var(--or);
    padding: 5px 16px;
    border-radius: 20px;
    font-weight: 800;
    font-size: .9rem;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
    width: max-content;
    border: 1px solid rgba(255,82,0,.3);
}

.tutorial-text h2 {
    font-size: 2.1rem;
    margin: 0 0 1.25rem 0;
    color: var(--text);
    line-height: 1.2;
}

/* ──────────────────────────────────────────
   LISTA KROKÓW
   ────────────────────────────────────────── */
.styled-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.styled-list li {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    display: block;
    position: relative;
    padding-left: 44px;
}

.styled-list li i.fa-check {
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--or);
    background-color: var(--or-dim);
    border: 1px solid rgba(255,82,0,.22);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: .82rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ──────────────────────────────────────────
   AFF RAMKI
   ────────────────────────────────────────── */
.aff-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255,255,255,.04);
    padding: 7px 14px;
    border-radius: 10px;
    border: 1px solid var(--border2);
    margin-top: 8px;
    width: fit-content;
    box-shadow: inset 0 2px 8px rgba(0,0,0,.4);
}

.aff-box.inline {
    display: inline-flex;
    margin-top: 0;
    vertical-align: middle;
    padding: 3px 10px;
}

.aff-link {
    color: #ccc;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    transition: color .25s;
}

.aff-link i { color: var(--or); margin-right: 4px; }
.aff-link:hover { color: #fff; }

.aff-code {
    color: var(--or);
    font-weight: 800;
    letter-spacing: 1px;
    font-size: .95rem;
}

.aff-copy {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
    transition: all .25s;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.aff-copy:hover {
    color: var(--or);
    background-color: var(--or-dim);
    transform: scale(1.1);
}

/* ──────────────────────────────────────────
   PRZYCISK "PRZEJDŹ DO KARTY"
   ────────────────────────────────────────── */
.step-link-box {
    margin-top: 24px;
    align-self: flex-start;
}

.step-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--or-dim);
    color: var(--or);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,82,0,.25);
    transition: all .25s;
}

.step-link-btn i { font-size: .82rem; transition: transform .25s; }

.step-link-btn:hover {
    background-color: var(--or);
    color: #fff;
    box-shadow: 0 5px 18px rgba(255,82,0,.35);
    border-color: var(--or);
}

.step-link-btn:hover i { transform: translate(3px,-3px); }

/* ──────────────────────────────────────────
   SLIDER
   ────────────────────────────────────────── */
.tutorial-slider {
    flex: 1;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border: 1px solid var(--border);
    background-color: #06060e;
    box-shadow: 0 18px 36px rgba(0,0,0,.75);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .5s ease-in-out, transform .6s cubic-bezier(.25,.46,.45,.94);
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
    cursor: zoom-in;
}

.tutorial-slider:hover .slide.active { transform: scale(1.06); }

.tutorial-slider::after {
    content: '\f00e';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4,4,10,0);
    color: rgba(255,255,255,0);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    pointer-events: none;
    transition: all .35s;
    z-index: 4;
}

.tutorial-slider:hover::after {
    background: rgba(4,4,10,.18);
    backdrop-filter: blur(.5px);
    color: rgba(255,255,255,.9);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(4,4,10,.75);
    color: #fff;
    border: 1px solid rgba(255,255,255,.1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .25s;
    z-index: 5;
    font-size: 1.1rem;
}

.slider-btn:hover { background: var(--or); border-color: var(--or); }
.prev-btn { left: 12px; }
.next-btn { right: 12px; }

.slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
    background: rgba(0,0,0,.5);
    padding: 6px 13px;
    border-radius: 18px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255,255,255,.35);
    border-radius: 50%;
    cursor: pointer;
    transition: all .25s;
}

.dot.active { background-color: var(--or); transform: scale(1.3); }

/* Placeholder dla slajdów bez zdjęcia */
.slide-ph {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, #0d0d1f 0%, #11111f 100%);
    opacity: 0;
    transition: opacity .5s;
    pointer-events: none;
}

.slide-ph.active { opacity: 1; pointer-events: auto; cursor: default; }

.slide-ph-icon {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    background: var(--or-dim);
    border: 1px solid rgba(255,82,0,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: var(--or);
    box-shadow: 0 0 30px rgba(255,82,0,.12);
}

.slide-ph-label {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sub);
}

/* ──────────────────────────────────────────
   ANIMACJE WJAZDU
   ────────────────────────────────────────── */
.tutorial-section .tutorial-slider,
.tutorial-section .tutorial-text {
    opacity: 0;
    transition: all .75s cubic-bezier(.25,.46,.45,.94);
}

.tutorial-section:not(.reverse) .tutorial-slider { transform: translateX(-120px); }
.tutorial-section:not(.reverse) .tutorial-text   { transform: translateX(120px); }
.tutorial-section.reverse .tutorial-text          { transform: translateX(-120px); }
.tutorial-section.reverse .tutorial-slider        { transform: translateX(120px); }

.tutorial-section.animate-in .tutorial-slider,
.tutorial-section.animate-in .tutorial-text {
    opacity: 1;
    transform: translateX(0);
}

/* ──────────────────────────────────────────
   IMAGE MODAL (Lightbox)
   ────────────────────────────────────────── */
.por-image-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(4,4,10,.88);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity .3s;
}

.por-image-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.por-image-modal .modal-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 14px;
    box-shadow: 0 15px 50px rgba(255,82,0,.2);
    border: 2px solid var(--border2);
    transform: scale(.82);
    transition: transform .3s cubic-bezier(.25,.46,.45,.94);
}

.por-image-modal.show .modal-content { transform: scale(1); }

.por-close-modal {
    position: absolute;
    top: 28px; right: 38px;
    color: #ccc;
    font-size: 2.4rem;
    cursor: pointer;
    transition: all .25s;
    z-index: 1000000;
    background: none;
    border: none;
    line-height: 1;
    padding: 0;
}

.por-close-modal:hover { color: var(--or); transform: scale(1.1) rotate(90deg); }

/* ──────────────────────────────────────────
   INFO BOX
   ────────────────────────────────────────── */
.info-box {
    background: rgba(255,82,0,.05);
    border: 1px solid rgba(255,82,0,.2);
    border-radius: 12px;
    padding: .9rem 1.1rem;
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    margin-top: 1rem;
    font-size: .88rem;
    color: #ccc;
    line-height: 1.6;
}

.info-box i { color: var(--or); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.info-box.blue { background: rgba(56,189,248,.05); border-color: rgba(56,189,248,.2); }
.info-box.blue i { color: var(--bl2); }
.info-box.green { background: rgba(74,222,128,.05); border-color: rgba(74,222,128,.2); }
.info-box.green i { color: var(--gr); }

/* ──────────────────────────────────────────
   RESPONSYWNOŚĆ
   ────────────────────────────────────────── */
@media (max-width: 1200px) {
    .tutorials-page-wrapper { flex-direction: column; padding-top: 0; }

    .master-sidebar {
        position: sticky;
        top: 70px;
        left: 0;
        width: 100%;
        height: auto;
        flex-direction: row;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 8px 10px;
        overflow-x: auto;
        box-shadow: 0 8px 20px rgba(0,0,0,.3);
        align-items: center;
        z-index: 9980;
    }

    .master-sidebar__title { display: none; }
    .master-link { white-space: nowrap; padding: 9px 14px; font-size: .82rem; }
    .tutorials-content-area { margin-left: 0; width: 100%; }
    .tutorial-wrapper.active { flex-direction: column; gap: 16px; }

    .tutorial-sidebar {
        width: 100%;
        position: fixed;
        bottom: 20px;
        top: auto;
        left: 0;
        transform: none;
        z-index: 9999;
        display: flex;
        justify-content: center;
        max-height: none;
    }

    .sidebar-nav { flex-direction: row; border-radius: 36px; padding: 9px 18px; gap: 8px; }
    .tooltip-text { display: none; }
    .tutorial-wrapper { padding: 1.5rem 1rem 6rem 1rem; }
    .tutorial-section,
    .tutorial-section.reverse { flex-direction: column; gap: 2rem; padding: 1.75rem; }
    .tutorial-section .tutorial-slider,
    .tutorial-section .tutorial-text { opacity: 1; transform: none !important; }
    .tutorial-slider { width: 100%; }
}

@media (max-width: 640px) {
    .tutorial-header h2 { font-size: 2.2rem; }
    .tutorial-text h2 { font-size: 1.55rem; }
    .step-badge { font-size: .78rem; }
    .master-link .mega-badge { display: none; }
}

/* ==========================================
   SEO HERO / INTRO - zawsze widoczny (crawlable)
   ========================================== */
.por-hero {
    max-width: 1080px;
    margin: 0 auto;
    padding: 3.5rem 2rem 1rem;
    text-align: center;
}

.por-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--or-dim);
    color: var(--or);
    border: 1px solid var(--or-border);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.por-hero h1 {
    font-size: 2.9rem;
    font-weight: 900;
    line-height: 1.12;
    margin: 0 0 1.1rem;
    letter-spacing: -.5px;
    color: var(--text);
}

.por-hero-lead {
    color: var(--sub);
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 760px;
    margin: 0 auto 1.6rem;
}
.por-hero-lead strong { color: #e8e8f4; font-weight: 700; }
.por-hero-lead a {
    color: var(--or2);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,128,32,.35);
}
.por-hero-lead a:hover { color: var(--or3); }

.por-hero-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1.6rem;
}
.por-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: inherit;
    font-size: .92rem;
    font-weight: 700;
    color: var(--text);
    background: #0d0d18;
    border: 1px solid var(--border2);
    border-radius: 14px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all .22s;
}
.por-hero-chip i { color: var(--or); transition: transform .22s; }
.por-hero-chip:hover {
    border-color: var(--or-border);
    background: var(--or-dim);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,82,0,.12);
}
.por-hero-chip:hover i { transform: scale(1.15); }

.por-hero-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 22px;
    padding-top: .75rem;
    border-top: 1px solid var(--border);
    max-width: 760px;
    margin: 0 auto;
}
.por-hero-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--sub);
    text-decoration: none;
    font-size: .86rem;
    font-weight: 600;
    padding: 10px 4px;
    transition: color .2s;
}
.por-hero-links a i { color: var(--or2); }
.por-hero-links a:hover { color: var(--text); }

/* ==========================================
   FAQ - zawsze widoczne (crawlable, pasuje do FAQPage)
   ========================================== */
.por-faq {
    max-width: 900px;
    margin: 1rem auto 0;
    padding: 2rem 2rem 5rem;
}
.por-faq-head { text-align: center; margin-bottom: 2.5rem; }
.por-faq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--or-dim);
    color: var(--or);
    border: 1px solid var(--or-border);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.por-faq-head h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 .75rem;
    line-height: 1.2;
}
.por-faq-head p {
    color: var(--sub);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto;
}

.por-faq-list { display: flex; flex-direction: column; gap: 12px; }
.por-faq-item {
    background: #0d0d18;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s;
}
.por-faq-item[open] {
    border-color: var(--or-border);
    box-shadow: 0 12px 30px rgba(0,0,0,.4), 0 0 30px rgba(255,82,0,.05);
}
.por-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 22px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    transition: color .2s;
}
.por-faq-item summary::-webkit-details-marker { display: none; }
.por-faq-item summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: .8rem;
    color: var(--or);
    flex-shrink: 0;
    transition: transform .3s;
}
.por-faq-item[open] summary::after { transform: rotate(180deg); }
.por-faq-item summary:hover { color: var(--or2); }
.por-faq-answer {
    padding: 0 22px 20px;
    color: #bcbccc;
    font-size: .98rem;
    line-height: 1.7;
}
.por-faq-answer p { margin: 0; }
.por-faq-answer a {
    color: var(--or2);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,128,32,.35);
}
.por-faq-answer a:hover { color: var(--or3); }
.por-faq-inline {
    background: none;
    border: none;
    font: inherit;
    color: var(--or2);
    cursor: pointer;
    padding: 0;
    border-bottom: 1px solid rgba(255,128,32,.35);
}
.por-faq-inline:hover { color: var(--or3); }

@media (max-width: 640px) {
    .por-hero { padding: 2.5rem 1.1rem 1rem; }
    .por-hero h1 { font-size: 2.05rem; }
    .por-hero-lead { font-size: 1rem; }
    .por-hero-chip { width: 100%; justify-content: center; }
    .por-faq { padding: 1.5rem 1.1rem 5rem; }
    .por-faq-head h2 { font-size: 1.6rem; }
    .por-faq-item summary { font-size: .98rem; padding: 16px 18px; }
    .por-faq-answer { padding: 0 18px 18px; }
}

/* ════════════════════════════════════════════════════════════
   2026-06 — LŻEJSZE KROKI (ten sam układ z lewym panelem).
   Cel: mniej przytłaczająco. Wywalamy puste ramki na zdjęcia
   (brak realnych screenów — same placeholdery) i zaciskamy
   odstępy, więc poradnik jest krótszy i czytelniejszy. Bez zmiany
   układu: lewy panel + kroki pod sobą zostają. Reguły nadpisują.
   ════════════════════════════════════════════════════════════ */

/* puste placeholdery zdjęć precz; slider wróci sam, gdy ktoś doda realny <img> */
.tutorial-slider:not(:has(img)) { display: none; }

/* krok bez zdjęcia → tekst na całą szerokość, ale z czytelną maks. długością linii */
.tutorial-section:not(:has(img)) .tutorial-text { max-width: 860px; }

/* krótszy odstęp między krokami + lżejsza, spokojniejsza ramka */
.tutorial-section {
    margin-bottom: 1.25rem;
    padding: 1.6rem 1.9rem;
    border-radius: 16px;
    box-shadow: none;
}
.tutorial-section:hover { box-shadow: none; }

/* mniejszy tytuł kroku i lekko ciaśniejsza lista punktów */
.tutorial-text h2 { font-size: 1.65rem; margin-bottom: 1rem; }
.styled-list { gap: 13px; }

/* nagłówek poradnika: mniej krzykliwy, bliżej treści */
.tutorial-header { margin-bottom: 2rem; }
.tutorial-header h2 { font-size: 2.1rem; }

/* ── FIX: lewy pasek (fixed) zasłaniał stopkę ──
   Zmieniamy go na sticky w obrębie .tutorials-page-wrapper: trzyma się
   ekranu podczas scrolla treści, ale „odjeżdża" zanim dojdziesz do
   footera (który jest poza wrapperem) — więc już go nie zakrywa. */
.tutorials-page-wrapper { align-items: flex-start; }
.master-sidebar {
    position: sticky;
    height: calc(100vh - 70px);
    align-self: flex-start;
    flex-shrink: 0;
    z-index: 50;
    box-shadow: none;
}
.tutorials-content-area { margin-left: 0; width: auto; flex: 1; min-width: 0; }
