/* SHORT DESCRIPTION */
.permon-sd-wrapper {
    width: 100%;
    margin: 20px 0;
    font-family: inherit;
}

.permon-sd-intro {
    font-weight: 700 !important;
    margin-bottom: 30px !important;
    font-size: 16px;
    color: #000;
}

.permon-sd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 15px;
    text-align: center;
}

.permon-sd-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.permon-sd-item img {
    max-width: 110px;
    height: auto;
    margin-bottom: 12px;
}

.permon-sd-title {
    font-weight: 800 !important;
    margin: 0 0 4px 0 !important;
    font-size: 15px;
    color: #000;
    text-transform: none;
}

.permon-sd-text {
    margin: 0 !important;
    font-size: 14px;
    line-height: 1.3;
    color: #333;
}
/* --- RESPONZIVITA --- */
@media (max-width: 767px) {
    .permon-sd-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 10px;
    }
    
    .permon-sd-item img {
        max-width: 85px;
    }

    .permon-sd-title {
        font-size: 14px;
    }

    .permon-sd-text {
        font-size: 13px;
    }
}

/* LONG DESCRIPTION */
.permon-ld-wrapper {
    width: 100%;
    margin: 30px 0;
    font-family: inherit;
}

.permon-ld-header {
    margin-bottom: 40px;
}

.permon-ld-intro-bold {
    font-weight: 800 !important;
    font-size: 17px;
    margin-bottom: 15px !important;
    color: #000;
}

.permon-ld-intro-light {
    font-weight: 400 !important;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

.permon-ld-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px 10px;
    text-align: center;
    align-items: start;
}

.permon-ld-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ikony */
.permon-ld-item img {
    max-width: 100%;
    height: auto;
    width: 110px;
    margin-bottom: 12px;
}

.permon-ld-title {
    font-weight: 800 !important;
    margin: 0 0 5px 0 !important;
    font-size: 14px;
    color: #000;
    line-height: 1.2;
}

.permon-ld-text {
    margin: 0 !important;
    font-size: 13px;
    line-height: 1.3;
    color: #333;
}

/* --- RESPONZIVITA --- */
@media (max-width: 991px) {
    .permon-ld-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 15px;
    }
}
@media (max-width: 767px) {
    .permon-ld-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 10px;
    }
    
    .permon-ld-item img {
        width: 90px;
    }

    .permon-ld-intro-bold { font-size: 16px; }
    .permon-ld-intro-light { font-size: 14px; }
}
/* CESTA PIVA */
.beerWay {
    width: 100%;
    max-width: calc(1250px + 2rem);
    margin: auto;
    padding: 4rem 1rem;
}
.beerWay__main-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #000;
    width: 100%;
}

.beerWay__col {
    padding: 1rem 0; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

@media screen and (min-width: 841px) {
    .beerWay__col::before {
        content: "";
        position: absolute;
        left: 50%;
        top: calc(3rem + 5rem + 32px); 
        bottom: calc(3rem + 64px); 
        width: 12px;
        transform: translateX(-50%);
        background-image: radial-gradient(circle, #ffa800 5px, transparent 6px);
        background-size: 100% 30px;
        background-position: center;
        z-index: 1;
    }
}

.beerWay__item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

@media screen and (min-width: 841px) {
    .beerWay__item:first-child, .beerWay__item:nth-child(2), .beerWay__item:nth-child(4) {
        height: 350px;
    }
    .beerWay__item:nth-child(3) {
        height: 450px;
    }
    .beerWay__item:last-child {
        height: auto;
    }
}

.beerWay__item:nth-child(odd) { flex-direction: row; }
.beerWay__item:nth-child(even) { flex-direction: row-reverse; }

.beerWay__itemImg, .beerWay__itemText {
    flex: 4;
    width: 100%;
    max-width: 500px;
}

.beerWay__item:nth-child(odd) .beerWay__itemImg { text-align: right; padding-right: 2rem; }
.beerWay__item:nth-child(odd) .beerWay__itemText { align-items: flex-start; text-align: left; padding-left: 2rem; }

.beerWay__item:nth-child(even) .beerWay__itemImg { text-align: left; padding-left: 2rem; }
.beerWay__item:nth-child(even) .beerWay__itemText { align-items: flex-end; text-align: right; padding-right: 2rem; }

.beerWay__itemImg img { width: 320px; height: auto; display: inline-block; }

.beerWay__itemText {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.beerWay__itemText h3 { font-size: 28px; font-weight: 800; margin: 0; }

.beerWay__itemText .beerWay__itemPersons {
    display: flex;
    flex-direction: column;
    color: #c29234;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: .25em;
    text-transform: uppercase;
}

.beerWay__timeline {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.beerWay__timeline .timeline__number {
    background: #fff !important;
    font-size: 36px;
    font-weight: 800;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
    border: 5px solid #ffa800;
    box-shadow: 0 0 0 5px #fff;
    color: #000;
}

/* --- RESPONZIVITA */
@media screen and (max-width: 840px) {
    /* Skryjeme čáru úplně */
    .beerWay__col::before { display: none !important; }

    .beerWay__item {
        flex-direction: column !important;
        height: auto !important;
        align-items: center !important; /* Vše na střed */
        text-align: center !important;
        margin-bottom: 4rem;
    }

    .beerWay__itemImg, .beerWay__itemText, .beerWay__timeline {
        width: 100%;
        text-align: center !important;
        align-items: center !important;
        padding: 0 !important;
        flex: none;
    }

    .beerWay__itemImg img {
        width: 250px;
        margin-bottom: 1.5rem;
    }

    .beerWay__timeline {
        order: 1;
        margin-bottom: 1.5rem;
    }
    
    .beerWay__itemText {
        order: 2;
    }

    .beerWay__itemText .beerWay__itemPersons {
        align-items: center !important;
        text-align: center !important;
    }
    
    .beerWay__itemText p {
        text-align: center !important;
    }
}
