/* Doména konkrétního dílu */

.hero {
    display: grid;
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 48px;
    align-items: center;

    padding: 36px;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.cover img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.part-breadcrumb {
    display: flex;
    gap: 9px;
    align-items: center;
    flex-wrap: wrap;

    margin-bottom: 16px;

    font-size: 14px;
    color: #666;
}

.part-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.part-breadcrumb a:hover {
    text-decoration: underline;
}

.part-breadcrumb-separator {
    opacity: 0.4;
}

.series a {
    color: inherit;
    text-decoration: none;
}

.series a:hover {
    text-decoration: underline;
}

.author-link {
    width: fit-content;
    color: inherit;
    text-decoration: none;
}

.author-link:hover .author-name {
    text-decoration: underline;
}

.series {
    margin: 0 0 10px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #666;
}

.hero h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.02;
}

.tagline {
    margin: 20px 0;
    font-size: 22px;
    line-height: 1.45;
    color: #555;
}

.author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
}

.author img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 50%;
}

.author-name {
    font-weight: bold;
}

.price {
    margin-top: 28px;
    font-size: 22px;
    font-weight: bold;
}

.section {
    margin-top: 32px;
    padding: 32px;

    background: rgba(255, 255, 255, 0.90);
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.section h2 {
    margin-top: 0;
}

.annotation {
    font-size: 19px;
    line-height: 1.7;
    white-space: pre-line;
    max-width: 80ch;
}

.quotes {
    display: grid;
    gap: 18px;
}

blockquote {
    margin: 0;
    padding: 18px 22px;
    border-left: 4px solid #999;
    background: rgba(0, 0, 0, 0.03);
    white-space: pre-line;
    font-size: 18px;
    line-height: 1.55;
}

.how-it-works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.how-card {
    padding: 20px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.035);
}

.how-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.how-card span {
    line-height: 1.5;
    color: #555;
}

.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.button-secondary {
    background: rgba(255,255,255,0.75);
    color: #222;
    border: 1px solid rgba(0,0,0,0.18);
}

.start-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}

.start-form label {
    display: block;
    margin-bottom: 6px;
}

.part-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.part-nav-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    align-items: center;

    padding: 18px;
    border-radius: 14px;

    background: rgba(0, 0, 0, 0.035);
    border: 1px solid rgba(0, 0, 0, 0.10);

    color: inherit;
    text-decoration: none;
}

.part-nav-card:hover {
    background: rgba(0, 0, 0, 0.06);
}

.part-nav-card img {
    width: 110px;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.part-nav-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #777;
    margin-bottom: 6px;
}

.part-nav-title {
    font-size: 21px;
    font-weight: bold;
    line-height: 1.25;
}

.part-nav-status {
    margin-top: 8px;
    font-size: 14px;
    color: #777;
}

@media (max-width: 760px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .cover {
        max-width: 280px;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: 38px;
    }

    .how-it-works {
        grid-template-columns: 1fr;
    }

    .start-form {
        grid-template-columns: 1fr;
    }
    
    .part-nav {
        grid-template-columns: 1fr;
    }

    .part-nav-card {
        grid-template-columns: 85px 1fr;
    }

    .part-nav-card img {
        width: 85px;
    }    
    
}
