/* Results must fit the viewport, including long list and candidate names. */
@media (max-width: 767px) {
 .sce-page [data-sce-screen="results"],
 .sce-page [data-sce-screen="mandates"] {width:100%;min-width:0}
 .sce-page .sce-results,.sce-page .sce-mandates {grid-template-columns:minmax(0,1fr);width:100%;min-width:0}
 .sce-page .sce-section-head>div,.sce-page .sce-result-card,.sce-page .sce-result-card>header>div,
 .sce-page .sce-result-row>div,.sce-page .sce-mandate-card>header>div {min-width:0;max-width:100%;overflow-wrap:anywhere}
 .sce-page .sce-result-row {grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:13px 12px}
 .sce-page .sce-result-row b {line-height:1.4}
 .sce-page .sce-result-row>strong {text-align:right;font-size:16px}
 .sce-page .sce-result-row>strong small {display:block;margin:4px 0 0;white-space:normal}
 .sce-page .sce-result-card details {padding-left:10px;padding-right:10px}
 .sce-page .sce-party-result .sce-candidate-results {padding-left:8px;padding-right:8px}
 .sce-page .sce-result-unit>summary {overflow-wrap:anywhere}
 .sce-page .sce-result-unit>summary>span {float:none;display:block;margin:6px 0 0}
 .sce-page .sce-result-filter {flex-wrap:wrap}
 .sce-page .sce-result-filter select {width:100%;min-width:0;max-width:100%}
 .sce-page .sce-mandate-card>header>strong {flex-shrink:0}
 .sce-page .sce-mandate-dialog {box-sizing:border-box;max-width:calc(100% - 24px);overflow-wrap:anywhere}
 .sce-page .sce-mandate-dialog>header>div {min-width:0}
 .sce-page .sce-mandate-table,.sce-page .sce-mandate-candidate-scroll {overflow:visible}
 .sce-page .sce-mandate-table table,.sce-page .sce-mandate-candidate-table {display:block;width:100%;min-width:0;font-size:14px}
 /* Keep column headings available to assistive technology. */
 .sce-page .sce-mandate-table thead,.sce-page .sce-mandate-candidate-table thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .sce-page .sce-mandate-table tbody,.sce-page .sce-mandate-candidate-table tbody {display:block}
 .sce-page .sce-mandate-table tr {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:12px;padding:12px;border:1px solid #dfe5ec;border-radius:10px;background:#f8fafc;gap:12px 8px}
 .sce-page .sce-mandate-candidate-table tr {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px;padding:12px;border:1px solid #dfe5ec;border-radius:10px;background:#f8fafc;gap:12px 8px}
 .sce-page .sce-mandate-table td,.sce-page .sce-mandate-candidate-table td {display:block;min-width:0;padding:0;border:0;text-align:left;overflow-wrap:anywhere}
 .sce-page .sce-mandate-table td:first-child,.sce-page .sce-mandate-candidate-table td:first-child {grid-column:1/-1;min-width:0;padding-bottom:10px;border-bottom:1px solid #e2e8f0}
 .sce-page .sce-mandate-table td:first-child {display:flex}
 .sce-page .sce-mandate-party-button {min-width:0;overflow-wrap:anywhere}
 .sce-page .sce-mandate-table td:not(:first-child)::before,
 .sce-page .sce-mandate-candidate-table td:not(:first-child)::before {display:block;margin-bottom:6px;color:#627082;font-size:11px;font-weight:700;line-height:1.4}
 .sce-page .sce-mandate-table td:nth-child(2)::before {content:"Glasova"}
 .sce-page .sce-mandate-table td:nth-child(3)::before {content:"Direktni + komp."}
 .sce-page .sce-mandate-table td:nth-child(4)::before {content:"Mandati"}
 .sce-page .sce-mandate-table td:nth-child(5)::before {content:"2022."}
 .sce-page .sce-mandate-current,.sce-page .sce-mandate-history-line {display:flex;align-items:center;justify-content:flex-start;min-width:0}
 .sce-page .sce-mandate-trend {display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:0;border:0;background:transparent;font-size:12px}
 .sce-page .sce-mandate-trend em {min-width:0;padding-left:4px;border-left:1px solid currentColor;font-size:10px}
 .sce-page .sce-trend-icon {width:17px!important;height:17px!important;flex-basis:17px}
 .sce-page .sce-mandate-info--desktop {display:none}
 .sce-page .sce-mandate-info--mobile {display:grid;flex:0 0 22px;width:22px;height:22px;margin-left:auto}
 .sce-page .sce-mandate-table td:nth-child(2) small {display:block;margin-top:4px}
 .sce-page .sce-mandate-candidate-table td:nth-child(2)::before {content:"Jedinica"}
 .sce-page .sce-mandate-candidate-table td:nth-child(3)::before {content:"Glasovi"}
 .sce-page .sce-mandate-candidate-table td:nth-child(4)::before {content:"Mandat"}
 .sce-page .sce-mandate-kind {max-width:100%;padding:3px 5px}
}
