/* Mobile brief article — loaded separately so cache doesn't block updates */
@media (max-width: 900px) {
    .main { padding-left: 16px; padding-right: 16px; }
    #brief-root { width: 100% !important; max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
    #brief-article-root { width: 100% !important; max-width: 100% !important; }

    .brief-lead-wrap { padding-top: 12px !important; }
    /* Lead — Korthos Bebas (same stack as section headers), scaled for mobile */
    .brief-lead-headline,
    #brief-article-root .daily-brief-lead-zone > div > div:first-child {
        font-family: var(--site-display) !important;
        font-size: clamp(20px, 5vw, 28px) !important;
        font-weight: 400 !important;
        line-height: 1.08 !important;
        letter-spacing: 0.06em !important;
        text-transform: uppercase !important;
        color: #141410 !important;
        margin: 0 0 10px 0 !important;
        display: block !important;
        overflow: visible !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
        hyphens: none !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    #brief-article-root .daily-brief-lead-zone { display: block !important; grid-template-columns: none !important; width: 100% !important; }
    #brief-article-root .daily-brief-lead-zone > div { max-width: 100% !important; }

    #brief-article-root .brief-lead-about-panel { display: block !important; grid-template-columns: none !important; }
    #brief-article-root [data-brief-about-label],
    #brief-article-root .brief-lead-about-heading {
        font-size: 10px !important;
        line-height: 1.35 !important;
        letter-spacing: 0.22em !important;
        font-weight: 500 !important;
        margin: 0 0 8px 0 !important;
        color: rgba(26,26,26,0.5) !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }
    #brief-article-root .daily-brief-lead-zone { display: flex !important; flex-direction: column !important; }
    #brief-article-root .brief-lead-about-meta {
        font-size: 11px !important;
        line-height: 1.45 !important;
        letter-spacing: 0.03em !important;
        margin: 8px 0 10px 0 !important;
    }
    #brief-article-root .brief-lead-about-body.brief-support-copy--lead {
        max-width: 100% !important;
    }
    #brief-article-root .brief-lead-company-img-wrap {
        display: block !important;
        order: 99 !important;
        margin-top: 10px !important;
        text-align: center !important;
        width: 100% !important;
    }
    #brief-article-root .brief-lead-company-img-wrap img {
        width: 72px !important;
        max-width: 80px !important;
        max-height: 88px !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        object-fit: contain !important;
    }
    .brief-lead-tagstrip { margin-top: 4px !important; }

    #brief-article-root .brief-section.brief-section--highlights,
    #brief-article-root .brief-section.brief-section--research {
        padding-top: 0 !important;
        padding-bottom: 10px !important;
    }
    /* Funding block: full width, no extra side inset */
    #brief-root #brief-segment-chart-section.brief-section--funding,
    #brief-root #brief-segment-chart-section.bf-funding-surface {
        border-top: 0 !important;
        margin-top: 0 !important;
        box-shadow: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }
    .brief-section-title.brief-report-section-title,
    .brief-section-title {
        font-family: var(--site-display) !important;
        font-size: 19px !important;
        font-weight: 400 !important;
        letter-spacing: 0.1em !important;
        text-transform: uppercase !important;
        color: #141410 !important;
        line-height: 1.2 !important;
        margin-bottom: 4px !important;
        opacity: 1 !important;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: geometricPrecision;
    }
    .brief-section-subline { margin-bottom: 8px !important; }
    .brief-module-gap { margin-top: 20px !important; margin-bottom: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
    #brief-research-context-rendered { padding: 12px 0 12px !important; max-width: 100% !important; }

    #brief-article-root .feed-item { padding: 14px 0 !important; }
    #brief-article-root .feed-item-summary {
        font-family: var(--site-display) !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        line-height: 1.22 !important;
        letter-spacing: 0.05em !important;
        text-transform: uppercase !important;
        color: #141410 !important;
    }
    #brief-article-root .feed-item-meta { margin-top: 6px !important; width: 100% !important; max-width: 100% !important; }
    /* Stack header: title + meta full width; date + expand on next row (no fixed right rail) */
    #brief-article-root .feed-item-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }
    #brief-article-root .feed-item-header > div:first-child {
        width: 100% !important;
        min-width: 0 !important;
    }
    #brief-article-root .feed-item-summary {
        width: 100% !important;
        max-width: 100% !important;
    }
    #brief-root .feed-item-right {
        font-size: 10px !important;
        line-height: 1.35 !important;
        text-align: left !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px 14px !important;
        white-space: normal !important;
        padding-top: 0 !important;
    }
    #brief-article-root .feed-item-date,
    #brief-root .expand-btn { font-size: 10px !important; letter-spacing: 0.12em !important; }
    /* Expanded: full text width — no side rail */
    #brief-root .expanded-content,
    #brief-root #brief-article-root .expanded-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 10px !important;
        margin-top: 8px !important;
        border: none !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    #brief-root #brief-article-root .feed-item > .expanded-content {
        padding-right: 0 !important;
    }
    #brief-article-root .brief-support-copy--lead {
        font-family: var(--site-body) !important;
        font-size: 14px !important;
        line-height: 1.55 !important;
        color: rgba(0, 0, 0, 0.58) !important;
        font-weight: 400 !important;
        letter-spacing: normal !important;
    }
    #brief-article-root .brief-evidence-line {
        font-family: var(--site-body) !important;
        font-size: 13px !important;
        line-height: 1.42 !important;
        color: rgba(0, 0, 0, 0.58) !important;
        font-weight: 400 !important;
        letter-spacing: normal !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    #brief-root .expanded-content__panel [data-hydrate-kind] > .expanded-content__section + .expanded-content__section--source {
        padding-top: 22px !important;
    }
    #brief-root .expanded-content__panel {
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }
    .brief-masthead-block { padding-top: 12px !important; }
    /* Masthead — home .hero h1 @ max-width 640px */
    .brief-masthead-title {
        font-size: clamp(40px, 11vw, 56px) !important;
        line-height: 0.92 !important;
        letter-spacing: 0.012em !important;
        max-width: 20ch !important;
    }

    /* Trending Research — expanded mobile: compact stacked note (research slot only) */
    #brief-article-root .brief-section--research [data-hydrate-kind="research"] .expanded-content {
        margin-top: 4px !important;
        padding-bottom: 6px !important;
    }
    #brief-article-root .brief-section--research [data-hydrate-kind="research"] .expanded-content__section--summary .expanded-content__label {
        margin-bottom: 5px !important;
    }
    #brief-article-root .brief-section--research [data-hydrate-kind="research"] .expanded-content__section--summary {
        margin-bottom: 0 !important;
    }
    #brief-article-root .brief-section--research .brief-evidence-line {
        padding-left: 0.48rem !important;
        margin: 0 0 0.26em 0 !important;
    }
    #brief-article-root .brief-section--research .brief-evidence-line::before {
        left: 0 !important;
    }
    #brief-article-root .brief-section--research [data-hydrate-kind="research"] .expanded-content__section--artifact {
        margin-top: 16px !important;
    }
    #brief-article-root .brief-section--research [data-hydrate-kind="research"] .expanded-content__section--artifact .expanded-content__label {
        margin-bottom: 3px !important;
    }
    #brief-article-root .brief-section--research [data-hydrate-kind="research"] .expanded-content__artifact-line {
        padding-left: 0.48rem !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
    }
    #brief-article-root .brief-section--research [data-hydrate-kind="research"] .expanded-content__section--meta {
        margin-top: 8px !important;
    }
    #brief-article-root .brief-section--research .expanded-content__meta-grid {
        display: block !important;
        grid-template-columns: none !important;
        column-gap: 0 !important;
        row-gap: 0 !important;
    }
    #brief-article-root .brief-section--research .expanded-content__meta-grid dt {
        margin: 0 !important;
        padding-top: 0 !important;
    }
    #brief-article-root .brief-section--research .expanded-content__meta-grid dt:not(:first-child) {
        margin-top: 7px !important;
    }
    #brief-article-root .brief-section--research .expanded-content__meta-grid dd {
        margin: 1px 0 0 0 !important;
    }
}
