:root {
            /* Barevná paleta odvozená přímo z letáku */
            --bg-page: #e8f1f5;             /* Velmi světle modré pozadí letáku */
            --buddy-purple: #8166d4;        /* Barva fialového maskota */
            --buddy-purple-dark: #5e46ab;   /* Tmavší fialová pro akcenty a text */
            --buddy-purple-light: #f2efff;  /* Podbarvení štítků a boxů */
            --text-main: #232233;           /* Tmavý kontrastní text */
            --text-muted: #535868;          /* Tlumený text */
            --white: #ffffff;
            --border-soft: #d2dee4;
            --radius-card: 22px;
            --radius-pill: 50px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Calibri', Candara, 'Segoe UI', system-ui, -apple-system, sans-serif;
            background-color: var(--bg-page);
            color: var(--text-main);
            line-height: 1.55;
            padding-bottom: 50px;
        }

        h1, h2, h3, .brand-name {
            font-family: 'Anton', sans-serif;
            font-weight: 400;
            letter-spacing: 0.6px;
        }

        .container {
            width: 100%;
            max-width: 1080px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* HLAVIČKA */
        header {
            padding: 24px 0;
        }

        .header-inner {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .brand-block {
            display: flex;
            align-items: baseline;
            gap: 0px;
            flex-direction: column;
        }

        .brand-name {
            font-size: 2.1rem;
            color: var(--buddy-purple-dark);
            text-decoration: none;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
        }

        .brand-sub {
            font-size: 0.9rem;
            color: var(--text-muted);
            font-weight: 600;
        }

        /* NASTAVENÍ VELIKOSTI LOG */
        .logo-digibuddy {
            height: 44px;
            width: auto;
            max-width: 190px;
            object-fit: contain;
            display: block;
        }

        .logo-digimama {
            height: 24px;
            width: auto;
            max-width: 130px;
            object-fit: contain;
            vertical-align: middle;
            display: inline-block;
            margin-left: 6px;
        }

        .btn {
            display: inline-block;
            font-family: inherit;
            font-weight: 700;
            font-size: 0.95rem;
            padding: 13px 28px;
            border-radius: var(--radius-pill);
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s ease;
            border: none;
        }

        .btn-purple {
            background-color: var(--buddy-purple);
            color: var(--white);
            box-shadow: 0 6px 16px rgba(129, 102, 212, 0.3);
        }

        .btn-purple:hover {
            background-color: var(--buddy-purple-dark);
            transform: translateY(-2px);
        }

        /* HERO SEKCIA */
        .hero-section {
            padding: 20px 0 40px;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1.15fr 0.85fr;
            gap: 36px;
            align-items: center;
        }

        .hero-content h1 {
            font-size: 3.2rem;
            line-height: 1.12;
            color: var(--buddy-purple-dark);
            margin-bottom: 8px;
        }

        .hero-subtitle {
            font-size: 1.65rem;
            font-weight: 700;
            line-height: 1.25;
            color: var(--text-main);
            margin-bottom: 14px;
        }

        .hero-desc {
            font-size: 1.15rem;
            color: var(--text-muted);
            margin-bottom: 24px;
            max-width: 500px;
        }

        .param-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 30px;
        }

        .param-pill {
            background: var(--white);
            border: 1px solid var(--border-soft);
            padding: 6px 14px;
            border-radius: var(--radius-pill);
            font-size: 0.88rem;
            font-weight: 700;
            color: var(--buddy-purple-dark);
        }

        a.param-pill {
            text-decoration: none;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        a.param-pill:hover {
            background: var(--buddy-purple-light);
            border-color: var(--buddy-purple);
            color: var(--buddy-purple-dark);
            box-shadow: 0 4px 12px rgba(129, 102, 212, 0.15);
            transform: translateY(-2px);
        }

        /* PLACEHOLDER PRE OBRÁZOK */
        .img-placeholder-frame {
            background: #d8e5ec;
            border: 2px dashed #9fb5c2;
            border-radius: var(--radius-card);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 24px;
            text-align: center;
            color: #4b6371;
            position: relative;
            overflow: hidden;
        }

        .placeholder-icon {
            margin-bottom: 12px;
            opacity: 0.8;
        }
        
        .placeholder-image {
            width:100%;
        }

        .placeholder-title {
            font-weight: 700;
            font-size: 0.95rem;
            margin-bottom: 4px;
            color: var(--text-main);
        }

        .placeholder-sub {
            font-size: 0.8rem;
            color: var(--text-muted);
            max-width: 250px;
        }

        .hero-placeholder {
            min-height: 380px;
            background: var(--buddy-purple-light);
            border: 2px dashed var(--buddy-purple);
        }

        /* ŠTÍTKY TÉMATA */
        .topics-bar {
            background: var(--white);
            border-radius: var(--radius-card);
            padding: 22px 28px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
            margin-bottom: 40px;
        }

        .topics-header {
            font-size: 0.85rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            color: var(--text-muted);
            margin-bottom: 14px;
            text-align: center;
        }

        .topics-cloud {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 9px;
        }

        .topic-tag {
            background: var(--bg-page);
            border: 1px solid #d4e0e6;
            color: var(--text-main);
            padding: 7px 16px;
            border-radius: var(--radius-pill);
            font-size: 0.9rem;
            font-weight: 700;
        }

        /* 3 KĽÚČOVÉ KROKY */
        .intro-lead-box {
            text-align: center;
            max-width: 780px;
            margin: 0 auto 35px;
        }

        .intro-lead-box h2 {
            font-size: 2rem;
            color: var(--buddy-purple-dark);
            margin-bottom: 10px;
        }

        .intro-lead-box p {
            font-size: 1.05rem;
            color: var(--text-muted);
        }

        .three-steps-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 45px;
        }

        .step-item {
            background: var(--white);
            border-radius: var(--radius-card);
            padding: 28px 22px;
            text-align: center;
            border: 1px solid #d9e3ea;
            box-shadow: 0 4px 15px rgba(0,0,0,0.03);
        }

        .step-number {
            width: 44px;
            height: 44px;
            background: var(--buddy-purple);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
            font-family: 'Anton', sans-serif;
            font-size: 1.35rem;
        }

        .step-item h3 {
            font-size: 1.35rem;
            color: var(--buddy-purple-dark);
            margin-bottom: 8px;
        }

        .step-item p {
            font-size: 0.92rem;
            color: var(--text-muted);
        }

        /* DVE PROSTREDIA: DOMA & ŠKOLA */
        .env-heading{
            margin-bottom: 1rem;
            text-align: center;
        }
        
        .environments{
            margin-bottom: 45px;
        }
        .environments-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            
        }

        .env-card {
            background: var(--white);
            border-radius: var(--radius-card);
            padding: 32px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.03);
            border-top: 6px solid var(--buddy-purple);
        }

        .env-badge-title {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--buddy-purple);
            color: var(--white);
            padding: 5px 16px;
            border-radius: 8px;
            font-family: 'Anton', sans-serif;
            font-size: 1.25rem;
            letter-spacing: 0.8px;
            margin-bottom: 16px;
        }

        .env-list {
            list-style: none;
            margin-top: 14px;
        }

        .env-list li {
            position: relative;
            padding-left: 24px;
            margin-bottom: 10px;
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text-main);
        }

        .env-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 7px;
            width: 9px;
            height: 9px;
            background: var(--buddy-purple);
            border-radius: 50%;
        }
        
        .env-desc{
            display: flex;
            justify-content: center;
            margin-top:24px;

        }
        
        .env-desc .env-card{ border-top-width: 0;}

        /* ODBORNÁ ZÁŠTITA */
        .expert-section {
            background: var(--white);
            border-radius: var(--radius-card);
            padding: 30px 36px;
            display: flex;
            align-items: center;
            gap: 28px;
            margin-bottom: 45px;
            border: 1px solid var(--border-soft);
        }

        .expert-tag-badge {
            background: #e2f4ea;
            color: #177343;
            font-size: 0.75rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding: 3px 8px;
            border-radius: 4px;
            display: inline-block;
            margin-bottom: 6px;
        }

        .expert-text h3 {
            font-size: 1.3rem;
            color: var(--buddy-purple-dark);
            margin-bottom: 4px;
        }

        .expert-text p {
            font-size: 0.95rem;
            color: var(--text-muted);
        }

        /* FORMULÁR / VÝZVA K AKCII */
        .cta-box {
            background: var(--buddy-purple-dark);
            border-radius: var(--radius-card);
            padding: 45px 30px;
            color: var(--white);
            text-align: center;
        }

        .cta-box h2 {
            font-size: 2.1rem;
            margin-bottom: 10px;
        }

        .cta-box p {
            color: #dcd7fa;
            max-width: 560px;
            margin: 0 auto 26px;
            font-size: 1rem;
        }

        .lead-form {
            max-width: 480px;
            margin: 0 auto;
            background: var(--white);
            padding: 28px 24px;
            border-radius: 20px;
            box-shadow: 0 12px 30px rgba(0,0,0,0.18);
            color: var(--text-main);
            text-align: left;
        }

        /* PRODUKTOVÁ KARTA VE FORMULÁŘI */
        .order-product-card {
            background: #f8f6fe;
            border: 2px solid #dfd7f7;
            border-radius: 14px;
            padding: 16px 18px;
            margin-bottom: 18px;
        }

        .order-product-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 6px;
            gap: 8px;
        }

        .order-product-badge {
            background: var(--buddy-purple);
            color: var(--white);
            font-size: 0.72rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            padding: 3px 10px;
            border-radius: var(--radius-pill);
        }

        .order-product-price-unit {
            font-family: 'Anton', sans-serif;
            font-size: 1.15rem;
            color: var(--buddy-purple-dark);
        }

        .order-product-title {
            font-size: 1.15rem;
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 4px;
        }

        .order-product-desc {
            font-size: 0.88rem;
            color: var(--text-muted);
            line-height: 1.4;
            margin-bottom: 10px;
        }

        .order-single-issue-hint {
            padding-top: 10px;
            border-top: 1px dashed #d5cbed;
            font-size: 0.88rem;
            color: var(--text-muted);
        }

        .order-eshop-link {
            color: var(--buddy-purple-dark);
            font-weight: 700;
            text-decoration: underline;
            margin-left: 4px;
            transition: color 0.15s ease;
        }

        .order-eshop-link:hover {
            color: var(--buddy-purple);
        }

        /* POLE PRO POČET KUSŮ */
        .qty-control-group {
            margin-bottom: 16px;
        }

        .qty-control-label {
            display: block;
            font-size: 0.92rem;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 8px;
        }

        .qty-stepper {
            display: inline-flex;
            align-items: center;
            width: 170px;
            background: #f4f7f9;
            border: 2px solid #ccd6dc;
            border-radius: 10px;
            overflow: hidden;
            transition: border-color 0.15s ease;
        }

        .qty-stepper:focus-within {
            border-color: var(--buddy-purple);
        }

        .qty-btn {
            width: 44px;
            height: 42px;
            background: #ffffff;
            border: none;
            font-size: 1.35rem;
            font-weight: 700;
            color: var(--buddy-purple-dark);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.15s ease, color 0.15s ease;
            user-select: none;
        }

        .qty-btn:hover {
            background: var(--buddy-purple-light);
            color: var(--buddy-purple);
        }

        .qty-input {
            flex: 1;
            width: 70px;
            height: 42px;
            border: none;
            background: transparent;
            text-align: center;
            font-size: 1.15rem;
            font-weight: 800;
            font-family: inherit;
            color: var(--text-main);
            padding: 0 4px;
            outline: none;
            -moz-appearance: textfield;
        }

        .qty-input::-webkit-outer-spin-button,
        .qty-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        /* SLEVOVÝ BLOK (20% SLEVA) */
        .discount-active-box {
            background: linear-gradient(135deg, #e2f4ea, #d2f0df);
            border: 1px solid #95d4ae;
            color: #126335;
            padding: 10px 14px;
            border-radius: 10px;
            margin-bottom: 14px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 6px;
        }

        .discount-badge {
            font-size: 0.88rem;
            font-weight: 800;
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }

        .discount-saved-val {
            font-size: 0.85rem;
            font-weight: 700;
            color: #15803d;
            background: #ffffff;
            padding: 2px 8px;
            border-radius: 6px;
        }

        .discount-tip {
            font-size: 0.82rem;
            color: #64748b;
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 600;
        }

        .discount-tip i {
            color: var(--buddy-purple);
        }

        /* SHRNUTÍ CENY */
        .price-summary-box {
            background: #fbfbfd;
            border: 2px dashed #ded8f2;
            border-radius: 12px;
            padding: 14px 18px;
            margin-bottom: 18px;
        }

        .price-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.92rem;
            color: var(--text-muted);
            margin-bottom: 6px;
        }

        .price-row-total {
            margin-bottom: 0;
            color: var(--text-main);
        }

        .price-val-original {
            text-decoration: line-through;
            color: #94a3b8;
            font-weight: 600;
        }

        .price-val-discount {
            color: #16a34a;
            font-weight: 700;
        }

        .price-total-label {
            font-size: 1.05rem;
            font-weight: 800;
        }

        .price-total-val {
            font-family: 'Anton', sans-serif;
            font-size: 1.85rem;
            color: var(--buddy-purple-dark);
            letter-spacing: 0.5px;
        }

        .form-row {
            margin-bottom: 12px;
            text-align: left;
        }

        .form-input {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #ccd6dc;
            border-radius: 8px;
            font-family: inherit;
            font-size: 0.92rem;
            outline: none;
        }

        .form-input:focus {
            border-color: var(--buddy-purple);
        }

        .role-selector {
            display: flex;
            justify-content: space-around;
            margin: 14px 0 16px;
            font-size: 0.9rem;
            color: var(--text-main);
            font-weight: 600;
        }

        .btn-submit {
            width: 100%;
            padding: 14px;
            border-radius: 8px;
            font-size: 1.05rem;
        }

        /* PÄTIČKA */
        footer {
            margin-top: 45px;
            text-align: center;
            font-size: 0.88rem;
            color: var(--text-muted);
        }

        footer a {
            color: var(--buddy-purple-dark);
            font-weight: 700;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
        }

        /* RESPONZIVITA */
        @media (max-width: 860px) {
            .hero-grid, .environments-grid, .three-steps-grid {
                grid-template-columns: 1fr;
            }

            .hero-content {
                text-align: center;
            }

            .hero-content h1 {
                font-size: 2.6rem;
            }

            .param-pills {
                justify-content: center;
            }

            .hero-desc {
                margin: 0 auto 24px;
            }

            .expert-section {
                flex-direction: column;
                text-align: center;
            }

            .logo-digibuddy {
                height: 36px;
                max-width: 150px;
            }

            .logo-digimama {
                height: 20px;
                max-width: 110px;
            }
        }

        /* KARTA NÁHLEDU SEŠITKU */
        .brochure-teaser-card {
            background: var(--white);
            border-radius: var(--radius-card);
            padding: 36px 40px;
            display: grid;
            grid-template-columns: 240px 1fr;
            gap: 36px;
            align-items: center;
            box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
            border: 1px solid var(--border-soft);
        }

        .brochure-teaser-cover {
            position: relative;
            cursor: pointer;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        .brochure-teaser-cover:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 16px 36px rgba(129, 102, 212, 0.25);
        }

        .brochure-teaser-cover img {
            width: 100%;
            height: auto;
            display: block;
        }

        .brochure-teaser-badge {
            display: inline-block;
            background: var(--buddy-purple-light);
            color: var(--buddy-purple-dark);
            font-size: 0.8rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            padding: 4px 12px;
            border-radius: var(--radius-pill);
            margin-bottom: 12px;
        }

        .brochure-teaser-info h2 {
            font-size: 2rem;
            color: var(--buddy-purple-dark);
            margin-bottom: 12px;
            line-height: 1.2;
        }

        .brochure-teaser-info p {
            font-size: 1.05rem;
            color: var(--text-muted);
            margin-bottom: 24px;
            line-height: 1.6;
        }

        .btn-preview-trigger {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 1.05rem;
            padding: 14px 32px;
        }

        @media (max-width: 860px) {
            .brochure-teaser-card {
                grid-template-columns: 1fr;
                text-align: center;
                padding: 28px 20px;
                gap: 24px;
            }

            .brochure-teaser-cover {
                max-width: 220px;
                margin: 0 auto;
            }
        }

        /* MODAL NÁHLEDU (HTML DIALOG) */
        dialog.brochure-dialog {
            border: none;
            border-radius: 18px;
            padding: 0;
            margin: auto;
            background: #121214;
            color: #f4f4f5;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
            width: 95vw;
            max-width: 1400px;
            height: 92vh;
            max-height: 92vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        dialog.brochure-dialog:not([open]) {
            display: none;
        }

        dialog.brochure-dialog::backdrop {
            background-color: rgba(10, 10, 14, 0.82);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

        .dialog-wrapper {
            position: relative;
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
            box-sizing: border-box;
            overflow: hidden;
        }

        /* MINIMALISTICKÉ ZÁHLAVÍ */
        .dialog-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 40px;
            min-height: 40px;
            padding: 0 16px;
            background: rgba(18, 18, 20, 0.95);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            z-index: 20;
        }

        .dialog-title {
            font-family: inherit;
            font-size: 0.92rem;
            font-weight: 600;
            letter-spacing: 0.3px;
            color: #a1a1aa;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .dialog-title svg {
            color: var(--buddy-purple);
        }

        .dialog-close-btn {
            background: transparent;
            color: #a1a1aa;
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 6px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: background 0.15s, color 0.15s;
        }

        .dialog-close-btn:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
        }

        /* VIEWER & FLIPBOOK */
        #viewer-container {
            position: relative;
            flex: 1;
            width: 100%;
            height: calc(100% - 40px);
            display: flex;
            align-items: center;
            justify-content: center;
            background: #121214;
            box-sizing: border-box;
            overflow: hidden;
        }

        #viewer-container:fullscreen {
            width: 100vw;
            height: 100vh;
            max-width: none;
            padding: 0;
        }

        .viewport {
            width: 100%;
            height: 100%;
            overflow: hidden;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: default;
        }

        .viewport.is-zoomed {
            cursor: grab;
        }

        .viewport.is-dragging {
            cursor: grabbing;
        }

        #zoom-layer {
            display: inline-block;
            transform-origin: center center;
            transition: transform 0.08s ease-out;
            will-change: transform;
        }

        #flipbook {
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
            background: #09090b;
        }

        .page-sheet {
            background-color: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }

        .page-sheet img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            user-select: none;
            -webkit-user-drag: none;
        }

        /* PLOVOUCÍ LIŠTA S POLOPRŮHLEDNOSTÍ */
        .toolbar {
            position: absolute;
            bottom: 22px;
            left: 50%;
            z-index: 50;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
            justify-content: center;
            background: rgba(24, 24, 28, 0.85);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            padding: 6px 14px;
            border-radius: 9999px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease, transform 0.3s ease;
            transform: translateX(-50%) translateY(10px);
        }

        .toolbar.is-visible {
            opacity: 1;
            pointer-events: auto;
            transform: translateX(-50%) translateY(0);
        }

        .toolbar .tb-btn {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            border: 1px solid rgba(255, 255, 255, 0.05);
            height: 36px;
            min-width: 36px;
            padding: 0 12px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 7px;
            transition: background 0.15s, transform 0.1s;
            font-family: inherit;
        }

        .toolbar .tb-btn:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .toolbar .tb-btn:active {
            transform: scale(0.96);
        }

        .toolbar .tb-btn-icon {
            padding: 0;
            width: 36px;
        }

        .toolbar .tb-btn-primary {
            background: var(--buddy-purple);
            border-color: rgba(255, 255, 255, 0.15);
        }

        .toolbar .tb-btn-primary:hover {
            background: var(--buddy-purple-dark);
        }

        .page-status {
            font-size: 13px;
            font-weight: 700;
            color: #f4f4f5;
            min-width: 105px;
            text-align: center;
            user-select: none;
            padding: 0 4px;
        }

        .divider {
            width: 1px;
            height: 20px;
            background: rgba(255, 255, 255, 0.15);
            margin: 0 4px;
        }

        /* ==========================================================
           STRÁNKA SÉRIE: OBJEVUJEME SVĚT ONLINE
           ========================================================== */

        .breadcrumb-nav {
            margin-bottom: 20px;
        }

        .breadcrumb-link {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--buddy-purple-dark);
            font-weight: 700;
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.15s ease, transform 0.15s ease;
        }

        .breadcrumb-link:hover {
            color: var(--buddy-purple);
            transform: translateX(-3px);
        }

        .btn-outline {
            background: transparent;
            color: var(--buddy-purple-dark);
            border: 2px solid var(--buddy-purple);
            text-decoration: none;
        }

        .btn-outline:hover {
            background: var(--buddy-purple);
            color: var(--white);
            transform: translateY(-2px);
        }

        .series-hero-card {
            background: var(--white);
            border-radius: var(--radius-card);
            padding: 38px 42px;
            margin-bottom: 40px;
            box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
            border: 1px solid var(--border-soft);
            display: grid;
            grid-template-columns: 1.25fr 0.75fr;
            gap: 36px;
            align-items: center;
        }

        .series-kicker-badge {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            background: var(--buddy-purple-light);
            color: var(--buddy-purple-dark);
            font-size: 0.8rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.7px;
            padding: 5px 14px;
            border-radius: var(--radius-pill);
            margin-bottom: 14px;
        }

        .series-hero-card h1 {
            font-size: 2.85rem;
            line-height: 1.15;
            color: var(--buddy-purple-dark);
            margin-bottom: 10px;
        }

        .series-periodicity {
            font-size: 1.15rem;
            font-weight: 700;
            color: #4b6371;
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .series-periodicity i {
            color: var(--buddy-purple);
        }

        .series-lead {
            font-size: 1.05rem;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 22px;
        }

        .series-hero-mascot {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background: var(--buddy-purple-light);
            border: 2px dashed var(--buddy-purple);
            border-radius: var(--radius-card);
            padding: 24px 20px;
            text-align: center;
        }

        .series-hero-mascot img {
            max-height: 190px;
            width: auto;
            filter: drop-shadow(0 8px 16px rgba(129, 102, 212, 0.25));
            margin-bottom: 12px;
        }

        .series-hero-mascot .mascot-caption {
            font-family: 'Anton', sans-serif;
            font-size: 1.25rem;
            color: var(--buddy-purple-dark);
            letter-spacing: 0.5px;
        }

        .series-hero-mascot .mascot-sub {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 600;
        }

        /* SEZNAM TÉMAT */
        .topics-section {
            margin-bottom: 50px;
        }

        .topics-intro-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 24px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--border-soft);
        }

        .topics-intro-title {
            font-size: 1.6rem;
            color: var(--buddy-purple-dark);
        }

        .topics-count-badge {
            background: var(--white);
            border: 1px solid var(--border-soft);
            padding: 5px 14px;
            border-radius: var(--radius-pill);
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--text-muted);
        }

        .topics-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .topic-card {
            background: var(--white);
            border-radius: var(--radius-card);
            padding: 28px 30px;
            box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035);
            border: 1px solid var(--border-soft);
            display: grid;
            grid-template-columns: 60px 1fr 125px;
            gap: 24px;
            align-items: center;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            position: relative;
            overflow: hidden;
        }

        .topic-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
        }

        .topic-icon-wrap {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.45rem;
            color: var(--white);
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
            margin-top: 2px;
            align-self: start;
        }

        .topic-card-cover {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            gap: 8px;
            width: 115px;
            justify-self: end;
        }

        .topic-cover-thumb {
            width: 100%;
            max-width: 110px;
            aspect-ratio: 300 / 424;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
            background: #ffffff;
            border: 1px solid rgba(0, 0, 0, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .topic-cover-thumb.clickable {
            cursor: pointer;
        }

        .topic-cover-thumb:hover {
            transform: translateY(-3px) scale(1.03);
            box-shadow: 0 10px 22px rgba(129, 102, 212, 0.25);
        }

        .topic-cover-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .topic-cover-caption {
            font-size: 0.8rem;
            font-weight: 800;
            letter-spacing: 0.3px;
            padding: 3px 10px;
            border-radius: var(--radius-pill);
            display: inline-block;
            white-space: nowrap;
        }

        .topic-cover-caption.status-released {
            background: #e2f4ea;
            color: #177343;
            border: 1px solid #b7e3cb;
        }

        .topic-cover-caption.status-upcoming {
            background: var(--buddy-purple-light);
            color: var(--buddy-purple-dark);
            border: 1px solid #ddd7fa;
        }

        .topic-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 4px;
        }

        .topic-ep-badge {
            font-family: 'Anton', sans-serif;
            font-size: 0.95rem;
            letter-spacing: 0.8px;
            text-transform: uppercase;
        }

        .topic-card-title {
            font-size: 1.65rem;
            line-height: 1.22;
            color: var(--text-main);
            margin-bottom: 6px;
        }

        .topic-card-sub {
            font-size: 1.05rem;
            font-weight: 600;
            font-style: italic;
            line-height: 1.45;
            margin-bottom: 10px;
        }

        .topic-card-kicker {
            font-size: 0.78rem;
            font-weight: 800;
            letter-spacing: 0.7px;
            text-transform: uppercase;
            color: #64748b;
            margin-bottom: 10px;
            padding-bottom: 8px;
            border-bottom: 1px dashed #e2e8f0;
        }

        .topic-card-desc {
            font-size: 0.98rem;
            line-height: 1.62;
            color: var(--text-muted);
        }

        /* BAREVNÉ VARIANTY KARET (ODPOVÍDAJÍ LETÁKU) */
        /* Oranžová / Amber */
        .topic-card.theme-orange {
            border-left: 6px solid #f59e0b;
        }
        .topic-card.theme-orange .topic-icon-wrap {
            background: linear-gradient(135deg, #fbbf24, #d97706);
        }
        .topic-card.theme-orange .topic-ep-badge {
            color: #d97706;
        }
        .topic-card.theme-orange .topic-card-sub {
            color: #b45309;
        }

        /* Tyrkysová / Cyan */
        .topic-card.theme-teal {
            border-left: 6px solid #0284c7;
        }
        .topic-card.theme-teal .topic-icon-wrap {
            background: linear-gradient(135deg, #38bdf8, #0284c7);
        }
        .topic-card.theme-teal .topic-ep-badge {
            color: #0284c7;
        }
        .topic-card.theme-teal .topic-card-sub {
            color: #0369a1;
        }

        /* Fialová / Purple */
        .topic-card.theme-purple {
            border-left: 6px solid #8166d4;
        }
        .topic-card.theme-purple .topic-icon-wrap {
            background: linear-gradient(135deg, #a78bfa, #8166d4);
        }
        .topic-card.theme-purple .topic-ep-badge {
            color: #7c3aed;
        }
        .topic-card.theme-purple .topic-card-sub {
            color: #5e46ab;
        }

        @media (max-width: 860px) {
            .series-hero-card {
                grid-template-columns: 1fr;
                padding: 26px 20px;
                text-align: center;
            }
            .series-hero-card h1 {
                font-size: 2.2rem;
            }
            .series-periodicity {
                justify-content: center;
            }
            .topic-card {
                grid-template-columns: 52px 1fr;
                padding: 22px 18px;
                gap: 16px;
                text-align: left;
            }
            .topic-icon-wrap {
                width: 52px;
                height: 52px;
                font-size: 1.3rem;
            }
            .topic-card-body {
                grid-column: 2;
            }
            .topic-card-cover {
                grid-column: 1 / -1;
                justify-self: center;
                margin-top: 6px;
                padding-top: 14px;
                border-top: 1px dashed #e2e8f0;
                width: 100%;
            }
            .topic-cover-thumb {
                max-width: 130px;
            }
        }

        @media (max-width: 580px) {
            .topic-card {
                grid-template-columns: 1fr;
            }
            .topic-card-body {
                grid-column: 1;
            }
            .topic-icon-wrap {
                margin-bottom: 4px;
            }
        }
