.wd-arch { padding-block: 1rem 3rem; }
.wd-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--wd-muted); margin-bottom: 1rem; }
.wd-crumbs a:hover { color: var(--wd-primary); }
.wd-arch__layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 2rem; align-items: start; }
.wd-arch__side { position: sticky; top: 90px; }
.wd-filter { border-bottom: 1px solid var(--wd-border); padding-block: .9rem; }
.wd-filter summary { cursor: pointer; list-style: none; display: flex; flex-direction: column; font-weight: 600; position: relative; padding-inline-end: 1.5rem; }
.wd-filter summary::-webkit-details-marker { display: none; }
.wd-filter summary::after { content: ""; position: absolute; inset-inline-end: 4px; top: .4rem; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.wd-filter[open] summary::after { transform: rotate(-135deg); }
.wd-filter small { font-weight: 400; color: var(--wd-muted); }
.wd-filter ul { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; gap: .1rem; }
.wd-filter li a { display: block; padding: .35rem 0; font-size: .95rem; color: var(--wd-muted); }
.wd-filter li a:hover, .wd-filter li a.is-on { color: var(--wd-primary); font-weight: 600; }
.wd-arch__title { font-size: 1.5rem; font-weight: 600; margin: 0 0 1.25rem; }
.wd-arch__title span { color: var(--wd-muted); font-weight: 400; }
.wd-arch__desc { color: var(--wd-muted); margin-bottom: 1.25rem; max-width: 70ch; }
.wd-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
.wd-grid .wd-rail__item { flex: none; width: auto; }
.wd-grid .wd-pcard__media { border-radius: 14px; }
.wd-arch__none { padding: 3rem 0; text-align: center; color: var(--wd-muted); }
.wd-pager { margin-top: 2.5rem; }
.wd-pager ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; }
.wd-pager a, .wd-pager span { display: grid; place-items: center; min-width: 40px; height: 40px; padding-inline: .6rem; border: 1px solid var(--wd-border); border-radius: 10px; }
.wd-pager .current { background: var(--wd-primary); border-color: var(--wd-primary); color: #fff; }
.wd-pager a:hover { border-color: var(--wd-primary); color: var(--wd-primary); }
@media (max-width: 900px) {
	.wd-arch__layout { grid-template-columns: 1fr; gap: 0; }
	.wd-arch__side { position: static; display: flex; gap: .75rem; margin-bottom: 1rem; overflow-x: auto; }
	.wd-filter { border: 1px solid var(--wd-border); border-radius: 999px; padding: .5rem 1rem; flex: 0 0 auto; position: relative; }
	.wd-filter summary { flex-direction: row; gap: .5rem; align-items: center; }
	.wd-filter small { display: none; }
	.wd-filter ul { position: absolute; z-index: 20; top: calc(100% + 6px); inset-inline-start: 0; min-width: 200px; background: #fff; border: 1px solid var(--wd-border); border-radius: 12px; padding: .5rem 1rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); margin: 0; }
	.wd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem .75rem; }
	.wd-arch__title { font-size: 1.25rem; }
}
.wd-more { display: block; margin: 2.25rem auto 0; padding: .85rem 2.5rem; border: 1px solid var(--wd-text); border-radius: 999px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.wd-more:hover { border-color: var(--wd-primary); color: var(--wd-primary); }
.wd-more.is-loading { opacity: .5; }
.wd-more[hidden] { display: none; }
