/* =========================================================
   ZLATO Z OLIV – DETAIL RECEPTU V1
   Styl je omezen pouze na .zzo-recipe-detail
   ========================================================= */

.zzo-recipe-detail {
    --zzo-green: #253511;
    --zzo-green-dark: #1f2f12;
    --zzo-gold: #c9a442;
    --zzo-gold-dark: #b98b24;
    --zzo-cream: #faf8f2;
    --zzo-white: #ffffff;
    --zzo-text: #2e3229;
    --zzo-muted: #6b7064;
    --zzo-border: rgba(185, 139, 36, .32);
    width: 100%;
    color: var(--zzo-text);
    font-family: "Source Sans 3", Arial, sans-serif;
}

.zzo-recipe-detail,
.zzo-recipe-detail * {
    box-sizing: border-box;
}

.zzo-recipe-detail a {
    color: inherit;
}

.zzo-recipe-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.zzo-recipe-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 24px 0 18px;
    color: var(--zzo-green) !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}

.zzo-recipe-back:hover {
    color: var(--zzo-gold-dark) !important;
}

.zzo-recipe-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    overflow: hidden;
    background: var(--zzo-cream);
    border: 1px solid var(--zzo-border);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(31, 47, 18, .08);
}

.zzo-recipe-hero-image {
    position: relative;
    min-height: 520px;
    overflow: hidden;
}

.zzo-recipe-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.zzo-recipe-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.zzo-recipe-badges span {
    padding: 8px 14px;
    color: var(--zzo-green-dark);
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(201, 164, 66, .35);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.zzo-recipe-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 48px;
}

.zzo-recipe-kicker {
    margin-bottom: 13px;
    color: var(--zzo-gold-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.zzo-recipe-detail h1,
.zzo-recipe-detail h2,
.zzo-recipe-detail h3 {
    color: var(--zzo-green-dark);
    font-family: "Source Serif 4", Georgia, serif;
}

.zzo-recipe-detail h1 {
    margin: 0;
    font-size: clamp(36px, 4.1vw, 58px);
    line-height: 1.06;
    font-weight: 600;
}

.zzo-recipe-ornament {
    width: 190px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--zzo-gold);
}

.zzo-recipe-ornament::before,
.zzo-recipe-ornament::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--zzo-gold);
}

.zzo-recipe-lead {
    margin: 0;
    color: #4d5348;
    font-size: 17px;
    line-height: 1.75;
}

.zzo-recipe-meta {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.zzo-recipe-meta-item {
    padding: 13px 10px;
    color: var(--zzo-green-dark);
    background: var(--zzo-white);
    border: 1px solid rgba(37, 53, 17, .1);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.zzo-recipe-main {
    margin: 56px auto 64px;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr);
    gap: 44px;
    align-items: start;
}

.zzo-recipe-section {
    margin-bottom: 48px;
}

.zzo-recipe-section h2,
.zzo-recipe-related h2 {
    margin: 0 0 22px;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.16;
}

.zzo-recipe-ingredients {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(37, 53, 17, .12);
}

.zzo-recipe-ingredients li {
    position: relative;
    padding: 14px 12px 14px 34px;
    border-bottom: 1px solid rgba(37, 53, 17, .12);
    font-size: 16px;
    line-height: 1.5;
}

.zzo-recipe-ingredients li::before {
    content: "✓";
    position: absolute;
    top: 14px;
    left: 6px;
    color: var(--zzo-gold-dark);
    font-weight: 900;
}

.zzo-recipe-text-link {
    color: var(--zzo-green) !important;
    font-weight: 800;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(185, 139, 36, .65);
}

.zzo-recipe-text-link:hover {
    color: var(--zzo-gold-dark) !important;
}

.zzo-recipe-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: zzo-step;
}

.zzo-recipe-steps li {
    position: relative;
    min-height: 56px;
    margin-bottom: 22px;
    padding: 2px 0 0 70px;
    counter-increment: zzo-step;
    font-size: 16px;
    line-height: 1.72;
}

.zzo-recipe-steps li::before {
    content: counter(zzo-step);
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--zzo-green-dark);
    border: 2px solid var(--zzo-gold);
    border-radius: 50%;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 20px;
    font-weight: 700;
}

.zzo-recipe-tip {
    padding: 28px 30px;
    background: var(--zzo-cream);
    border-left: 4px solid var(--zzo-gold);
    border-radius: 0 14px 14px 0;
}

