/* Shared mobile presentation; no content or publication-state changes. */
@media (max-width: 767px) {
    #smd-calm .sm-facts-panel { padding: 0 !important; }
    #smd-calm .sm-facts-panel > .sm-section-band { width: 100%; box-sizing: border-box; }
    #smd-calm .sm-facts-panel > .sm-facts { padding: 12px !important; }

    #smd-calm .sm-runway .sm-runway-note,
    #smd-calm #dus-bahnenkarte p,
    #smd-calm .smd-exhibits .smd-exhibits-notes,
    #smd-calm .smd-exhibits .smd-exhibits-hint,
    #smd-calm .smd-exhibits .smd-exhibits-foot,
    #smd-calm .smd-exhibits .smd-exhibit-details {
        font-size: 15px !important;
        line-height: 1.55 !important;
        overflow-wrap: anywhere;
    }
    #smd-calm .smd-exhibits .smd-exhibits-verified,
    #smd-calm .smd-exhibits .smd-exhibits-candidate,
    #smd-calm .smd-exhibits .smd-exhibits-status,
    #smd-calm .smd-exhibits .smd-exhibit-cn { font-size: 13px !important; }
    #smd-calm .smd-exhibits .smd-exhibits-body { padding: 8px !important; }
    #smd-calm .smd-exhibits tbody { padding: 4px !important; }
    #smd-calm .smd-exhibits tbody tr { padding: 10px !important; }
    #smd-calm .smd-exhibits .smd-exhibit-reg {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        min-width: 0;
    }

    /* Both generated profiles and older inline-styled editorial profiles. */
    #smd-calm .sm-links-community article,
    #smd-calm .sm-community-row { display: grid !important; grid-template-columns: minmax(0, 1fr); padding: 14px !important; gap: 14px !important; }
    #smd-calm .sm-community-rows { padding: 0 !important; }
    #smd-calm .sm-links-community article > div:first-child,
    #smd-calm .sm-community-profile {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start !important;
        gap: 10px 12px !important;
        flex-basis: 100% !important;
        min-width: 0;
        width: 100%;
    }
    #smd-calm .sm-links-community article > div:first-child > div,
    #smd-calm .sm-community-profile > div { display: contents !important; }
    #smd-calm .sm-links-community article > div:first-child > span,
    #smd-calm .sm-community-initials { grid-column: 1; grid-row: 1; }
    #smd-calm .sm-links-community article h3,
    #smd-calm .sm-community-profile h3 { grid-column: 2; grid-row: 1; min-width: 0; overflow-wrap: anywhere; }
    #smd-calm .sm-links-community article p,
    #smd-calm .sm-community-profile p {
        grid-column: 1 / -1;
        margin: 0 !important;
        font-size: 16px !important;
        line-height: 1.6 !important;
        overflow-wrap: anywhere;
    }
    #smd-calm .sm-links-community article nav,
    #smd-calm .sm-community-row nav { padding-inline-start: 0 !important; min-width: 0; max-width: 100%; }
}
