/* Fazonetka – Jak zakoupit a stáhnout PDF střih V2
   Kompaktnější rozložení + ruční poznámky vpravo od screenshotů.
   Navazuje na V1, HTML zůstává stejné.
*/

body.in-jak-zakoupit-a-stahnout-pdf-strih {
    --fz-blue: #a4dbe8;
    --fz-green: #bce194;
    --fz-teal: #296974;
    --fz-soft: #F8F5F0;
    --fz-text: #161616;
}

body.in-jak-zakoupit-a-stahnout-pdf-strih .content-wrapper {
    max-width: 1380px;
}

body.in-jak-zakoupit-a-stahnout-pdf-strih .pageArticleDetail > header h1 {
    color: var(--fz-teal);
    font-weight: 800;
    margin-bottom: 18px;
}

body.in-jak-zakoupit-a-stahnout-pdf-strih .fz-pdf-guide {
    font-family: inherit;
    color: var(--fz-text);
}

.fz-pdf-guide-intro {
    max-width: 980px;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* Horní cesta – kompaktnější */
.fz-pdf-guide-flow {
    display: grid;
    grid-template-columns: repeat(11, auto);
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 18px 0 24px;
}

.fz-flow-item {
    text-align: center;
    min-width: 88px;
}

.fz-flow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 6px;
    border-radius: 50%;
    background: var(--fz-blue);
    font-size: 26px;
    line-height: 1;
}

.fz-flow-item:nth-of-type(2n) .fz-flow-icon {
    background: var(--fz-green);
}

.fz-flow-item strong {
    display: block;
    font-size: 13px;
    line-height: 1.2;
}

.fz-flow-arrow {
    color: var(--fz-teal);
    font-size: 22px;
    margin-top: -18px;
}

/* Jednotlivé kroky – méně vzduchu */
.fz-pdf-step {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
    gap: 26px;
    align-items: center;
    margin: 0 0 14px;
    padding: 24px 28px;
    border-radius: 18px;
    background: #fff;
}

.fz-pdf-step-blue {
    background: rgba(164,219,232,.18);
}

.fz-pdf-step-text {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.fz-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fz-blue);
    color: #17343a;
    font-weight: 800;
    font-size: 25px;
}

.fz-step-number-green {
    background: var(--fz-green);
}

.fz-step-copy h2 {
    margin: 0 0 10px !important;
    color: var(--fz-teal);
    font-size: 26px;
    line-height: 1.16;
}

.fz-step-copy p,
.fz-step-copy li {
    font-size: 15.5px;
    line-height: 1.52;
}

.fz-step-copy p {
    margin: 0 0 9px;
}

.fz-step-copy ul {
    margin: 2px 0 10px 18px;
}

/* Screenshot + vyhrazený prostor pro poznámku vpravo */
.fz-pdf-step-visual {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    gap: 14px;
    align-items: center;
    position: relative;
    text-align: left;
}

.fz-pdf-step-visual img {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;
    margin: 0;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.07);
}

/* Dočasný vzhled textové poznámky.
   Finálně bude nahrazen transparentním PNG v rukopisném stylu Fazonetky. */
.fz-note {
    position: static;
    max-width: 165px;
    padding: 0;
    margin: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: var(--fz-teal);
    font-family: "Segoe Print", "Bradley Hand", cursive;
    font-size: 18px;
    line-height: 1.22;
    transform: rotate(-2deg);
    text-align: left;
}

.fz-note-green {
    color: var(--fz-teal);
    transform: rotate(1deg);
}

/* CTA dole – kompaktnější */
.fz-pdf-next {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    margin: 20px 0 6px;
    padding: 20px 24px;
    background: rgba(188,225,148,.35);
    border-radius: 18px;
}

.fz-pdf-next > div {
    min-width: 190px;
}

.fz-pdf-next-kicker,
.fz-pdf-next strong {
    display: block;
}

.fz-pdf-next-kicker {
    font-size: 15px;
}

.fz-pdf-next strong {
    margin-top: 1px;
    color: var(--fz-teal);
    font-size: 25px;
}

.fz-pdf-next p {
    margin: 0 !important;
    font-size: 15px;
}

.fz-pdf-next-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--fz-blue);
    color: #111 !important;
    text-decoration: none !important;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease;
}

.fz-pdf-next-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 14px rgba(0,0,0,.08);
}

@media (max-width: 1100px) {
    .fz-pdf-step {
        grid-template-columns: 1fr;
    }

    .fz-pdf-step-visual {
        grid-template-columns: minmax(0, 1fr) 185px;
        max-width: 850px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 991px) {
    .fz-pdf-guide-flow {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .fz-flow-arrow {
        display: none;
    }

    .fz-pdf-step {
        padding: 22px 20px;
    }

    .fz-pdf-step-visual {
        grid-template-columns: 1fr;
    }

    .fz-note {
        max-width: none;
        margin-top: 6px;
        font-size: 17px;
    }

    .fz-pdf-next {
        grid-template-columns: 1fr;
    }

    .fz-pdf-next-btn {
        justify-self: start;
    }
}

@media (max-width: 767px) {
    body.in-jak-zakoupit-a-stahnout-pdf-strih .pageArticleDetail > header h1 {
        font-size: 29px;
        line-height: 1.15;
    }

    .fz-pdf-guide-intro {
        font-size: 16px;
        line-height: 1.55;
    }

    .fz-pdf-guide-flow {
        grid-template-columns: repeat(2, 1fr);
        margin: 16px 0 20px;
    }

    .fz-flow-item {
        min-width: 0;
    }

    .fz-flow-icon {
        width: 52px;
        height: 52px;
        font-size: 23px;
    }

    .fz-pdf-step {
        margin-bottom: 12px;
        padding: 18px 14px;
        border-radius: 14px;
    }

    .fz-pdf-step-text {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 10px;
    }

    .fz-step-number {
        width: 40px;
        height: 40px;
        font-size: 21px;
    }

    .fz-step-copy h2 {
        font-size: 21px;
    }

    .fz-step-copy p,
    .fz-step-copy li {
        font-size: 15px;
        line-height: 1.5;
    }

    .fz-pdf-step-visual img {
        border-radius: 10px;
    }

    .fz-note {
        font-size: 16px;
    }

    .fz-pdf-next {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .fz-pdf-next strong {
        font-size: 23px;
    }

    .fz-pdf-next-btn {
        width: 100%;
    }
}
