/* diamantfaq - mřížka karet (ve stylu diamantpictograms) pro homepage i kategorie */
.diamant-faq--home,
.diamant-faq--category,
.diamant-faq--cms {
    padding: 60px 0;
}

.diamant-faq--category {
    border-top: 1px solid #e1e1e1;
}

.diamant-faq__search {
    max-width: 480px;
    margin: 0 auto 30px;
}

.diamant-faq__search-group {
    position: relative;
    display: flex;
    align-items: stretch;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
}

.diamant-faq__search-group input {
    border:none !important;
}

.diamant-faq__search-group:focus-within {
    border-color: var(--palette1, #3182ce);
}

.diamant-faq__search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0 14px;
    background-color: #e9ecef;
    border-right: 1px solid #e1e1e1;
    color: var(--palette6, #728197);
}

.diamant-faq__search-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    border: none;
    padding: 12px 44px 12px 16px;
    font-size: var(--font-size-body, 15px);
    background: transparent;
    box-shadow: none;
}

.diamant-faq__search-input:focus {
    outline: none;
    box-shadow: none;
}

.diamant-faq__search-clear {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: none;
    color: #e74c3c;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
}

.diamant-faq__search-clear i {
    text-shadow: 0 0 0.4px currentColor, 0 0 0.4px currentColor;
}

.diamant-faq__search-clear:hover {
    color: #c0392b;
}

.diamant-faq__no-results {
    text-align: center;
    color: var(--palette6, #728197);
    margin-top: 10px;
}

.diamant-faq mark {
    background-color: var(--palette1, #3182ce);
    color: var(--palette9, #ffffff);
    padding: 0 2px;
    border-radius: 2px;
}

.diamant-faq__title {
    text-align: center;
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 35px !important;
}

.diamant-faq__title-text {
    margin-bottom: 0;
}

.diamant-faq__title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--palette1, #3182ce);
    transform: translateX(-50%);
}

.diamant-faq__grid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.diamant-faq__col {
    margin-bottom: 16px;
}

.diamant-faq__item {
    height: 100%;
    background-color: #f8f8f8;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    padding: 4px 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.diamant-faq__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--palette1, #3182ce);
}

.diamant-faq__question {
    margin: 0;
    font-size: var(--font-size-body, 15px);
    line-height: 1.35;
}

.diamant-faq__question-text {
    display: block;
    font-weight:600;
    font-size:15px;
    line-height: inherit;
}

.diamant-faq__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: inherit;
    font-weight: 700;
    color: var(--palette3, #222222);
    cursor: pointer;
    transition: color 0.2s ease;
}

.diamant-faq__toggle:hover,
.diamant-faq__toggle:focus {
    color: var(--palette1, #3182ce);
}

.diamant-faq__toggle:not(.collapsed) {
    color: var(--palette1, #3182ce);
}

.diamant-faq__icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    align-self: center;
    line-height: 1;
    border-radius: 50%;
    background-color: #e1e1e1;
    color: var(--palette1, #3182ce);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.diamant-faq__icon .icon-ava {
    font-size: 12px;
    line-height: 1;
}

.diamant-faq__icon-plus {
    display: block;
}

.diamant-faq__icon-minus {
    display: none;
}

.diamant-faq__toggle:not(.collapsed) .diamant-faq__icon {
    background-color: var(--palette1, #3182ce);
    color: var(--palette9, #ffffff);
}

.diamant-faq__toggle:not(.collapsed) .diamant-faq__icon-plus {
    display: none;
}

.diamant-faq__toggle:not(.collapsed) .diamant-faq__icon-minus {
    display: block;
}

.diamant-faq__answer {
    padding: 0 0 16px;
    color: var(--palette6, #728197);
    line-height: 1.6;
}

.diamant-faq__answer p {
    margin: 0 0 12px;
    font-size:15px;
    padding-right: 20px;
}

.diamant-faq__answer p:last-child {
    margin-bottom: 0;
}

.diamant-faq__more {
    text-align: center;
    margin-top: 30px;
}

.diamant-faq__group {
    margin-top: 70px;
}

.diamant-faq__group-title {
    max-width: 1100px;
    margin: 0 auto 10px;
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    color: var(--palette3, #222222);
}

@media (hover: none) {
    .diamant-faq__item:hover {
        transform: none;
        box-shadow: none;
    }
}

@media (max-width:767px) {
    .diamant-faq--home,
    .diamant-faq--category,
    .diamant-faq--cms {
        padding: 30px 0;
    }

    .diamant-faq--cms {
        padding-top: 0;
    }

    .diamant-faq__search {
        margin-bottom: 20px;
    }

    .diamant-faq__search-icon {
        padding: 0 12px;
    }

    .diamant-faq__search-input {
        padding: 10px 40px 10px 12px;
        font-size: 14px;
    }

    .diamant-faq__col {
        margin-bottom: 10px;
    }

    .diamant-faq__item {
        padding: 2px 16px;
        border-radius: 10px;
    }

    .diamant-faq__toggle {
        gap: 12px;
        padding: 14px 0;
    }

    .diamant-faq__question-text {
        font-size: 15px;
        line-height: 1.35;
        font-weight:500;
    }

    .diamant-faq__icon {
        width: 26px;
        height: 26px;
    }

    .diamant-faq__answer {
        padding-bottom: 14px;
    }

    .diamant-faq__answer p {
        margin-bottom: 10px;
        padding-right: 0;
        font-size: 14px;
        line-height: 1.55;
    }

    .diamant-faq__group {
        margin-top: 40px;
    }

    .diamant-faq__group-title {
        font-size: 18px;
    }
}

@media (max-width:499px) {
    .diamant-faq--home,
    .diamant-faq--category,
    .diamant-faq--cms {
        padding: 24px 0;
    }

    .diamant-faq--cms {
        padding-top: 0;
    }

    .diamant-faq__search {
        margin-bottom: 16px;
    }

    .diamant-faq__search-group {
        border-width: 1px;
    }

    .diamant-faq__search-input {
        padding: 9px 36px 9px 10px;
        font-size: 13px;
    }

    .diamant-faq__col {
        margin-bottom: 8px;
    }

    .diamant-faq__item {
        padding: 0 14px;
        border-radius: 8px;
    }

    .diamant-faq__toggle {
        gap: 10px;
        padding: 11px 0;
    }

    .diamant-faq__question-text {
        font-size: 13.5px;
        line-height: 1.35;
    }

    .diamant-faq__icon {
        width: 24px;
        height: 24px;
    }

    .diamant-faq__icon .icon-ava {
        font-size: 10px;
    }

    .diamant-faq__answer {
        padding-bottom: 11px;
    }

    .diamant-faq__answer p {
        margin-bottom: 7px;
        font-size: 13px;
        line-height: 1.5;
    }

    .diamant-faq__group {
        margin-top: 30px;
    }

    .diamant-faq__group-title {
        font-size: 16px;
        margin-bottom:10px !important;
    }
}
