/* v2.2.4 - smaller homepage news cards + rich article editor */
.home-news-grid.home-news-size-small,.home-news-grid.home-news-size-mini,.home-news-grid.home-news-size-micro,.home-news-grid.home-news-size-custom{justify-items:center}
.home-news-grid.home-news-size-small .news-card,.home-news-grid.home-news-size-mini .news-card,.home-news-grid.home-news-size-micro .news-card,.home-news-grid.home-news-size-custom .news-card{width:100%;max-width:var(--home-news-card-max,300px);justify-self:center}
.home-news-grid.home-news-style-mini .news-card-body{padding:12px}.home-news-grid.home-news-style-mini .news-card h2{font-size:min(var(--home-news-title,21px),17px);line-height:1.25;margin:7px 0 5px}.home-news-grid.home-news-style-mini .news-card-meta{font-size:9px}.home-news-grid.home-news-style-mini .news-card p{font-size:12px;line-height:1.45;margin:5px 0 8px;-webkit-line-clamp:2}.home-news-grid.home-news-style-mini .news-card-foot{font-size:10px;padding-top:7px}
.home-news-grid.home-news-style-thumbnail .news-card{display:grid;grid-template-columns:92px minmax(0,1fr);min-height:92px}.home-news-grid.home-news-style-thumbnail .news-card-image{width:92px;height:100%;aspect-ratio:auto}.home-news-grid.home-news-style-thumbnail .news-card-image img{height:100%;min-height:92px;object-fit:cover}.home-news-grid.home-news-style-thumbnail .news-card-body{padding:10px 12px}.home-news-grid.home-news-style-thumbnail .news-card h2{font-size:min(var(--home-news-title,21px),16px);line-height:1.25;margin:5px 0}.home-news-grid.home-news-style-thumbnail .news-card p{display:none}.home-news-grid.home-news-style-thumbnail .news-card-foot{font-size:9px;padding-top:4px}.home-news-grid.home-news-style-thumbnail .news-card-meta{font-size:9px}
.home-news-grid.home-news-style-headline .news-card-image,.home-news-grid.home-news-style-headline .news-card p,.home-news-grid.home-news-style-headline .news-card-foot span{display:none!important}.home-news-grid.home-news-style-headline .news-card-body{padding:10px 12px}.home-news-grid.home-news-style-headline .news-card h2{font-size:min(var(--home-news-title,21px),15px);line-height:1.3;margin:4px 0}.home-news-grid.home-news-style-headline .news-card-meta{font-size:9px}.home-news-grid.home-news-style-headline .news-card-foot{padding-top:4px;font-size:9px}
.home-news-grid.home-news-box-glass .news-card{background:color-mix(in srgb,var(--panel) 66%,transparent)!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.home-news-grid.home-news-box-minimal .news-card{background:transparent!important;border-color:transparent!important;box-shadow:none!important}
.home-news-grid.home-news-size-mini .news-card-image,.home-news-grid.home-news-size-micro .news-card-image{max-height:130px}.home-news-grid.home-news-size-micro .news-card-body{padding:9px 10px}.home-news-grid.home-news-size-micro .news-card h2{font-size:min(var(--home-news-title,21px),14px);line-height:1.25}.home-news-grid.home-news-size-micro .news-card p{font-size:11px;-webkit-line-clamp:2}.home-news-grid.home-news-size-micro .news-card-meta,.home-news-grid.home-news-size-micro .news-card-foot{font-size:8px}
.news-body-editor{margin:14px 0}.news-body-editor-head{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}.news-body-editor-head label{min-width:190px;margin:0}.news-body-editor-head .field-help{max-width:440px}.news-plain-editor,.news-html-source,.news-rich-editor{width:100%;min-height:320px;border:1px solid var(--line);border-radius:12px;background:var(--panel2);color:var(--text);padding:14px;font:inherit;line-height:1.65;box-sizing:border-box}.news-rich-wrap[hidden],.news-plain-editor[hidden]{display:none!important}.news-rich-toolbar{display:flex;gap:6px;flex-wrap:wrap;padding:8px;border:1px solid var(--line);border-bottom:0;border-radius:12px 12px 0 0;background:color-mix(in srgb,var(--panel2) 82%,transparent)}.news-rich-toolbar button{min-width:34px;padding:6px 9px;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--text);cursor:pointer;font-size:12px}.news-rich-toolbar button:hover,.news-rich-toolbar button.active{border-color:var(--accent);color:var(--accent)}.news-rich-editor,.news-html-source{border-radius:0 0 12px 12px;outline:none}.news-rich-editor:focus,.news-plain-editor:focus,.news-html-source:focus{border-color:color-mix(in srgb,var(--accent) 70%,var(--line));box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 14%,transparent)}.news-rich-editor h1,.news-rich-editor h2,.news-rich-editor h3{margin:1em 0 .45em}.news-rich-editor p{margin:.7em 0}.news-rich-editor blockquote{border-left:3px solid var(--accent);padding-left:12px;color:var(--muted)}.news-rich-editor table{border-collapse:collapse;width:100%}.news-rich-editor td,.news-rich-editor th{border:1px solid var(--line);padding:6px}.saved-category-strip{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:8px 0 14px}.saved-category-strip span{display:inline-flex;padding:4px 8px;border:1px solid var(--line);border-radius:999px;font-size:10px;color:var(--muted);background:color-mix(in srgb,var(--panel2) 70%,transparent)}
.news-article-body table{width:100%;border-collapse:collapse;margin:18px 0}.news-article-body th,.news-article-body td{border:1px solid var(--line);padding:10px;text-align:left}.news-article-body blockquote{margin:18px 0;border-left:4px solid var(--accent);padding:10px 16px;background:color-mix(in srgb,var(--accent) 6%,transparent)}.news-article-body hr{border:0;border-top:1px solid var(--line);margin:24px 0}
@media(max-width:680px){.home-news-grid.home-news-size-small,.home-news-grid.home-news-size-mini,.home-news-grid.home-news-size-micro,.home-news-grid.home-news-size-custom{grid-template-columns:1fr!important}.home-news-grid.home-news-size-small .news-card,.home-news-grid.home-news-size-mini .news-card,.home-news-grid.home-news-size-micro .news-card,.home-news-grid.home-news-size-custom .news-card{max-width:min(100%,var(--home-news-card-max,300px))}.news-body-editor-head{align-items:stretch}.news-body-editor-head label{width:100%}.news-rich-toolbar{gap:4px}.news-rich-toolbar button{padding:6px 7px}}

.home-news-grid.home-news-style-list{grid-template-columns:1fr!important}.home-news-grid.home-news-style-list .news-card{max-width:var(--home-news-card-max,100%)}
