/*
 * Technical Information table — frontend.
 * Rendered by [rankup_product_technical_information].
 * Grey table shell, white rows, divider between rows, fixed label column.
 */

.rankup-tech-table {
    --rankup-tech-label-width: 220px;
    --rankup-tech-border: #e2e4e7;
    --rankup-tech-shell-bg: #f4f5f7;
    --rankup-tech-row-bg: #fff;
    --rankup-tech-label-color: #4a4f57;
    --rankup-tech-value-color: #1e2327;

    width: 100%;
    padding: 1px;
    background-color: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
}

.rankup-tech-row {
    display: flex;
    align-items: stretch;
    background: var(--rankup-tech-row-bg);
    border-bottom: 1px solid var(--rankup-tech-border);
}

.rankup-tech-row:last-child {
    border-bottom: 0;
}

.rankup-tech-label,
.rankup-tech-value {
    padding: 5px 20px;
    font-size: 15px;
    line-height: 1.5;
    word-break: break-word;
    background-color: #f8f8f8;
}

.rankup-tech-label {
    flex: 0 0 var(--rankup-tech-label-width);
    width: var(--rankup-tech-label-width);
    max-width: 50%;
    /*font-weight: 600;*/
    /*color: var(--rankup-tech-label-color);*/
    /*background: var(--rankup-tech-shell-bg);*/
    border-right: 1px solid var(--rankup-tech-border);
    color: var(--e-global-color-a91f731);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8em;
    background-color: #f8f8f8;
}

.rankup-tech-value {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--rankup-tech-value-color);
}

@media screen and (max-width: 640px) {
    .rankup-tech-row {
        flex-direction: column;
    }

    .rankup-tech-label,
    .rankup-tech-value {
        padding: 10px 14px;
    }

    .rankup-tech-label {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: .03em;
        border-right: 0;
        border-bottom: 1px solid var(--rankup-tech-border);
    }

    .rankup-tech-value {
        padding-top: 8px;
        padding-bottom: 14px;
    }
}
