﻿:root {
    --primary: #0055a5;
    --primary-h: #003f7d;
    --accent: #00bcd4;
    --text: #1a1a1a;
    --text-muted: #555;
    --border: #d8dde5;
    --card-bg: #fff;
    --radius: 6px;
}

/* ─── Section heading ───────────────────────────────── */
.detail-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 14px;
}

.detail-intro {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 36px;
}

/* ─── Two-column layout ─────────────────────────────── */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 60px;
    align-items: start;
}

.head-image {
    margin-bottom: 10px;
}

    .head-image img {
        width: 100%;
        height: auto;
        max-width: 900px;
    }



@media (max-width: 700px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ─── Composition Chart Column ──────────────────────── */
.comp-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 20px;
}

.chart-wrap {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 0 auto 24px;
}

.chart-center-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

    .chart-center-label .grade {
        display: block;
        font-size: .95rem;
        font-weight: 700;
        color: var(--text);
        line-height: 1.3;
    }

    .chart-center-label .name {
        display: block;
        font-size: .8rem;
        font-weight: 400;
        color: var(--text-muted);
    }

/* Element legend table */
.element-legend {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem;
}

    .element-legend tr.main-element td {
        padding: 6px 0 10px;
        font-weight: 700;
    }

    .element-legend tr.main-element .dot {
        display: inline-block;
        width: 14px;
        height: 14px;
        border-radius: 3px;
        background: var(--accent);
        margin-right: 8px;
        vertical-align: middle;
    }

    .element-legend tr.sub-element td {
        padding: 3px 0;
        color: var(--text-muted);
    }

    .element-legend .el-name {
        padding-left: 22px;
        font-weight: 600;
        color: var(--text);
        white-space: nowrap;
    }

    .element-legend .el-value {
        text-align: right;
        font-weight: 400;
        color: var(--text-muted);
        padding-left: 16px;
    }

/* ─── Properties Column ─────────────────────────────── */
.props-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 6px;
}

.props-subtitle {
    font-size: .82rem;
    font-weight: 400;
    color: var(--text-muted);
    margin: 0 0 24px;
}

.prop-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
    font-size: .86rem;
}

    .prop-table tr {
        border-bottom: 1px solid var(--border);
    }

        .prop-table tr:last-child {
            border-bottom: none;
        }

    .prop-table td {
        padding: 9px 0;
        color: var(--text-muted);
    }

        .prop-table td:first-child {
            font-weight: 700;
            color: var(--text);
            width: 55%;
            white-space: nowrap;
        }

        .prop-table td:last-child {
            color: var(--text);
        }

/* Extra props (below mech table) */
.extra-prop {
    margin-bottom: 18px;
    font-size: .86rem;
}

    .extra-prop .ep-label {
        font-weight: 700;
        color: var(--text);
    }

    .extra-prop .ep-value {
        color: var(--text-muted);
        margin-left: 4px;
    }

    .extra-prop p {
        margin: 6px 0 0;
        color: var(--text-muted);
        line-height: 1.65;
    }

.standards-val {
    font-size: .83rem;
    color: var(--text-muted);
}



/* ─── uhr Banner ───────────────────────────────────── */
.uhr-banner {
    background: #e9ecf0;
    overflow: hidden;
}

/* DESKTOP: full-width banner, title floats left inside it */
@media (min-width: 768px) {
    .uhr-banner {
        position: relative;
        height: 200px;
    }

    .uhr-banner__img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .uhr-banner__overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(255,255,255,.85) 0%, rgba(255,255,255,.55) 38%, transparent 65%);
    }

    .uhr-banner__text {
        /*position: absolute;
        top: 50%;
        left: 40px;
        transform: translateY(-50%);*/
    }
}

/* MOBILE: image small + title side by side */
@media (max-width: 767.98px) {
    .uhr-banner {
        display: flex;
        align-items: center;
        gap: 18px;
        padding: 18px 20px;
    }

    .uhr-banner__img {
        width: 180px;
        max-width: 180px;
        height: 110px;
        object-fit: cover;
        border-radius: var(--radius);
        flex-shrink: 0;
    }

    .uhr-banner__overlay {
        display: none;
    }

    .uhr-banner__text {
        flex: 1;
    }
}

.uhr-banner__breadcrumb {
    font-size: .75rem;
    font-weight: 400;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .06em;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 2px;
    margin-bottom: 6px;
}

.uhr-banner__title {
    font-size: clamp(1.5rem, 3vw, 1.7rem);
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.15;
}