/* Základní styl */
.container-measure h1, h2, h3 {
    font-family: "Montserrat", sans-serif;
    color: #333;
}

.container-measure h2 {
    font-size: 1.7rem;
    margin-top: 35px;
    margin-bottom: 35px;
    font-weight: bold;
}

.container-measure h3 {
    font-size: 1.4rem;
    margin-top: 35px;
    margin-bottom: 35px;
    font-weight: bold;
}

.measure-text h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 10px;
}

.container-measure > p {
    font-family: "Open Sans", sans-serif;
    line-height: 1.6;
    color: #444;
    font-size: 16px;
}

.container-measure > li {
    font-family: "Open Sans", sans-serif;
    line-height: 1.6;
    color: #444;
    font-size: 16px;
}

/* Hero sekce */
.measure-hero {
    /*background-color: #faf7f4;*/
    padding: 1rem 0;
    min-height: 0;
    border-bottom: 1px solid #eee;
}

.measure-rules {
    min-height: 0;
    margin-bottom: 30px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.hero-text {
    flex: 1;
}

.hero-text p {
    margin-bottom: 20px;
}
.hero-image img {
    width: 100%;
    max-width: 500px;
}

/* Pravidla */
.rules-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    text-align: center;
}
.rule img {
    width: 90px;
    margin-bottom: 0.5rem;
}

.rule p {
    font-size: 0.9rem;
}

/* Sekce měření */
.measure-section {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}
.measure-flex {
    display: flex;
    align-items: center;
    gap: 3rem;
}
.measure-flex .reverse {
    flex-direction: row-reverse;
}
.measure-img img {
    width: 100%;
    max-width: 550px;
    min-width: 550px;
    border-radius: 12px;
}
.tip-box {
    background-color: #f9f3ef;
    padding: 1rem;
    border-left: 4px solid #c02c32;
    margin: 1rem 0;
    border-radius: 8px;
}

.measure-summary {
    min-height: 0;
    margin-bottom: 30px;
}

/* Tabulka */
.measure-summary table {
    width: 100%;
    border-collapse: collapse;
}
.measure-summary th, .measure-summary td {
    border: 1px solid #ddd;
    padding: 0.8rem;
    text-align: left;
}
.measure-summary th {
    background-color: #faf7f4;
}

/* Tlačítka */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}
.btn-primary {
    background-color: #c02c32;
    color: #fff;
}
.btn-secondary {
    border: 2px solid #c02c32;
    color: #c02c32;
}

/* Video */
.video-wrapper iframe {
    width: 100%;
    height: 400px;
    border-radius: 12px;
}

/* Garance padnutí */
.measure-garance {
    background-color: #faf7f4;
    padding: 3rem 0;
}
.garance-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.garance-img img {
    max-width: 350px;
}

.faq-section {
    background: #faf7f4;
    padding: 0.6rem 1rem;
}

.faq-section h2 {
    font-size: 1.7rem;
    margin-top: 35px;
    margin-bottom: 35px;
    font-weight: bold;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.open {
    border-left: 4px solid #c02c32;
}

.faq-icon {
    font-size: 1.4rem;
    color: #c02c32;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 1rem;
}

.faq-answer p {
    font-family: "Open Sans", sans-serif;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    margin: 0.5rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1rem;
    font-weight: 600;
    color: #333;
    background: none;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #f8f5f3;
}

.faq-icon-img {
    font-size: 1.4rem;
    margin-right: 0.6rem;
    color: #c02c32;
}

.faq-toggle {
    font-size: 1.4rem;
    color: #c02c32;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}


/* Responsivita */
@media (max-width: 768px) {
    .hero-content, .measure-flex, .garance-box, .rules-grid {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-left: 10px;
        padding-right: 10px;
    }

    .measure-flex {
        padding-left: 10px;
        padding-right: 10px;
    }

    .summary-wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }

    .faq-question {
        font-size: 1rem;
    }

.measure-img img {
        min-width: 0 !important;
    }
}

.odber-bg {
   /* margin-top: 0px !important;*/
}