/* === Search bar styling === */
form#searchform {
  border: 2px solid #843b3d;
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
}

#searchButton,
.cdx-button.cdx-search-input__end-button input {
  background-color: #843b3d !important;
  color: white !important;
}

/* === Button styles === */
.mw-ui-button,
.oo-ui-buttonElement-button {
  background-color: #843b3d !important;
  color: #fff !important;
  border: 1px solid #843b3d !important;
}

.mw-ui-button:hover {
  background-color: #6d2f31 !important;
}

/* === Link hover effect === */
a:hover {
  color: #843b3d;
}

/* === Tab border styling === */
.vector-tab,
.vector-tab a {
  border-color: #843b3d !important;
}

/* === Welcome box layout === */
.mainpage-welcome-box {
  background-color: #f4e9e3;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1.5em 2em;
  margin-bottom: 2em;
  text-align: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* === DynamicPageList sections === */
.mainpage-dynamic-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
  margin-bottom: 2em;
}

.mainpage-dynamic-column {
  flex: 1 1 300px;
  min-width: 250px;
}

/* === Featured article section === */
.mainpage-featured {
  text-align: center;
  margin: 2em auto;
}

/* === Headings and typography === */
.mainpage-featured h2,
.mainpage-dynamic-column h2 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* === Optional container layout === */
/* Uncomment below if needed, but avoid narrowing header layout too much */
/*
.vector-body {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
*/

/* === Hide category tags at bottom === */
.catlinks {
  display: none;
}