.hackathon-page .edital-hero { min-height: 0; align-items: start; }
.hackathon-page .edital-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.hackathon-page .edital-hero p { font-size: 1rem; }
.hackathon-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }
.hackathon-actions a { white-space: normal; }
.hackathon-actions .is-secondary { color: #fffdf8; border: 1px solid #64828f; background: #102536; }
.hackathon-actions .is-secondary:hover { background: #18394c; border-color: #35d6e5; }
.hackathon-materials {
  width: min(100% - 40px, 1320px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  scroll-margin-top: 100px;
}
.hackathon-materials h2 { color: #fffdf8; font: 800 clamp(1.5rem, 3vw, 2.2rem)/1.25 var(--xp-display); margin: 12px 0; letter-spacing: -.035em; }
.hackathon-materials p { color: #c6d4dc; font-size: .95rem; line-height: 1.7; margin: 0; }
.hackathon-materials p + p { margin-top: 12px; }
.hackathon-materials p a { color: #6be8f2; font-weight: 700; text-underline-offset: 3px; }
.hackathon-resource-links { display: grid; gap: 12px; }
.hackathon-resource-links a {
  display: block;
  color: #fffdf8;
  text-decoration: none;
  font-weight: 800;
  padding: 20px;
  border: 1px solid #3d5b6b;
  border-radius: 16px;
  background: #0b1d2a;
}
.hackathon-resource-links a:hover { border-color: var(--xp-cyan); }
.hackathon-resource-links span { color: var(--xp-cyan); }
.hackathon-resource-links small { display: block; color: #c6d4dc; font-size: .8rem; line-height: 1.5; font-weight: 500; margin-top: 6px; }
.hackathon-page .edital-paper-header h2 { font-size: clamp(1.75rem, 3.5vw, 3rem); line-height: 1.16; letter-spacing: -.035em; }
.hackathon-page .edital-article h3 { font-size: clamp(1.3rem, 2.1vw, 1.9rem); line-height: 1.3; letter-spacing: -.025em; }
.hackathon-page .edital-paper a { color: #075f73; text-underline-offset: 4px; font-weight: 750; }
.hackathon-schedule { width: 100%; border-collapse: collapse; table-layout: fixed; color: #152b3b; font-size: .92rem; line-height: 1.6; }
.hackathon-schedule caption { text-align: left; font-weight: 750; padding: 12px 0; }
.hackathon-schedule th, .hackathon-schedule td { border: 1px solid #b9ccd4; padding: 12px; vertical-align: top; overflow-wrap: anywhere; }
.hackathon-schedule th:first-child { width: 76px; }
.hackathon-schedule thead { background: #d9ebef; }
.hackathon-schedule tbody tr:nth-child(even) { background: rgba(217, 235, 239, .4); }
.hackathon-organizers { color: #334e60; font-size: .8rem; line-height: 1.65; margin-top: 30px; }
.hackathon-page #edital { scroll-margin-top: 100px; }
@media (max-width: 760px) {
  .hackathon-materials { grid-template-columns: minmax(0, 1fr); width: calc(100% - 32px); }
  .hackathon-actions { flex-direction: column; align-items: stretch; }
  .hackathon-actions a { justify-content: center; text-align: center; }
  .hackathon-page .edital-hero-card { min-width: 0; }
  .hackathon-schedule th, .hackathon-schedule td { padding: 10px 8px; }
  .hackathon-schedule th:first-child { width: 58px; }
}
@media print {
  .hackathon-page .experience-header, .hackathon-page .edital-hero,
  .hackathon-materials, .hackathon-page .edital-toc, .hackathon-page .experience-footer,
  .hackathon-page .skip-link, .hackathon-page .scroll-progress { display: none !important; }
  .hackathon-page, .hackathon-page .edital-paper { color: #132b3b; background: #fff; }
  .hackathon-page .edital-document-section { display: block; width: 100%; padding: 0; }
  .hackathon-page .edital-paper { box-shadow: none; border: 0; padding: 0; }
  .hackathon-page .edital-paper::before { display: none; }
  .hackathon-page .edital-article { padding: 18px 0; }
  .hackathon-page h3 { break-after: avoid; }
}
