.fieldname-form\.widgets\.IRichTextBehavior\.text textarea.form-control {
  min-height: 500px;
}

#formfield-form-widgets-ISubjects-subjects.widget-mode-display {
  display: none;
}

#formfield-form-widgets-IRichTextBehavior-text > .widget-label {
  display: none;
}

#content-core > .entries > .row:nth-child(odd) {
  background-color: #f5f5f5;
}

#folder-listing > .entries > .entry:nth-child(odd) {
  background-color: #f5f5f5;
}

.section-graveyard,
.tag-archived,
.tag-deprecated,
.tag-obsolete,
.tag-outdated {
  #main-container {
    position: relative;
  }

  #main-container::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background: #facc15;
    -webkit-mask: url("++plone++bootstrap-icons/exclamation-triangle.svg")
      repeat;
    -webkit-mask-size: 6em 6em;
    mask: url("++plone++bootstrap-icons/exclamation-triangle.svg");
    mask-size: 4em 4em;
    mask-repeat: repeat space;
    opacity: 0.2;
  }
}

.entries {
  .card-title {
    font-weight: bold;
  }

  .card {
    xborder: none;

    a {
      text-decoration: none;
    }

    .card-title {
      background-color: #007bb1;
      color: #f5f5f5;
      margin-left: -0.75rem;
      margin-right: -0.75rem;
      padding: 0.75rem;
    }
  }
}

.portletWrapper .portletNavigationTree .card-body .navTreeCurrentNode > a {
  background-color: #007bb1;
  color: #f5f5f5;
}

.userrole-authenticated {
  .field {
    padding: 0.5rem;
    border-radius: var(--bs-border-radius);

    &:focus-within {
      border-color: #80bdd8;
      outline: 0;
      box-shadow: 0 0 0 0.25rem rgba(0, 123, 177, 0.25);
    }

    .form-label {
      margin-bottom: 0;
      font-size: 1.2rem;
      font-weight: 400;
    }

    .form-text {
      font-size: 1rem;
      margin: 0;
    }
  }
}

.widget-mode-display.empty {
  display: none;
}

.list-group-item:is(
  .tagged-obsolete,
  .tagged-deprecated,
  .tagged-outdated,
  .tagged-archived,
  .tagged-retired
) {
  opacity: 0.5;
}

.btn:is(
  .btn-obsolete,
  .btn-deprecated,
  .btn-retired,
  .btn-outdated,
  .btn-archived
) {
  color: #000;
  border-color: #facc15;
}

.btn[class*="btn-plone"]::before {
  content: "♥";
  padding-right: 0.25rem;
}

.btn[class*="btn-python"]::before {
  content: "🐍";
  padding-right: 0.25rem;
}

.btn[class*="btn-pysec"]::before {
  content: "🐞";
  padding-right: 0.25rem;
}

.table-caption-top {
  caption-side: top;
  caption {
    color: #f5f5f5;
    background-color: #007bb1;
    caption-side: top;
    text-align: left;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 0.5rem;

    a {
      color: #f5f5f5;
      text-decoration: none;
    }
  }
}