.zzo-recipe-tip h3 {
    margin: 0 0 9px;
    font-size: 23px;
}

.zzo-recipe-tip p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

.zzo-recipe-sidebar {
    position: sticky;
    top: 22px;
}

.zzo-recipe-product-card {
    padding: 30px;
    color: #fff;
    background: var(--zzo-green-dark);
    border: 1px solid rgba(201, 164, 66, .55);
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(31, 47, 18, .12);
}

.zzo-recipe-product-card .zzo-recipe-kicker {
    color: var(--zzo-gold);
}

.zzo-recipe-product-card h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 28px;
    line-height: 1.2;
}

.zzo-recipe-product-card p {
    margin: 0 0 22px;
    color: #e8ebdf;
    font-size: 14px;
    line-height: 1.7;
}

.zzo-recipe-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 20px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--zzo-gold), var(--zzo-gold-dark));
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 7px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: transform .2s ease, box-shadow .2s ease;
}

.zzo-recipe-button:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .16);
}

.zzo-recipe-mini-links {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.zzo-recipe-mini-links a {
    display: block;
    margin-top: 10px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.zzo-recipe-mini-links a:hover {
    color: var(--zzo-gold) !important;
}

.zzo-recipe-related {
    padding: 58px 0 68px;
    background: var(--zzo-cream);
}

.zzo-recipe-related-heading {
    margin-bottom: 26px;
    text-align: center;
}

.zzo-recipe-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.zzo-recipe-related-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    overflow: hidden;
    color: var(--zzo-text) !important;
    background: #fff;
    border: 1px solid rgba(37, 53, 17, .11);
    border-radius: 14px;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease;
}

.zzo-recipe-related-card:hover {
    color: var(--zzo-text) !important;
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(31, 47, 18, .1);
}

.zzo-recipe-related-card img {
    width: 100%;
    height: 100%;
    min-height: 155px;
    display: block;
    object-fit: cover;
}

.zzo-recipe-related-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px;
}

.zzo-recipe-related-copy span {
    margin-bottom: 7px;
    color: var(--zzo-gold-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.zzo-recipe-related-copy strong {
    color: var(--zzo-green-dark);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 21px;
    line-height: 1.25;
}

@media (max-width: 900px) {
    .zzo-recipe-hero {
        grid-template-columns: 1fr;
    }

    .zzo-recipe-hero-image {
        min-height: 380px;
    }

    .zzo-recipe-main {
        grid-template-columns: 1fr;
    }

    .zzo-recipe-sidebar {
        position: static;
    }
}

@media (max-width: 650px) {
    .zzo-recipe-container {
        width: min(100% - 24px, 1180px);
    }

    .zzo-recipe-hero {
        border-radius: 14px;
    }

    .zzo-recipe-hero-image {
        min-height: 290px;
    }

    .zzo-recipe-hero-copy {
        padding: 34px 24px;
    }

    .zzo-recipe-meta {
        grid-template-columns: 1fr;
    }

    .zzo-recipe-main {
        margin-top: 38px;
        gap: 18px;
    }

    .zzo-recipe-steps li {
        padding-left: 60px;
    }

    .zzo-recipe-related-grid {
        grid-template-columns: 1fr;
    }

    .zzo-recipe-related-card {
        grid-template-columns: 125px minmax(0, 1fr);
    }
}

/* =========================================================
   OPRAVA NADPISU A ŠÍŘKY HERO – V2
   ========================================================= */

@media (min-width: 901px) {
    .zzo-recipe-detail .zzo-recipe-hero {
        grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr) !important;
    }
}

.zzo-recipe-detail .zzo-recipe-hero-copy h1 {
    margin: 0 !important;
    max-width: 100% !important;
    font-size: clamp(34px, 3.1vw, 46px) !important;
    line-height: 1.1 !important;
    text-align: left !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

@media (max-width: 900px) {
    .zzo-recipe-detail .zzo-recipe-hero {
        grid-template-columns: 1fr !important;
    }

    .zzo-recipe-detail .zzo-recipe-hero-copy h1 {
        font-size: 42px !important;
    }
}

@media (max-width: 650px) {
    .zzo-recipe-detail .zzo-recipe-hero-copy h1 {
        font-size: 34px !important;
        line-height: 1.12 !important;
    }
}
