.seg-archive {
	--seg-primary: #dd3333;
	--seg-primary-dark: #b52828;
	--seg-border: #dddddd;
	--seg-muted: #666666;
	--seg-surface: #f2f2f2;
	color: #333333;
	font-family: inherit;
	margin: .75rem 0 1.25rem;
}

.seg-header { margin-bottom: .7rem; }
.seg-heading { color: var(--seg-primary-dark); font-size: clamp(1.5rem, 4vw, 2rem); margin: 0 0 .35rem; }
.seg-intro { color: var(--seg-muted); margin: 0; }
.seg-tools { background: var(--seg-surface); border: 1px solid var(--seg-border); border-radius: 0; margin-bottom: .85rem; padding: .7rem; }
.seg-search-label { display: block; font-weight: 700; margin-bottom: .3rem; }
.seg-search-wrap { position: relative; }
.seg-search {
	background: #fff !important;
	border: 1px solid #cccccc !important;
	border-radius: 0 !important;
	box-sizing: border-box;
	font-size: .95rem !important;
	height: 38px;
	padding: .45rem .75rem .45rem 2.35rem !important;
	width: 100%;
}
.seg-search:focus { border-color: var(--seg-primary) !important; box-shadow: 0 0 0 2px rgba(221,51,51,.14); outline: 0; }
.seg-search-icon { border: 2px solid var(--seg-muted); border-radius: 50%; height: 11px; left: .75rem; position: absolute; top: 10px; width: 11px; z-index: 1; }
.seg-search-icon::after { background: var(--seg-muted); content: ''; height: 2px; position: absolute; right: -7px; top: 11px; transform: rotate(45deg); width: 8px; }
.seg-year-filters { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .6rem; }
.seg-filter { background: #fff; border: 1px solid var(--seg-border); border-radius: 0; color: #555; cursor: pointer; font: inherit; font-weight: 700; line-height: 1; padding: .5rem .7rem; }
.seg-filter:hover, .seg-filter:focus-visible { border-color: var(--seg-primary); }
.seg-filter.is-active { background: var(--seg-primary); border-color: var(--seg-primary); color: #fff; }
.seg-year { border: 1px solid var(--seg-border); border-radius: 0; box-shadow: none; margin-bottom: .55rem; overflow: hidden; }
.seg-year > summary, .seg-month > summary { align-items: center; cursor: pointer; display: flex; gap: 1rem; justify-content: space-between; list-style: none; }
.seg-year > summary::-webkit-details-marker, .seg-month > summary::-webkit-details-marker { display: none; }
.seg-year > summary { background: var(--seg-primary); color: #fff; font-size: 1.05rem; font-weight: 700; padding: .65rem .8rem; }
.seg-year > summary::before, .seg-month > summary::before { border-bottom: 2px solid currentColor; border-right: 2px solid currentColor; content: ''; flex: 0 0 auto; height: 7px; order: 3; transform: rotate(45deg); transition: transform .2s ease; width: 7px; }
.seg-year[open] > summary::before, .seg-month[open] > summary::before { transform: rotate(225deg); }
.seg-summary-title { margin-right: auto; }
.seg-count { font-size: .82rem; font-weight: 600; opacity: .88; white-space: nowrap; }
.seg-months { background: #fff; padding: .55rem; }
.seg-month { border: 1px solid var(--seg-border); border-radius: 0; margin-bottom: .4rem; overflow: hidden; }
.seg-month:last-child { margin-bottom: 0; }
.seg-month > summary { background: var(--seg-surface); color: #444; font-size: 1rem; font-weight: 700; padding: .5rem .7rem; }
.seg-editions { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.seg-edition { border-top: 1px solid var(--seg-border); margin: 0 !important; }
.seg-edition a { align-items: center; color: #333; display: flex; gap: .7rem; padding: .55rem .7rem; text-decoration: none !important; transition: background-color .15s ease; }
.seg-edition a:hover, .seg-edition a:focus-visible { background: #f7f7f7; color: var(--seg-primary-dark); }
.seg-edition-icon { border: 2px solid var(--seg-primary); border-radius: 0; box-sizing: border-box; flex: 0 0 16px; height: 19px; position: relative; width: 16px; }
.seg-icon-jornal::before { border-bottom: 2px solid var(--seg-primary); border-top: 2px solid var(--seg-primary); content: ''; height: 4px; left: 3px; position: absolute; top: 4px; width: 8px; }
.seg-icon-jornal::after { background: var(--seg-primary); box-shadow: 0 4px 0 var(--seg-primary); content: ''; height: 2px; left: 3px; position: absolute; top: 12px; width: 8px; }
.seg-icon-documento::before { background: var(--seg-primary); box-shadow: 0 4px 0 var(--seg-primary), 0 8px 0 var(--seg-primary); content: ''; height: 2px; left: 3px; position: absolute; top: 4px; width: 8px; }
.seg-edition-info { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.seg-edition-info strong { font-size: .95rem; line-height: 1.25; }
.seg-edition-info time { color: var(--seg-muted); font-size: .82rem; margin-top: .15rem; }
.seg-link-arrow { border-right: 2px solid var(--seg-primary); border-top: 2px solid var(--seg-primary); flex: 0 0 auto; height: 7px; transform: rotate(45deg); width: 7px; }
.seg-empty, .seg-empty-static { background: var(--seg-surface); border: 1px dashed #aaa; border-radius: 0; padding: 1.25rem; text-align: center; }
.seg-empty strong, .seg-empty span { display: block; }
.seg-empty span { color: var(--seg-muted); margin-top: .3rem; }
.seg-archive [hidden] { display: none !important; }

@media (max-width: 600px) {
	.seg-tools, .seg-months { padding: .5rem; }
	.seg-year > summary { padding: .6rem .65rem; }
	.seg-edition a { padding: .5rem .6rem; }
	.seg-filter { padding: .45rem .6rem; }
}

@media (prefers-reduced-motion: reduce) {
	.seg-archive * { scroll-behavior: auto !important; transition: none !important; }
}
