.jusos-ideas-hero {
  padding-block: clamp(34px, 4.5vw, 68px);
  background: linear-gradient(110deg, #fff9f7 0%, #fff 54%, #ffe6e7 100%);
}
.jusos-ideas-hero h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.jusos-ideas-layout {
  display: grid;
  width: min(1500px, calc(100% - 48px));
  grid-template-columns: minmax(420px, 650px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 3vw, 44px);
  margin-block: clamp(18px, 3vw, 36px) 72px;
}
.jusos-ideas-form-card {
  padding: clamp(28px, 3.5vw, 48px);
  border: 1px solid #ded4d2;
  border-top: 6px solid #e30613;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(25, 15, 15, .07);
}
.jusos-ideas-section-label {
  margin-bottom: 12px;
  color: #e30613;
  font: 900 11px/1.3 Inter, sans-serif;
  letter-spacing: .13em;
}
.jusos-ideas-form-card h2,
.jusos-ideas-board h2 {
  margin: 0 0 12px;
  color: #111;
  font: 900 clamp(34px, 4vw, 56px)/.97 "Barlow Condensed", Impact, sans-serif;
  text-transform: uppercase;
}
.jusos-ideas-form-card > p { margin: 0 0 24px; color: #494545; }
.jusos-ideas-form-card form { display: grid; gap: 12px; }
.jusos-ideas-form-card form > label,
.jusos-ideas-form-card legend {
  color: #191616;
  font: 800 13px/1.4 Inter, sans-serif;
}
.jusos-ideas-form-card input[type="text"],
.jusos-ideas-form-card textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid #bdb4b1;
  border-radius: 4px;
  background: #fff;
  color: #171717;
  font: 15px/1.55 Inter, sans-serif;
}
.jusos-ideas-form-card textarea { resize: vertical; min-height: 130px; }
.jusos-ideas-form-card :is(input,textarea):focus-visible {
  outline: 3px solid rgba(227,6,19,.25);
  border-color: #e30613;
}
.jusos-ideas-form-card fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2px 0 7px;
  padding: 0;
  border: 0;
}
.jusos-ideas-form-card legend { margin-bottom: 10px; }
.jusos-ideas-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #ddd3d1;
  border-radius: 4px;
  color: #252020;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.jusos-ideas-choice:has(input:checked) { border-color: #e30613; background: #fff1f1; }
.jusos-ideas-choice input { accent-color: #e30613; }
.jusos-ideas-note { margin: 0 0 6px; color: #5b5655; font-size: 12px; line-height: 1.55; }
.jusos-ideas-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.jusos-ideas-board { min-width: 0; }
.jusos-ideas-tabs { display: flex; gap: 9px; flex-wrap: wrap; margin: 20px 0 28px; }
.jusos-ideas-tabs a {
  display: inline-flex;
  padding: 9px 15px;
  border: 1px solid #d8cfcd;
  border-radius: 3px;
  color: #282424;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.jusos-ideas-tabs a[aria-current="page"] { border-color: #e30613; background: #e30613; color: #fff; }
.jusos-ideas-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.jusos-idea-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 215px;
  padding: clamp(18px, 2.2vw, 27px);
  border: 1px solid #e6ddda;
  border-left: 5px solid #e30613;
  border-radius: 2px;
  background: #fffdf9;
  box-shadow: 0 7px 20px rgba(20,10,10,.055);
}
.jusos-idea-card:nth-child(4n+2) { background: #fff4f3; }
.jusos-idea-card:nth-child(4n+3) { background: #f9f7f4; }
.jusos-idea-card-top,.jusos-idea-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.jusos-idea-card-top time { color: #6a6360; font-size: 11px; }
.jusos-idea-tag { color: #d10818; font: 900 11px/1.2 Inter,sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.jusos-idea-text {
  flex: 1;
  margin: 21px 0;
  color: #171414;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.52;
  overflow-wrap: anywhere;
}
.jusos-idea-card-bottom { padding-top: 14px; border-top: 1px solid #e6ddda; color: #5b5552; font-size: 12px; font-weight: 700; }
.jusos-idea-card-bottom form { margin: 0; }
.jusos-idea-delete { padding: 5px 0; border: 0; background: transparent; color: #b20a19; font: 800 11px Inter,sans-serif; cursor: pointer; }
.jusos-idea-delete:hover { text-decoration: underline; }
.jusos-idea-edit { margin-top: 14px; border-top: 1px solid #e6ddda; padding-top: 12px; }
.jusos-idea-edit summary { color: #b20a19; font: 800 12px/1.4 Inter,sans-serif; cursor: pointer; }
.jusos-idea-edit form { display: grid; gap: 9px; margin-top: 15px; }
.jusos-idea-edit label { color: #292323; font-size: 12px; font-weight: 800; }
.jusos-idea-edit :is(input[type="text"],textarea,select) {
  width: 100%;
  max-width: 100%;
  padding: 10px 11px;
  border: 1px solid #bdb4b1;
  border-radius: 4px;
  background: #fff;
  color: #171717;
  font: 14px/1.5 Inter,sans-serif;
}
.jusos-idea-edit textarea { resize: vertical; }
.jusos-idea-edit .jusos-member-button { margin-top: 8px; }
body.jusos-dark .jusos-idea-edit { border-color: #4d3d3d; }
body.jusos-dark .jusos-idea-edit label { color: #f8f5f5; }
body.jusos-dark .jusos-idea-edit :is(input[type="text"],textarea,select) {
  border-color: #685454;
  background: #131111;
  color: #fff;
}
.jusos-ideas-pagination { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 25px; }
.jusos-ideas-pagination .page-numbers { padding: 8px 11px; border: 1px solid #ded4d2; color: #a10918; text-decoration: none; }
.jusos-ideas-empty { padding: 36px; border: 1px dashed #d8cbc8; color: #5b5552; }
#az2 .jusos-ideas-teaser .inner > p { max-width: 680px; margin: 0 0 22px; color: var(--muted, #555); font-size: clamp(14px,1.5vw,18px); }
#az2 .jusos-ideas-teaser .btn { display: inline-flex; text-decoration: none; }
@media (max-width: 1000px) { .jusos-ideas-layout { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .jusos-ideas-cards { grid-template-columns: 1fr; } .jusos-ideas-layout { width: min(100% - 28px, 1160px); } }
body.jusos-dark .jusos-ideas-hero { background: linear-gradient(110deg,#181314,#251416); }
body.jusos-dark .jusos-ideas-form-card,
body.jusos-dark .jusos-idea-card { background: #1b1919; border-color: #4d3d3d; }
body.jusos-dark .jusos-idea-card:nth-child(4n+2) { background: #251a1c; }
body.jusos-dark .jusos-ideas-form-card h2,
body.jusos-dark .jusos-ideas-board h2,
body.jusos-dark .jusos-ideas-form-card form > label,
body.jusos-dark .jusos-ideas-form-card legend,
body.jusos-dark .jusos-idea-text { color: #f8f5f5; }
body.jusos-dark .jusos-ideas-form-card > p,
body.jusos-dark .jusos-ideas-note,
body.jusos-dark .jusos-idea-card-bottom,
body.jusos-dark .jusos-idea-card-top time { color: #d2c8c8; }
body.jusos-dark .jusos-ideas-choice,
body.jusos-dark .jusos-ideas-tabs a { border-color: #5b4245; color: #eee; }
body.jusos-dark .jusos-ideas-choice:has(input:checked) { background: #462024; }
body.jusos-dark .jusos-ideas-form-card :is(input[type="text"],textarea) { background: #131111; border-color: #685454; color: #fff; }
