/* Resource Edit landing page (/resource-edit) */

.re-collage {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}

.re-collage-top,
.re-collage-bottom {
  flex: 1;
  min-height: 220px;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}

.re-highlights {
  max-width: 420px;
  margin: 30px auto 40px;
  padding: 0;
  list-style: none;
  text-align: center;
}

.re-highlights li {
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
  font-weight: 600;
}

.re-highlights li:before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #00aeef;
  font-weight: 700;
}

#re-form-panel,
#re-success-panel {
  display: none;
}

#re-form-panel.active,
#re-success-panel.active {
  display: block;
}

.re-benefits {
  max-width: 560px;
  margin: 30px auto 10px;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 30px;
}

.re-benefits li {
  margin-bottom: 14px;
  padding-left: 24px;
  position: relative;
  break-inside: avoid;
}

.re-benefits li:before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #00aeef;
  font-weight: 700;
}

.re-question {
  margin-bottom: 35px;
}

.re-question-title {
  margin-bottom: 15px;
  font-size: 15px;
  font-weight: 700;
}

.re-question-hint {
  color: #888;
  font-weight: 400;
  text-transform: none;
}

.re-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.re-option {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 9px 18px;
  border: 1px solid #ccc;
  border-radius: 30px;
  background-color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.re-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.re-option:hover {
  border-color: #00aeef;
}

.re-option input:checked + span {
  font-weight: 700;
}

.re-option:has(input:checked),
.re-option.re-option-checked {
  border-color: #000;
  background-color: #000;
  color: #fff;
}

.re-option.re-option-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.re-form-error {
  margin-top: 15px;
  color: crimson;
  text-align: center;
}

.re-form-section {
  padding-bottom: 60px;
}

#re-submit {
  margin-bottom: 20px;
}

.re-success-section {
  padding-top: 60px;
  padding-bottom: 80px;
}

.re-success-section .button {
  margin-top: 20px;
}

@media (max-width: 767px) {
  .re-benefits {
    columns: 1;
  }
}
