/* --- GLOBALNY RESET --- */
    *, *::before, *::after { box-sizing: border-box; }
    body { margin: 0; padding: 0; overflow-x: hidden; }

    /* --- GLOWNY KONTENER --- */
    .al-wrapper {
        --al-bg: #FAFAFA;
        --al-text: #050505;
        --al-text-light: #475569;
        --al-orange: #F97316;
        --al-orange-hover: #ea580c;
        --al-navy: #0F172A;
        --al-navy-light: #1E293B;
        --al-border: #E2E8F0;
        --al-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
        --al-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
        --al-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        --nav-height: 84px;
        --nav-mobile-height: 70px;

        font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        background-color: var(--al-bg);
        color: var(--al-text);
        line-height: 1.6;
        min-height: 100vh;
        display: flex; flex-direction: column;
        width: 100%; padding: 0; box-sizing: border-box;
    }

    .al-wrapper *, .al-wrapper *::before, .al-wrapper *::after { box-sizing: inherit; }
    .al-wrapper a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
    .al-wrapper strong { font-weight: 700; color: var(--al-navy); }
    .al-wrapper h1, .al-wrapper h2, .al-wrapper h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
    body.al-no-scroll { overflow: hidden; touch-action: none; }
    .icon-svg { width: 1em; height: 1em; fill: currentColor; vertical-align: -0.125em; pointer-events: none; }

    /* --- LOGO CSS --- */
    .al-logo-img {
        display: block; width: 55px; height: 55px;
        background-image: url('https://akademialiska.pl/wp-content/uploads/2023/11/lisek-logo-100x100-1.png');
        background-size: contain; background-repeat: no-repeat; background-position: center;
    }
    .al-logo-img.mobile { width: 42px; height: 42px; }

    /* --- HEADER (DESKTOP) --- */
    .al-header {
        position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height);
        background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.06);
        z-index: 999999; display: flex; align-items: center; justify-content: space-between;
        padding: 0 40px; box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    }
    .al-logo-link { z-index: 2; display: block; }
    .al-logo-link:hover .al-logo-img { transform: scale(1.05); transition: transform 0.3s; }

    .al-nav-desktop {
        position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
        display: flex; gap: 28px; align-items: center; white-space: nowrap;
    }
    .al-nav-item {
        font-size: 16px; font-weight: 800; color: #000000;
        text-transform: uppercase; letter-spacing: 0.5px; padding: 10px 0;
    }
    .al-nav-item:hover { color: var(--al-orange); }
    .item-course { color: var(--al-orange) !important; font-weight: 900; }
    .item-active { color: var(--al-navy); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--al-orange); }

    .al-btn-wrapper { z-index: 2; }
    .al-btn-platform {
        background-color: var(--al-navy); color: white !important; padding: 8px 24px;
        border-radius: 8px; display: flex; flex-direction: column; align-items: center;
        justify-content: center; line-height: 1.2; transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15); border: none; cursor: pointer; min-width: 160px;
    }
    .al-btn-platform span.main-text { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
    .al-btn-platform span.sub-text { font-size: 11px; font-weight: 500; opacity: 0.8; text-transform: lowercase; }
    .al-btn-platform:hover { background-color: var(--al-orange); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3); }
    .al-btn-platform:hover span.sub-text { opacity: 1; }

    /* --- MOBILE MENU --- */
    .al-mobile-bar { display: none; }
    .al-mobile-actions { display: flex; align-items: center; gap: 8px; }
    .al-mob-cta {
        background: var(--al-orange); color: white !important; font-size: 12px; font-weight: 800;
        text-transform: uppercase; padding: 9px 16px; border-radius: 8px;
        letter-spacing: 0.5px; white-space: nowrap;
        box-shadow: 0 2px 8px rgba(249,115,22,0.3);
        transition: background 0.2s, transform 0.2s;
    }
    .al-mob-cta:hover { background: var(--al-orange-hover); transform: scale(1.03); }
    .al-hamburger {
        color: var(--al-navy); background: none; border: none; cursor: pointer;
        width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
        font-size: 22px; border-radius: 10px; transition: background 0.2s;
    }
    .al-hamburger:hover { background: #F1F5F9; }
    .al-hamburger .icon-close { display: none; }
    .al-hamburger[aria-expanded="true"] .icon-bars { display: none; }
    .al-hamburger[aria-expanded="true"] .icon-close { display: block; }
    .al-mobile-menu-overlay {
        position: fixed; top: var(--nav-mobile-height); left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
        transition: opacity 0.3s ease; opacity: 0; pointer-events: none; z-index: 9990;
    }
    .al-mobile-menu-overlay.is-open { opacity: 1; pointer-events: auto; }
    .al-mobile-drawer {
        background: white; width: 100%; display: flex; flex-direction: column;
        transform: translateY(-20px); opacity: 0;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
        border-bottom: 1px solid var(--al-border);
        box-shadow: 0 20px 60px rgba(0,0,0,0.12);
        max-height: calc(100vh - var(--nav-mobile-height)); overflow-y: auto;
    }
    .al-mobile-menu-overlay.is-open .al-mobile-drawer { transform: translateY(0); opacity: 1; }
    .al-mobile-links { padding: 8px 16px 16px; display: flex; flex-direction: column; gap: 0; }
    .al-mobile-link {
        font-size: 15px; font-weight: 700; color: var(--al-navy); padding: 15px 12px;
        border-bottom: 1px solid #F1F5F9; text-transform: uppercase; letter-spacing: 0.3px;
        display: flex; justify-content: space-between; align-items: center;
        transition: background 0.15s, color 0.15s;
    }
    .al-mobile-link:last-child { border-bottom: none; }
    .al-mobile-link:hover, .al-mobile-link:active { background: #FFF7ED; color: var(--al-orange); }
    .al-mobile-link.orange { color: var(--al-orange); font-weight: 900; }
    .al-mobile-link-arrow { font-size: 18px; color: #CBD5E1; transition: color 0.15s, transform 0.15s; }
    .al-mobile-link:hover .al-mobile-link-arrow { color: var(--al-orange); transform: translateX(3px); }
    .al-mobile-platform-wrap { padding: 8px 16px 16px; }
    .al-mobile-platform-btn {
        display: block; width: 100%; padding: 14px; background: var(--al-navy); color: white !important;
        border-radius: 10px; text-align: center; font-weight: 800; font-size: 13px;
        text-transform: uppercase; letter-spacing: 0.5px;
        box-shadow: 0 4px 12px rgba(15,23,42,0.2); transition: background 0.2s, transform 0.2s;
    }
    .al-mobile-platform-btn:hover { background: var(--al-orange); transform: scale(1.02); }
    .al-mobile-platform-sub { display: block; font-size: 11px; font-weight: 500; opacity: 0.7; text-transform: none; margin-top: 2px; }

    /* --- CONTENT --- */
    .al-main {
        flex: 1; display: flex; flex-direction: column; align-items: center;
        padding-top: var(--nav-height); width: 100%;
    }
    .al-container { width: 100%; max-width: 1100px; padding: 0 20px; margin: 0 auto; }

    /* Hero */
    .al-hero-hub { padding: 60px 0 40px; text-align: center; max-width: 850px; margin: 0 auto; }
    .al-hero-hub h1 {
        font-size: 36px; font-weight: 800; color: var(--al-navy);
        line-height: 1.2; margin-bottom: 25px; letter-spacing: -0.5px;
    }
    .al-hero-hub p { font-size: 18px; color: #475569; line-height: 1.6; margin-bottom: 0; }

    /* Hot Section */
    a.al-season-section {
        width: 100%; background: white; border: 1px solid #E2E8F0; border-left: 5px solid var(--al-orange);
        border-radius: 12px; padding: 30px; margin-bottom: 60px;
        box-shadow: var(--al-shadow); display: flex; flex-direction: column; gap: 20px;
        text-decoration: none; color: inherit; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    a.al-season-section:hover { transform: translateY(-3px); box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1); }
    .al-season-header {
        display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px;
        border-bottom: 1px solid #F1F5F9; padding-bottom: 20px; margin-bottom: 10px;
    }
    .al-season-title h2 { font-size: 24px; font-weight: 800; color: var(--al-navy); display: flex; align-items: center; gap: 10px; }
    .al-tag-live {
        background: #DEF7EC; color: #03543F; font-size: 11px; font-weight: 700;
        text-transform: uppercase; padding: 4px 8px; border-radius: 4px; letter-spacing: 0.5px;
    }
    .al-season-content p { font-size: 16px; color: #334155; line-height: 1.6; margin-bottom: 25px; }
    .al-btn-hub {
        background: var(--al-orange); color: white; padding: 12px 24px; border-radius: 8px;
        font-weight: 700; font-size: 14px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px;
        align-self: flex-start; transition: background 0.2s;
    }
    a.al-season-section:hover .al-btn-hub { background: var(--al-orange-hover); }

    /* Grid */
    .al-evergreen-section { width: 100%; margin-bottom: 80px; }
    .al-section-header { text-align: center; margin-bottom: 40px; }
    .al-section-header h2 { font-size: 28px; font-weight: 800; color: var(--al-navy); margin-bottom: 15px; }
    .al-section-header p { font-size: 16px; color: #64748B; max-width: 700px; margin: 0 auto; line-height: 1.6; }
    .al-grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }

    a.al-card {
        background: white; border: 1px solid #E2E8F0; border-radius: 12px;
        padding: 30px; display: flex; flex-direction: column; gap: 15px;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        text-decoration: none; color: inherit; position: relative; overflow: hidden;
    }
    a.al-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1); border-color: var(--al-orange); }
    a.al-card::before {
        content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
        background: var(--al-orange); opacity: 0; transition: opacity 0.3s;
    }
    a.al-card:hover::before { opacity: 1; }
    .al-card-icon {
        width: 48px; height: 48px; background: #FFF7ED; color: var(--al-orange);
        border-radius: 10px; display: flex; align-items: center; justify-content: center;
        font-size: 20px; margin-bottom: 5px;
    }
    .al-card-icon svg { width: 24px; height: 24px; fill: currentColor; }
    a.al-card h3 { font-size: 20px; font-weight: 700; color: var(--al-navy); }
    a.al-card p { font-size: 14px; color: #64748B; line-height: 1.5; flex-grow: 1; }
    .al-card-cta {
        font-size: 14px; font-weight: 700; color: var(--al-orange);
        display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
    }
    a.al-card:hover .al-card-cta { color: var(--al-orange-hover); gap: 10px; }

    /* Archive */
    .al-archive { border-top: 1px solid #E2E8F0; padding-top: 50px; margin-bottom: 60px; text-align: center; }
    .al-archive h2 { font-size: 18px; font-weight: 800; color: var(--al-navy); margin-bottom: 25px; }
    .al-archive-list { display: flex; justify-content: center; gap: 15px 25px; flex-wrap: wrap; max-width: 900px; margin: 0 auto; }
    .al-archive-link {
        font-size: 14px; color: #64748B; font-weight: 600; padding: 5px 10px;
        border-radius: 6px; transition: background 0.2s;
    }
    .al-archive-link:hover { color: var(--al-navy); background: #F1F5F9; }

    /* FOOTER */
    .al-footer { background: var(--al-navy); color: white; padding: 15px 40px; font-size: 13px; width: 100%; margin-top: auto; }
    .al-footer-content { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
    .al-footer-links { display: flex; gap: 25px; }
    .al-footer-links a { color: #94a3b8; transition: color 0.2s; }
    .al-footer-links a:hover { color: white; }
    .al-socials-footer { display: flex; align-items: center; }
    .al-socials-footer a { margin-left: 20px; font-size: 18px; color: #94a3b8; transition: color 0.2s; display: flex; align-items: center; }
    .al-socials-footer a:hover { color: var(--al-orange); }

    /* RWD (MOBILE) */
    @media (max-width: 1100px) {
        .al-header { display: none; }
        .al-mobile-bar {
            display: flex; height: var(--nav-mobile-height); background: white;
            position: fixed; top: 0; left: 0; right: 0; z-index: 999999;
            border-bottom: 1px solid #eee; align-items: center; justify-content: space-between;
            padding: 0 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.03);
        }
        .al-mobile-actions { display: flex; align-items: center; gap: 8px; }
        .al-main { padding-top: var(--nav-mobile-height); }
        .al-footer { padding: 25px 20px; }
        .al-footer-content { flex-direction: column; gap: 20px; text-align: center; }
        .al-footer-links { flex-direction: column; gap: 10px; }
        .al-socials-footer a { margin: 0 10px; }
    }
    @media (max-width: 1024px) {
        .al-grid-cards { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
        .al-grid-cards { grid-template-columns: 1fr; }
        .al-season-header { flex-direction: column; align-items: flex-start; }
        .al-btn-hub { width: 100%; justify-content: center; }
        .al-hero-hub h1 { font-size: 28px; }
    }

/* --- ARTICLE / HUB EXTENSIONS --- */
.al-content-wrap{padding:34px 0 90px}
.al-page-hero{background:#0F172A;color:#fff;border-radius:18px;padding:36px 30px;box-shadow:var(--al-shadow-lg);margin-bottom:24px}
.al-page-hero h1{font-size:38px;font-weight:900;line-height:1.12;letter-spacing:-1px;margin-bottom:12px}
.al-page-hero p{font-size:17px;color:#CBD5E1;margin:0;max-width:860px;line-height:1.6}
.al-page-hero strong{color:#fff !important}
.al-page-hero a{color:#93C5FD !important;text-decoration:underline}
.al-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.al-badge{background:#1E293B;border:1px solid #334155;color:#fff;font-size:12px;font-weight:700;padding:6px 10px;border-radius:8px}
.al-section{background:#fff;border:1px solid #E2E8F0;border-radius:16px;padding:28px 24px;box-shadow:var(--al-shadow-sm);margin-bottom:18px}
.al-section h2{font-size:28px;font-weight:900;color:#0F172A;margin:0 0 14px}
.al-section h3{font-size:20px;font-weight:800;color:#0F172A;margin:0 0 8px}
.al-section p{font-size:16px;color:#334155;margin:0 0 10px;line-height:1.7}
.al-section p:last-child{margin-bottom:0}
.al-list{margin:0;padding-left:20px}
.al-list li{margin:0 0 9px;color:#334155;font-size:16px}
.al-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.al-mini-card{background:#F8FAFC;border:1px solid #E2E8F0;border-radius:12px;padding:15px}
.al-plan{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.al-step{background:#FFF7ED;border:1px solid #FED7AA;border-radius:12px;padding:14px}
.al-step b{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.5px;color:#9A3412;margin-bottom:6px}
.al-step span{display:block;font-size:15px;color:#0F172A;font-weight:700}
.al-video-shell{background:#EFF6FF;border:1px solid #BFDBFE;border-radius:14px;padding:18px}
.al-video-light{position:relative;background:#0F172A;border-radius:12px;overflow:hidden;min-height:260px;display:flex;align-items:center;justify-content:center;margin:12px 0}
.al-video-light.al-video-preview{background-size:cover;background-position:center;cursor:pointer}
.al-video-light.al-video-preview::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,42,.15),rgba(15,23,42,.55))}
.al-video-light button{position:relative;z-index:2;border:none;background:#DC2626;color:#fff;padding:12px 18px;border-radius:8px;font-weight:800;cursor:pointer;text-transform:uppercase;letter-spacing:.4px}
.al-video-light button:hover{background:#B91C1C}
.al-related{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.al-related a{display:block;background:#F8FAFC;border:1px solid #E2E8F0;border-radius:10px;padding:12px;font-size:14px;font-weight:700;color:#0F172A}
.al-related a:hover{border-color:#F97316;color:#F97316}
.al-author{background:#FFF7ED;border:1px solid #FED7AA;border-radius:12px;padding:16px}
.al-expert-quote{background:#F1F5F9;border-left:4px solid #F97316;padding:12px 14px;border-radius:8px;font-weight:700;color:#0F172A}
.al-cta-final{background:#0F172A;color:#fff;border-radius:16px;padding:28px;text-align:center}
.al-cta-final h2{font-size:30px;font-weight:900;margin:0 0 10px}
.al-cta-final p{color:#CBD5E1;margin:0 0 14px;font-size:16px}
.al-cta-final a{display:inline-block;background:#F97316;color:#fff;padding:14px 22px;border-radius:10px;font-weight:900;text-transform:uppercase;letter-spacing:.4px}
.al-cta-final a:hover{background:#EA580C}
.al-cluster-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.al-cluster-card{background:#fff;border:1px solid #E2E8F0;border-radius:12px;padding:18px;box-shadow:var(--al-shadow-sm)}
.al-cluster-card h3{font-size:20px;margin:0 0 8px;color:#0F172A}
.al-cluster-card p{font-size:14px;color:#475569;margin:0 0 12px}
.al-cluster-card a{display:inline-block;font-weight:800;color:#F97316}
@media (max-width:980px){.al-grid-2,.al-plan,.al-related,.al-cluster-grid{grid-template-columns:1fr 1fr}}
@media (max-width:768px){.al-page-hero{padding:24px 18px}.al-page-hero h1{font-size:30px}.al-section{padding:20px 16px}.al-grid-2,.al-plan,.al-related,.al-cluster-grid{grid-template-columns:1fr}}

/* --- FOOTER SIZE FIX --- */
.al-footer{padding:15px 40px !important;font-size:13px !important;width:100vw !important;position:relative;left:50%;right:50%;margin-left:calc(-50vw) !important;margin-right:calc(-50vw) !important;border-radius:0 !important;}
.al-footer-content{display:flex;justify-content:space-between;align-items:center;gap:20px;}
.al-footer-links{display:flex;gap:25px;flex-wrap:wrap;}
.al-footer-links a{font-size:13px !important;font-weight:500;}
.al-socials-footer a{font-size:18px !important;}
@media (max-width:1100px){
  .al-footer{padding:25px 20px !important;font-size:13px !important;}
  .al-footer-content{gap:20px !important;}
  .al-footer-links{flex-direction:column !important;gap:10px !important;}
}

/* ==========================================================================
   WARSTWA FC 27 - dokladana do arkusza bazowego, tylko dla /edycje/eafc27/
   Bazowy arkusz gasi linki (color: inherit, text-decoration: none) i nie ma
   ani jednej reguly dla <table> i <ol>. To naprawia jedno i drugie oraz
   dokłada rzeczy, ktorych brakowalo, zeby strona nie wygladala na goly tekst.
   ========================================================================== */

/* --- 1. LINKI W TRESCI - byly niewidzialne --- */
.al-content-wrap p > a,
.al-content-wrap li > a,
.al-content-wrap td > a {
    color: var(--al-orange);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(249, 115, 22, 0.35);
    transition: color .18s ease, text-decoration-color .18s ease;
}
.al-content-wrap p > a:hover,
.al-content-wrap li > a:hover,
.al-content-wrap td > a:hover {
    color: var(--al-orange-hover);
    text-decoration-color: var(--al-orange-hover);
}

/* --- 2. KARTA "CZYTAJ DALEJ" - zamiast linku utopionego w akapicie --- */
a.al-next {
    display: block;
    position: relative;
    margin: 28px 0;
    padding: 22px 26px 22px 24px;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFFFFF 70%);
    border: 1px solid #FED7AA;
    border-left: 5px solid var(--al-orange);
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(15, 23, 42, .04);
    transition: transform .22s cubic-bezier(.25, .8, .25, 1), box-shadow .22s, border-color .22s;
    overflow: hidden;
}
a.al-next:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -12px rgba(249, 115, 22, .35);
    border-color: var(--al-orange);
}
.al-next-tag {
    display: inline-block;
    background: var(--al-orange);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.al-next-title {
    display: block;
    font-size: 19px;
    font-weight: 800;
    color: var(--al-navy);
    line-height: 1.25;
    margin-bottom: 8px;
    letter-spacing: -.01em;
}
.al-next-desc {
    display: block;
    font-size: 14.5px;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 14px;
}
.al-next-go {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--al-orange);
}
.al-next-go::after {
    content: "→";
    font-size: 16px;
    transition: transform .22s ease;
}
a.al-next:hover .al-next-go::after { transform: translateX(5px); }

/* --- 3. TABELE - w arkuszu bazowym nie mialy zadnego stylu --- */
.al-content-wrap table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 26px 0;
    font-size: 15px;
    background: #fff;
    border: 1px solid var(--al-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(15, 23, 42, .04);
}
.al-content-wrap thead th {
    background: var(--al-navy);
    color: #fff;
    text-align: left;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
    padding: 14px 18px;
    white-space: nowrap;
}
.al-content-wrap tbody td {
    padding: 14px 18px;
    border-top: 1px solid #EEF2F7;
    color: #334155;
    line-height: 1.5;
    vertical-align: top;
}
.al-content-wrap tbody tr:nth-child(even) { background: #F8FAFC; }
.al-content-wrap tbody tr:hover { background: #FFF7ED; }
.al-content-wrap tbody td:first-child {
    font-weight: 700;
    color: var(--al-navy);
    white-space: nowrap;
}
/* tabela na telefonie przewija sie w swoim kontenerze, a nie rozpycha strony */
.al-table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --- 4. KARTY - byla jedna reguła, teraz maja zycie --- */
.al-content-wrap .al-mini-card {
    position: relative;
    padding: 20px 22px;
    margin: 14px 0;
    border-radius: 12px;
    transition: transform .2s cubic-bezier(.25, .8, .25, 1), box-shadow .2s, border-color .2s;
}
.al-content-wrap .al-mini-card::before {
    content: "";
    position: absolute;
    left: 0; top: 14px; bottom: 14px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--al-orange);
    opacity: 0;
    transition: opacity .2s ease;
}
.al-content-wrap .al-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -14px rgba(15, 23, 42, .28);
    border-color: #CBD5E1;
}
.al-content-wrap .al-mini-card:hover::before { opacity: 1; }
.al-content-wrap .al-mini-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--al-navy);
    margin-bottom: 8px;
    line-height: 1.3;
}
.al-content-wrap .al-mini-card p { margin: 0 0 8px; color: #334155; line-height: 1.6; }
.al-content-wrap .al-mini-card p:last-child { margin-bottom: 0; }

/* --- 5. LISTA NUMEROWANA - numery w kolkach zamiast golych cyfr --- */
.al-content-wrap ol {
    counter-reset: al-krok;
    list-style: none;
    padding: 0;
    margin: 22px 0;
}
.al-content-wrap ol > li {
    counter-increment: al-krok;
    position: relative;
    padding: 16px 20px 16px 62px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid var(--al-border);
    border-radius: 12px;
    line-height: 1.6;
    color: #334155;
    transition: border-color .2s, box-shadow .2s;
}
.al-content-wrap ol > li::before {
    content: counter(al-krok);
    position: absolute;
    left: 18px; top: 16px;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    background: var(--al-orange);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    border-radius: 50%;
    box-shadow: 0 3px 8px rgba(249, 115, 22, .32);
}
.al-content-wrap ol > li:hover {
    border-color: var(--al-orange);
    box-shadow: 0 10px 22px -14px rgba(249, 115, 22, .4);
}

/* --- 6. RYTM SEKCJI I NAGLOWKI --- */
.al-content-wrap .al-section { margin-bottom: 46px; }
.al-content-wrap .al-section > h2 {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 18px;
    font-size: 27px;
    letter-spacing: -.02em;
}
.al-content-wrap .al-section > h2::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 52px; height: 4px;
    border-radius: 3px;
    background: var(--al-orange);
}
.al-content-wrap p { font-size: 16.5px; line-height: 1.75; color: #1E293B; }
.al-content-wrap p > strong { color: var(--al-navy); font-weight: 800; }

/* --- 7. HERO --- */
.al-content-wrap .al-page-hero {
    padding: 42px 34px;
    margin-bottom: 40px;
    background: linear-gradient(160deg, #0F172A 0%, #1E293B 100%);
    border-radius: 18px;
    color: #E2E8F0;
}
.al-content-wrap .al-page-hero h1 {
    color: #fff;
    font-size: 34px;
    line-height: 1.18;
    margin-bottom: 18px;
    letter-spacing: -.025em;
}
.al-content-wrap .al-page-hero p { color: #CBD5E1; font-size: 16.5px; }
.al-content-wrap .al-page-hero p:last-child { margin-bottom: 0; }
.al-content-wrap .al-page-hero strong { color: #fff; }

/* --- 8. ANIMACJE - wlaczane dopiero, gdy JS dziala.
       Bez JS nic sie nie ukrywa, wiec tresc zawsze jest widoczna. --- */
.js-anim .al-content-wrap .al-section,
.js-anim .al-content-wrap a.al-next,
.js-anim .al-content-wrap .al-cta-final {
    opacity: 0;
    transform: translateY(20px);
}
/* Kazdy selektor pokazujacy musi miec co najmniej taka sama specyficznosc
   jak jego odpowiednik ukrywajacy, inaczej element zostaje przezroczysty
   mimo dodanej klasy. Na tym sie przejechalem przy a.al-next. */
.js-anim .al-content-wrap .al-section.is-in,
.js-anim .al-content-wrap a.al-next.is-in,
.js-anim .al-content-wrap .al-cta-final.is-in {
    opacity: 1;
    transform: none;
    transition: opacity .55s ease, transform .55s cubic-bezier(.22, 1, .36, 1);
}
/* Bezpiecznik: gdyby obserwator z jakiegokolwiek powodu nie zadzialal,
   skrypt dopisuje te klase i wszystko wraca do widocznosci. */
.js-anim.al-pokaz-wszystko .al-content-wrap .al-section,
.js-anim.al-pokaz-wszystko .al-content-wrap a.al-next,
.js-anim.al-pokaz-wszystko .al-content-wrap .al-cta-final {
    opacity: 1 !important;
    transform: none !important;
}
.al-content-wrap .al-page-hero {
    animation: al-wejscie .6s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes al-wejscie {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

/* --- 9. PASEK POSTEPU CZYTANIA --- */
.al-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--al-orange), #FBBF24);
    z-index: 1000000;
    transition: width .1s linear;
    pointer-events: none;
}

/* --- 10. SZANUJEMY USTAWIENIE UZYTKOWNIKA --- */
@media (prefers-reduced-motion: reduce) {
    .js-anim .al-content-wrap .al-section,
    .js-anim .al-content-wrap a.al-next,
    .js-anim .al-content-wrap .al-cta-final { opacity: 1; transform: none; }
    .al-content-wrap .al-page-hero { animation: none; }
    .al-progress { display: none; }
    * { transition: none !important; }
}

/* --- 11. TELEFON --- */
@media (max-width: 768px) {
    .al-content-wrap .al-page-hero { padding: 28px 20px; border-radius: 14px; }
    .al-content-wrap .al-page-hero h1 { font-size: 26px; }
    .al-content-wrap .al-section > h2 { font-size: 22px; }
    .al-content-wrap p { font-size: 16px; }
    .al-content-wrap ol > li { padding: 14px 16px 14px 56px; }
    a.al-next { padding: 18px 20px; }
    .al-next-title { font-size: 17px; }
    .al-content-wrap thead th, .al-content-wrap tbody td { padding: 11px 13px; font-size: 14px; }
}

/* --- 12. BLOKI NA CIEMNYM TLE - naprawa po moich globalnych regulach.
   Regula .al-content-wrap p ma te sama specyficznosc co .al-cta-final p
   z arkusza bazowego, ale stoi pozniej, wiec wygrywala ciemnym kolorem.
   A .al-content-wrap p > a bilo bazowe .al-cta-final a i robilo
   pomaranczowy napis na pomaranczowym przycisku. Ponizsze selektory
   maja wyzsza specyficznosc od obu moich globalnych. --- */
.al-content-wrap .al-cta-final p,
.al-content-wrap .al-page-hero p {
    color: #CBD5E1;
}
.al-content-wrap .al-cta-final p > strong,
.al-content-wrap .al-page-hero p > strong {
    color: #FFFFFF;
}
.al-content-wrap .al-cta-final p > a {
    display: inline-block;
    background: var(--al-orange);
    color: #FFFFFF;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 15px 26px;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 8px 18px -8px rgba(249, 115, 22, .65);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.al-content-wrap .al-cta-final p > a:hover {
    background: var(--al-orange-hover);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -10px rgba(249, 115, 22, .75);
}
/* link w ciemnym hero, gdyby kiedys sie tam pojawil */
.al-content-wrap .al-page-hero p > a {
    color: #FDBA74;
    text-decoration-color: rgba(253, 186, 116, .5);
}
.al-content-wrap .al-page-hero p > a:hover { color: #FED7AA; }

/* --- 13. BLOK AUTORA - kto to pisze i dlaczego warto go sluchac.
   Stoi nad CTA, zeby prosba szla od konkretnego czlowieka, a nie z nikad. --- */
.al-autor {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 26px 28px;
    margin: 44px 0 20px;
    background: #FFFFFF;
    border: 1px solid var(--al-border);
    border-left: 5px solid var(--al-orange);
    border-radius: 16px;
    box-shadow: 0 4px 10px -4px rgba(15, 23, 42, .08);
}
.al-autor-foto {
    position: relative;
    flex: 0 0 132px;
    width: 132px;
    height: 156px;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(145deg, #F97316 0%, #FBBF24 45%, #F97316 100%);
    box-shadow: 0 16px 30px -14px rgba(249, 115, 22, .55);
}
.al-autor-foto::after {
    content: "";
    position: absolute;
    inset: -14px -14px auto auto;
    width: 62px; height: 62px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,115,22,.16) 0%, rgba(249,115,22,0) 70%);
    pointer-events: none;
}
.al-autor-foto img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 17px;
    object-fit: cover;
    object-position: 50% 18%;
    background: #F1F5F9;
}
.al-autor-etykieta {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--al-orange);
    margin-bottom: 6px;
}
.al-autor h3 {
    font-size: 21px;
    font-weight: 900;
    color: var(--al-navy);
    margin: 0 0 8px;
    letter-spacing: -.01em;
}
.al-autor-bio {
    font-size: 15.5px;
    line-height: 1.6;
    color: #475569;
    margin: 0 0 16px;
}
.al-autor-liczby {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
}
.al-autor-liczby span {
    position: relative;
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    padding-right: 26px;
}
.al-autor-liczby span:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0; top: 3px; bottom: 3px;
    width: 1px;
    background: var(--al-border);
}
.al-autor-liczby span:last-child { padding-right: 0; }
.al-autor-liczby b {
    font-size: 20px;
    font-weight: 900;
    color: var(--al-navy);
}
.al-autor-liczby i {
    font-style: normal;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: #94A3B8;
    margin-top: 2px;
}
@media (max-width: 640px) {
    .al-autor { flex-direction: column; align-items: center; text-align: center; padding: 24px 20px; }
    .al-autor-foto { width: 124px; height: 148px; flex-basis: auto; }
    .al-autor-liczby { justify-content: center; gap: 12px 18px; }
    .al-autor-liczby span { padding-right: 18px; }
}
