.edital-page { background: #f7faff; }
.edital-page .page-hero { padding-top: clamp(54px, 7vw, 88px); padding-bottom: clamp(48px, 6vw, 76px); }
.edital-page .page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); }
.edital-page .edital-address { margin-bottom: 18px; font-weight: 700; }
.edital-download { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 22px 24px; border: 1px solid var(--line); border-left: 5px solid var(--green); border-radius: 12px; background: #fff; box-shadow: 0 12px 34px rgba(16, 34, 63, .07); }
.edital-download p { margin: 5px 0 0; color: var(--muted); line-height: 1.6; }
.edital-download strong { color: var(--blue); }
.edital-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.edital-actions .btn { white-space: nowrap; }
.edital-download .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.edital-content { display: block; padding-top: 42px; }
.edital-content > article { max-width: 920px; margin: 0 auto; padding: clamp(24px, 5vw, 54px); border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 18px 48px rgba(16, 34, 63, .07); }
.edital-content article > h2 { margin-top: 46px; padding-bottom: 13px; border-bottom: 1px solid var(--line); color: var(--blue); font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.2; scroll-margin-top: 100px; }
.edital-content article > h2:first-child { margin-top: 0; }
.edital-content article > h3 { margin-top: 27px; color: var(--blue); font-size: 1.1rem; }
.edital-content article p, .edital-content article li { color: var(--muted); font-size: .97rem; line-height: 1.8; }
.edital-content article p { margin-bottom: 16px; }
.edital-content article ul { padding-left: 23px; }
.edital-content article li::marker { color: var(--green); }
.edital-schedule-wrap { overflow-x: auto; margin: 20px 0 28px; border: 1px solid var(--line); border-radius: 10px; }
.edital-schedule { width: 100%; min-width: 700px; border-collapse: collapse; text-align: left; }
.edital-schedule caption { padding: 14px 16px; background: var(--light); color: var(--blue); font-weight: 800; text-align: left; }
.edital-schedule th, .edital-schedule td { padding: 15px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); line-height: 1.6; }
.edital-schedule thead { background: var(--blue); }
.edital-schedule thead th { color: #fff; font-size: .85rem; }
.edital-schedule tbody th { color: var(--ink); font-weight: 700; }
.edital-schedule tr:last-child > * { border-bottom: 0; }
.edital-criteria { display: grid; gap: 10px; margin-top: 20px; padding: 0; list-style: none; counter-reset: criteria; }
.edital-criteria li { counter-increment: criteria; position: relative; min-height: 48px; padding: 12px 16px 12px 58px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdff; }
.edital-criteria li::before { content: counter(criteria, lower-alpha) ")"; position: absolute; left: 20px; color: var(--green); font-weight: 900; }
.edital-score { margin-top: 22px; padding: 18px 20px; border-radius: 10px; background: var(--light); color: var(--blue) !important; font-weight: 800; }
@media (max-width: 760px) {
  .edital-download { grid-template-columns: 1fr; }
  .edital-download .btn { width: 100%; }
}
