/* =========================================================
   SINN - MACHINE HEALTH REPORT
   Shortcode: [sinn_mhr_hero]
   ========================================================= */

.sinn-mhr-hero {
    --mhr-yellow: #ffc500;
    --mhr-black: #111111;
    --mhr-panel: #252525;
    --mhr-card: #171717;
    --mhr-line: rgba(255, 255, 255, .13);
    --mhr-white: #ffffff;
    --mhr-muted: #b7b7b7;

    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 54px 0 40px;

    color: var(--mhr-white);
    background: var(--mhr-black);

    font-family:
        Inter,
        "Helvetica Neue",
        "Segoe UI",
        Arial,
        sans-serif;
}

.sinn-mhr-hero *,
.sinn-mhr-hero *::before,
.sinn-mhr-hero *::after {
    box-sizing: border-box;
}

.sinn-mhr-hero__inner {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.sinn-mhr-hero__eyebrow {
    margin: 0 0 8px;

    color: var(--mhr-yellow);

    font-size: 12px;
    line-height: 1.3;
    font-weight: 900;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.sinn-mhr-hero__title {
    max-width: 1180px;
    margin: 0 0 14px;

    color: var(--mhr-white);

    font-size: clamp(42px, 4.2vw, 64px);
    line-height: 1.03;
    font-weight: 800;

    letter-spacing: -.035em;
}

.sinn-mhr-hero__sample-label {
    display: inline-flex;
    align-items: center;

    min-height: 32px;

    margin: 0 0 20px;
    padding: 7px 11px;

    color: var(--mhr-black);
    background: var(--mhr-yellow);

    border-radius: 3px;

    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;

    letter-spacing: .035em;
}

.sinn-mhr-hero__notice {
    margin: 0 0 25px;
    padding: 15px 17px;

    color: #e7e7e7;
    background: var(--mhr-panel);

    border-left: 4px solid var(--mhr-yellow);

    font-size: 13px;
    line-height: 1.65;
}

.sinn-mhr-hero__notice p {
    margin: 0;
}

.sinn-mhr-hero__notice p + p {
    margin-top: 8px;
}

.sinn-mhr-hero__notice strong {
    color: var(--mhr-white);
    font-weight: 800;
}

.sinn-mhr-hero__summary {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.sinn-mhr-hero__summary-item {
    min-width: 0;

    padding: 13px 14px 14px;

    background: var(--mhr-card);
    border: 1px solid var(--mhr-line);
}

.sinn-mhr-hero__summary-label {
    display: block;

    width: 100%;
    margin: 0 0 6px;

    color: var(--mhr-muted);

    font-size: 10px;
    line-height: 1.25;
    font-weight: 500;

    letter-spacing: .04em;
    text-transform: uppercase;
}

.sinn-mhr-hero__summary-value {
    color: var(--mhr-white);

    font-size: 14px;
    line-height: 1.35;
    font-weight: 800;
}

.sinn-mhr-hero__badge {
    min-height: 18px;
    padding: 3px 5px;

    color: #5b4700;
    background: #fff4c2;

    border: 0;
    border-radius: 2px;

    font-size: 8px;
    line-height: 1;
    font-style: normal;
    font-weight: 900;

    letter-spacing: .03em;
    white-space: nowrap;
}


/* =========================================================
   TABLET <= 990
   ========================================================= */

@media (max-width: 990px) {

    .sinn-mhr-hero {
        padding: 46px 0 34px;
    }

    .sinn-mhr-hero__title {
        font-size: clamp(38px, 7vw, 54px);
    }

    .sinn-mhr-hero__summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sinn-mhr-hero__summary-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   MOBILE LANDSCAPE <= 766
   ========================================================= */

@media (max-width: 766px) {

    .sinn-mhr-hero {
        padding: 38px 0 30px;
    }

    .sinn-mhr-hero__inner {
        width: min(100% - 24px, 1240px);
    }

    .sinn-mhr-hero__eyebrow {
        font-size: 11px;
    }

    .sinn-mhr-hero__title {
        font-size: clamp(34px, 10vw, 46px);
    }

    .sinn-mhr-hero__notice {
        padding: 14px;
        font-size: 12px;
    }

    .sinn-mhr-hero__summary {
        grid-template-columns: 1fr;
    }

    .sinn-mhr-hero__summary-item:last-child:nth-child(odd) {
        grid-column: auto;
    }
}


/* =========================================================
   MOBILE PORTRAIT <= 477
   ========================================================= */

@media (max-width: 477px) {

    .sinn-mhr-hero {
        padding: 32px 0 26px;
    }

    .sinn-mhr-hero__inner {
        width: calc(100% - 20px);
    }

    .sinn-mhr-hero__title {
        font-size: 32px;
    }

    .sinn-mhr-hero__sample-label {
        font-size: 9px;
    }

    .sinn-mhr-hero__summary-value {
        font-size: 13px;
    }
}


/* =========================================================
   FINAL OVERRIDE — VERIFIED WORKING
   MUST REMAIN THE LAST RULES IN THIS FILE
   ========================================================= */

.sinn-mhr-hero .sinn-mhr-hero__summary-value-row {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;

    width: 100% !important;

    gap: 8px !important;

    margin: 0 !important;
    padding: 0 !important;
}

.sinn-mhr-hero .sinn-mhr-hero__summary-value,
.sinn-mhr-hero .sinn-mhr-hero__badge {
    display: block !important;

    width: auto !important;

    float: none !important;
    position: static !important;

    margin-left: 0 !important;
}

.sinn-mhr-hero .sinn-mhr-hero__summary-value {
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;

    padding: 0 !important;

    color: #ffffff !important;

    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
}

.sinn-mhr-hero .sinn-mhr-hero__badge {
    margin-top: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;

    padding: 3px 5px !important;

    color: #5b4700 !important;
    background: #fff4c2 !important;

    border: 0 !important;
    border-radius: 2px !important;

    font-size: 8px !important;
    line-height: 1 !important;
    font-style: normal !important;
    font-weight: 900 !important;

    letter-spacing: .03em !important;
    white-space: nowrap !important;
}
