body { 
  background: #f5f5f5;
  font-family: 'Inter', sans-serif;
}

h2 {
  margin: 0;
}

#case-slide-container {
  max-width: 1200px;
  min-height: 500px;
  margin: 60px auto 40px auto;
  background: #ffe499;
  border: 4px solid #222;
  box-shadow: 12px 12px 0 #222;
  padding: 20px 48px;
  border-radius: 0;
  padding-top: 0;
}
.neo-btn:not(.clause-btn) {
  background: #fff;
  border: 3px solid #222;
  color: #222;
  font-weight: bold;
  font-size: 1.5rem;
  padding: 12px 32px;
  margin: 0 16px;
  box-shadow: 4px 4px 0 #222;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
}
#prev-case { left: 20px; }
#next-case { right: 20px; }
.case-attr-block {
  margin-bottom: 8px;
  font-size: 1.08em;
  display: block;
}
.case-attr-block {
  margin: 0;
}
.case-attr-label {
  font-weight: bold;
  color: #111;
}
.case-details {
  margin-top: 24px;
}
.case-detail-block {
  margin-bottom: 18px;
  padding: 1.5em;
  background: #f9f9f9;
  border: 2px solid #222;
  box-shadow: 2px 2px 0 #222;
  font-size: 1em;
}
.case-detail-label {
  font-weight: bold;
  color: #222;
  display: block;
  margin-bottom: .5em;
  border-bottom: dashed 2px #222;
}

.case-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #000000;
  margin-top: 1em;
  margin-bottom: 1em;
}

.case-title h2 {
  font-size: 3.5em;
  font-style: italic;
  padding-bottom: .5em;
  padding-top: .5em;
}

.case-year {
  font-size: 1.2em;
  padding-bottom: .5em;
  padding-top: .5em;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
  margin-top: 1em;
}

.title-and-elements {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.facts-block {
  width: 80%;
}

.facts-block ol li {
  padding: .5em;
}

#popup-window {
  font-family: 'Inter', Arial, sans-serif;
  background: #fff;
  border: 4px solid #222;
  box-shadow: 12px 12px 0 #222;
  border-radius: 0;
  z-index: 1000;
}
.popup-header {
  background: #ffe600;
  border-bottom: 2px solid #222;
  font-size: 1.2em;
  cursor: move;
  user-select: none;
}
.popup-content {
  padding: 16px;
}
.clause-btn {
  background: #fff;
  border: 3px solid #222;
  box-shadow: 4px 4px 0 #222;
  font-weight: bold;
  padding: 8px 16px;
  margin: 4px 0;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.2s;
  width: 80%;
}
.clause-btn:hover {
  background: #ffe600;
}
.case-attr-block ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.case-attr-block ul li {
    padding: .5em;
}