/* 2026-09-24: header, FAQ inline editing, and admin brand refinements */
.site-header {
  background-color: #e9f619 !important;
}

/* Keep the inline admin edit control out of the question text grid. */
#faqSection .public-row > .public-row-edit,
#noticeSection .public-row > .public-row-edit {
  position: absolute !important;
  right: 44px !important;
  top: 50% !important;
  z-index: 6 !important;
  display: inline-flex !important;
  width: auto !important;
  min-width: 48px !important;
  height: auto !important;
  min-height: 30px !important;
  grid-template-columns: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 5px 9px !important;
  transform: translateY(-50%) !important;
  border: 1px solid #0b6a60 !important;
  border-radius: 8px !important;
  background: #07584f !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
}

#faqSection .public-row > .public-row-edit::after,
#noticeSection .public-row > .public-row-edit::after {
  content: none !important;
}

#faqSection .public-row summary {
  padding-right: 112px !important;
  line-height: 1.45 !important;
}

@media (max-width: 720px) {
  #faqSection .public-row > .public-row-edit,
  #noticeSection .public-row > .public-row-edit {
    right: 42px !important;
    top: 50% !important;
    min-width: 44px !important;
    min-height: 28px !important;
    padding: 4px 7px !important;
    transform: translateY(-50%) !important;
  }

  #faqSection .public-row summary {
    padding-right: 98px !important;
  }
}

.admin-brand {
  line-height: 1.35;
  word-break: keep-all;
}

/* Give the two lower quick-link cards more breathing room and center their copy vertically. */
.middle-link-banner {
  position: relative;
  display: flex !important;
  height: 115px !important;
  min-height: 115px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 82px !important;
  text-align: center;
}

.middle-link-banner-copy {
  height: 100%;
  align-content: center;
  justify-items: center;
}

.middle-link-banner-arrow {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 820px) {
  .middle-link-banner {
    height: 97px !important;
    min-height: 97px !important;
    padding: 12px 64px !important;
  }

  .middle-link-banner-arrow {
    right: 20px;
  }
}

@media (max-width: 480px) {
  .middle-link-banner {
    height: 93px !important;
    min-height: 93px !important;
    padding-inline: 56px !important;
  }

  .middle-link-banner-arrow {
    right: 14px;
  }
}
