/* =========================================================
   PREMIERBLU MARKET SNAPSHOT
   Corrected stylesheet
   ========================================================= */

/* Main container */
.ms-08d7b07d-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 80px 20px;
    background-color: #ffffff;
    color: #222222;
    font-family: inherit;
    box-sizing: border-box;
}

.ms-08d7b07d-container *,
.ms-08d7b07d-container *::before,
.ms-08d7b07d-container *::after {
    box-sizing: border-box;
}

/* Header */
.ms-08d7b07d-header {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.ms-08d7b07d-badge {
    display: inline-block;
    margin: 0 0 14px;
    color: #0D47A1;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ms-08d7b07d-title {
    margin: 0 0 18px;
    color: #082B57;
    font-family: inherit;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.25px;
}

.ms-08d7b07d-desc {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    color: #5C677D;
    font-family: inherit;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
}

/* Statistics grid */
.ms-08d7b07d-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    margin: 0 0 60px;
    padding: 0;
    gap: 24px;
    list-style: none;
}

/* Statistic card */
.ms-08d7b07d-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    min-height: 270px;
    padding: 32px;
    gap: 24px;
    background-color: #ffffff;
    border: 1px solid #E4EAF1;
    border-radius: 0;
    box-shadow: 0 4px 14px rgba(11, 19, 43, 0.025);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.ms-08d7b07d-card:hover {
    transform: translateY(-4px);
    border-color: #0D47A1;
    box-shadow: 0 18px 40px rgba(11, 19, 43, 0.07);
}

/* Icon */
.ms-08d7b07d-card-icon-wrap {
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0;
    background-color: rgba(13, 71, 161, 0.07);
    border-radius: 0;
}

.ms-08d7b07d-card-icon-wrap i {
    color: #0D47A1;
    font-size: 27px;
    line-height: 1;
}

.ms-08d7b07d-card-icon-wrap svg {
    display: block;
    width: 27px;
    height: 27px;
    fill: #0D47A1;
}

/* Card body */
.ms-08d7b07d-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 204px;
}

/* Metric label */
.ms-08d7b07d-metric-label {
    display: block;
    margin: 2px 0 10px;
    color: #0B132B;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

/* Metric value */
.ms-08d7b07d-metric-value {
    margin: 0 0 14px;
    color: #082B57;
    font-family: inherit;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -1.5px;
    overflow-wrap: anywhere;
}

/* Trend */
.ms-08d7b07d-metric-trend {
    display: flex;
    align-items: center;
    min-height: 24px;
    margin: 0 0 16px;
    color: #667085;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.ms-08d7b07d-trend-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.ms-08d7b07d-trend-favorable {
    color: #14804A;
}

.ms-08d7b07d-trend-unfavorable {
    color: #C62828;
}

.ms-08d7b07d-trend-neutral {
    color: #667085;
}

/* Compatibility with earlier trend classes */
.ms-08d7b07d-trend-up {
    color: #14804A;
}

.ms-08d7b07d-trend-down {
    color: #C62828;
}

/* Card source footer */
.ms-08d7b07d-card-footer-info {
    width: 100%;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #E8EDF3;
}

.ms-08d7b07d-source-tag {
    margin: 0;
    color: #7A889B;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.ms-08d7b07d-source-tag a {
    color: inherit;
    text-decoration: none;
}

.ms-08d7b07d-source-tag a:hover,
.ms-08d7b07d-source-tag a:focus {
    color: #0D47A1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ms-08d7b07d-source-tag a:focus-visible {
    outline: 2px solid #0D47A1;
    outline-offset: 3px;
}

/* Information footer */
.ms-08d7b07d-info-footer {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 30px 20px 0;
    background-color: #ffffff;
    border-top: 1px solid #E4EAF1;
    text-align: center;
}

.ms-08d7b07d-last-updated {
    margin: 0 0 10px;
    color: #0B132B;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.ms-08d7b07d-last-updated strong {
    font-weight: 700;
}

.ms-08d7b07d-footer-note {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 6px;
    color: #64748B;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.ms-08d7b07d-footer-attribution {
    margin: 0;
    color: #7A889B;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

/* Elementor editor notice */
.ms-08d7b07d-editor-notice {
    width: 100%;
    margin: 0 0 40px;
    padding: 30px;
    color: #222222;
    background-color: #F5F8FC;
    border: 1px solid #DCE3EC;
    text-align: center;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
}

/* Tablet */
@media (max-width: 1024px) {
    .ms-08d7b07d-container {
        padding: 65px 20px;
    }

    .ms-08d7b07d-header {
        margin-bottom: 48px;
    }

    .ms-08d7b07d-title {
        font-size: 42px;
    }

    .ms-08d7b07d-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ms-08d7b07d-card {
        min-height: 255px;
        padding: 28px;
        gap: 20px;
    }

    .ms-08d7b07d-metric-value {
        font-size: 43px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .ms-08d7b07d-container {
        padding: 50px 18px;
    }

    .ms-08d7b07d-header {
        margin-bottom: 38px;
    }

    .ms-08d7b07d-badge {
        font-size: 12px;
        letter-spacing: 1.6px;
    }

    .ms-08d7b07d-title {
        font-size: 34px;
        letter-spacing: -0.8px;
    }

    .ms-08d7b07d-desc {
        font-size: 16px;
    }

    .ms-08d7b07d-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 44px;
    }

    .ms-08d7b07d-card {
        min-height: 0;
        padding: 26px;
        gap: 18px;
    }

    .ms-08d7b07d-card-icon-wrap {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
    }

    .ms-08d7b07d-card-icon-wrap i {
        font-size: 25px;
    }

    .ms-08d7b07d-card-icon-wrap svg {
        width: 25px;
        height: 25px;
    }

    .ms-08d7b07d-card-body {
        min-height: 0;
    }

    .ms-08d7b07d-metric-value {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .ms-08d7b07d-metric-label {
        font-size: 16px;
    }

    .ms-08d7b07d-info-footer {
        padding: 26px 0 0;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .ms-08d7b07d-container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .ms-08d7b07d-title {
        font-size: 31px;
    }

    .ms-08d7b07d-card {
        flex-direction: column;
        padding: 24px 22px;
    }

    .ms-08d7b07d-card-icon-wrap {
        margin-bottom: 2px;
    }

    .ms-08d7b07d-metric-value {
        font-size: 40px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ms-08d7b07d-card {
        transition: none;
    }

    .ms-08d7b07d-card:hover {
        transform: none;
    }
}