/* clean article list (html/com_content/category/default_articles.php) */
.st-list__search { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.st-list__search input[type="search"] { flex: 1 1 16rem; min-width: 0; min-height: 46px; padding: .4rem .9rem; border: 2px solid var(--st-primary); border-radius: 10px; background: var(--st-card); color: var(--st-text); font: inherit; }
.st-list__search select { flex: 0 1 15rem; min-width: 0; min-height: 46px; padding: .4rem .8rem; border: 2px solid var(--st-line); border-radius: 10px; background: var(--st-card); color: var(--st-text); font: inherit; }
.st-list__search button { min-height: 46px; padding: 0 1.3rem; border: 0; border-radius: 10px; background: var(--st-primary); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.st-list__search button:hover { background: var(--st-primary-dark); }
:root.st-contrast .st-list__search button { background: #000; color: #ffd400; border: 2px solid #ffd400; }
.st-list__new { margin: 0 0 .75rem; }
.st-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .75rem; }
.st-chips--months { margin-top: -.15rem; padding: .5rem .6rem; border-radius: 12px; background: var(--st-bg); }
.st .st-chips a { display: inline-flex; align-items: center; gap: .3rem; min-height: 40px; padding: .2rem .85rem; border: 1px solid var(--st-line); border-radius: 999px; background: var(--st-card); color: var(--st-primary); font-size: .9rem; font-weight: 600; text-decoration: none; }
.st .st-chips a:hover { background: #e8f0fa; }
.st .st-chips a[aria-current] { background: var(--st-primary); border-color: var(--st-primary); color: #fff; }
.st-chips__n { font-weight: 400; opacity: .8; }
:root.st-contrast .st .st-chips a[aria-current] { background: #ffd400; color: #000; border-color: #ffd400; }
.st-list__count { margin: 0 0 .6rem; color: var(--st-muted); font-size: .9rem; }
.st-list__rows { list-style: none; margin: 0 0 1.25rem; padding: 0; border: 1px solid var(--st-line); border-radius: 12px; overflow: hidden; }
.st-list__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem 1rem; padding: .7rem 1rem; border-top: 1px solid var(--st-line); }
.st-list__row:first-child { border-top: 0; }
.st-list__row:hover { background: #f1f6fc; }
:root.st-contrast .st-list__row:hover { background: #111; }
.st-list__row time { flex: none; width: 6.5em; color: var(--st-muted); font-size: .88rem; font-variant-numeric: tabular-nums; }
.st-list__row a { flex: 1 1 18rem; min-width: 0; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.st-list__row a:hover { text-decoration: underline; }
.st-badge { flex: none; padding: .05rem .55rem; border-radius: 6px; background: #eef2f7; color: var(--st-muted); font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
:root.st-contrast .st-badge { background: #000; color: #fff; border: 1px solid #fff; }
.st-list__empty { padding: 1rem; border: 1px dashed var(--st-line); border-radius: 10px; color: var(--st-muted); }
.st-pager { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.st .st-pager a, .st-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .8rem; border: 1px solid var(--st-line); border-radius: 8px; text-decoration: none; }
.st-pager span { border: 0; min-width: 0; padding: 0 .2rem; }
.st .st-pager a[aria-current] { background: var(--st-primary); border-color: var(--st-primary); color: #fff; }
@media (max-width: 575px) { .st-list__row time { width: auto; } }

/* subcategory cards (html/com_content/category/default_children.php) */
.st-subcats { margin: 0 0 1.5rem; }
.st-subcats__title { margin: 1.25rem 0 .75rem; font-size: .85rem; letter-spacing: .09em; text-transform: uppercase; color: var(--st-primary); }
.st-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .75rem; list-style: none; margin: 0; padding: 0; }
.st .st-card { display: flex; flex-direction: column; gap: .25rem; height: 100%; padding: .85rem 1rem .85rem 1.1rem; border: 1px solid var(--st-line); border-left: 5px solid var(--st-accent); border-radius: 12px; background: var(--st-card); color: var(--st-text); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.st .st-card:hover { transform: translateY(-2px); border-color: var(--st-primary); border-left-color: var(--st-primary); box-shadow: 0 8px 20px rgba(18, 53, 91, .15); }
.st-card__title { font-weight: 700; line-height: 1.3; color: var(--st-primary); overflow-wrap: anywhere; }
.st-card__meta { display: flex; flex-wrap: wrap; gap: .1rem .8rem; font-size: .85rem; color: var(--st-muted); }
:root.st-contrast .st-card__title { color: #fff; }
@media (prefers-reduced-motion: reduce) { .st .st-card { transition: none; } .st .st-card:hover { transform: none; } }
/* document type: label in the row of a list */
.st-type { flex: none; align-self: center; padding: .05rem .55rem; border-radius: 999px; background: #eaf1f9; color: var(--st-primary); font-size: .78rem; font-weight: 700; white-space: nowrap; }
:root.st-contrast .st-type { background: #000; border: 1px solid #fff; color: #fff; }
