/*
  Site overrides for the Mainroad theme.

  Palette
    accent (links, tagline, active menu)  #4b5694  (config.toml: highlightColor)
    navy (menu bar, buttons, footer)      #2e2e4e
    gold (thin lines only, never text)    #dad97d
    text                                  #17171f
    page / panel / note background        #fcfcfe / #f3f5fa / #eef0f6
    border gray                           #c0c8dc
*/

/* Mainroad uppercases .logo__text; keep product names such as nRF91 as written. */
.logo__tagline {
	text-transform: none;
	/* The theme uses line-height: 1; give wrapped lines room. */
	line-height: 1.5;
}

/* Each sentence of the tagline wraps as a unit (see layouts/partials/logo.html). */
.logo__tagline-part {
	display: inline-block;
}

/* Text and backgrounds */
body {
	color: #17171f;
	background: #f3f5fa;
}

.wrapper {
	background: #fcfcfe;
}

h1, h2, h3, h4, h5, h6,
a,
pre,
.logo__title {
	color: #17171f;
}

/* Pagination: white text on navy (prev/next) and accent blue (current page) */
.pagination__item,
.pagination__item:hover {
	color: #fff;
}

/* Navy bars: menu, buttons, tags, TOC title, footer */
.menu__list,
.menu__btn,
.btn,
kbd,
.tags__item,
.toc__title,
input[type=submit],
input[type=reset],
.footer {
	background: #2e2e4e;
}

/* Gold line under the menu bar (desktop), as in the reference design */
@media screen and (min-width: 767px) {
	.menu {
		border-bottom: 3px solid #dad97d;
	}
}

.footer {
	color: #c0c8dc;
	border-top: 3px solid #dad97d;
}

/* Panels and borders */
.widget-search__form,
pre {
	background: #eef0f6;
}

table,
td,
th {
	border-color: #c0c8dc;
}
