/* Homepage sidebar: search at top; Text Size + RSS relocated below book ads */
#rt-article-search .rt-desc,
.ct-search-form + p,
.ctsearch-results .page-header h1,
.ct-sidebar-relocated .rt-desc,
.ct-sidebar-relocated .module-title .title {
  color: #7b2b1e;
  font-weight: 700;
}

.ct-sidebar-search-form,
.ct-search-form {
  margin-top: 6px;
}

.ct-sidebar-search-input,
.ct-search-form .inputbox {
  width: 100%;
  max-width: 220px;
  box-sizing: border-box;
  margin-bottom: 8px;
}

.ct-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.ct-sidebar-search-button,
.ct-search-form .button,
.ct-search-scope-button {
  background: #6b2b17;
  color: #fff;
  border: 0;
  border-radius: 14px;
  padding: 6px 16px;
  cursor: pointer;
}

.ct-search-scope-button {
  background: #fff;
  color: #6b2b17;
  border: 2px solid #6b2b17;
  cursor: default;
}

.ct-sidebar-search-button:hover,
.ct-search-form .button:hover {
  background: #7a3320;
}

.ct-sidebar-relocated #rt-accessibility {
  margin-top: 8px;
}

/* Text Size +/- buttons: red circles with white symbols (match article pages) */
#rt-accessibility .rt-desc {
  float: left;
  margin-right: 8px;
  font-weight: bold;
}

#rt-accessibility #rt-buttons {
  float: left;
}

#rt-accessibility #rt-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  float: left;
  width: 20px;
  height: 20px;
  margin: 0 4px 0 0;
  border-radius: 50%;
  background: #751d09;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

#rt-accessibility #rt-buttons a .button {
  display: none !important;
  background: none !important;
}

#rt-accessibility #rt-buttons a.small::before {
  content: '−';
}

#rt-accessibility #rt-buttons a.large::before {
  content: '+';
}

#rt-accessibility #rt-buttons .small .button::after,
#rt-accessibility #rt-buttons .large .button::after {
  content: none !important;
}

.ct-sidebar-relocated.syndicate-module,
.ct-sidebar-relocated .syndicate-module {
  color: #7b2b1e;
}
