/* BodyTest skin over Twenty Sixteen (added by build/05_skin.py). Colours from the BodyTest logo. */
:root {
  --bt-orange: #e8730c;
  --bt-orange-dark: #b9580a;
  --bt-green: #9cc23f;
  --bt-ink: #2a2e33;
  --bt-muted: #6a717a;
  --bt-line: #e3e6ea;
  --bt-bg: #f4f6f8;
  --bt-card: #ffffff;
}

/* Page frame: drop the black border, light background, white content panel */
body, body:not(.custom-background-image):before, body:not(.custom-background-image):after { background: var(--bt-bg); }
body:not(.custom-background-image):before, body:not(.custom-background-image):after { display: none; }
.site { margin: 0 auto; max-width: 1240px; background: transparent; }
.site-inner { max-width: none; }
body { color: var(--bt-ink); }

/* Header bar */
.site-header { background: var(--bt-card); border-bottom: 3px solid var(--bt-orange); padding: 14px 4.5% !important; }
.site-header-main { align-items: center; }
.site-branding { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; margin: 0; }
.site-branding { margin-right: 32px !important; }
.site-branding .bt-logo { grid-row: span 2; }
.site-branding .site-title { align-self: end; }
.site-branding .site-description { align-self: start; }
.bt-logo img { display: block; width: 58px; height: 58px; border-radius: 8px; }
.site-title { font-size: 1.35rem; margin: 0; }
.site-title a { color: var(--bt-ink); }
.site-title a:hover, .site-title a:focus { color: var(--bt-orange); }
.site-description { color: var(--bt-muted); margin: 2px 0 0; display: block; }
.main-navigation a { color: var(--bt-ink); font-weight: 600; }
.main-navigation a:hover, .main-navigation a:focus,
.main-navigation .current-menu-item > a { color: var(--bt-orange); }

/* Content panel + sidebar as cards */
.site-content { padding: 32px 4.5% 0 !important; }
.content-area > .site-main > article,
.content-area > .site-main > .page-header,
.content-area > .site-main > .error-404 {
  background: var(--bt-card); border: 1px solid var(--bt-line); border-radius: 12px;
  padding: 32px 36px; margin-bottom: 28px; box-shadow: 0 1px 3px rgba(20, 30, 40, .04);
}
.entry-header, .page-header { margin: 0 0 18px !important; }
.page-header { border-top: 0 !important; padding-top: 0 !important; }
.entry-title, .page-title { font-size: 2rem; line-height: 1.25; color: var(--bt-ink); }
/* Twenty Sixteen pushes text 25% right on wide screens; use the full panel width */
.entry-content, .entry-summary, .entry-footer { margin-left: 0 !important; margin-right: 0 !important; width: auto !important; max-width: 760px; }
.entry-content h2, .entry-content h3 { color: var(--bt-ink); }
.entry-content img { border-radius: 6px; }

.sidebar .widget { background: var(--bt-card); border: 1px solid var(--bt-line); border-top: 3px solid var(--bt-green);
  border-radius: 12px; padding: 18px 20px; margin-bottom: 20px; }
.sidebar .widget-title { color: var(--bt-ink); letter-spacing: .06em; margin-bottom: 10px; }
.sidebar ul.widget_links { margin: 0; padding: 0; list-style: none; }
.sidebar .widget_links li { margin: 0; padding: 5px 0; border-bottom: 1px solid var(--bt-line); line-height: 1.4; }
.sidebar .widget_links li:last-child { border-bottom: 0; }

/* Links */
a { color: var(--bt-orange-dark); }
a:hover, a:focus, a:active { color: var(--bt-orange); }
.entry-content a, .entry-summary a { box-shadow: 0 1px 0 0 currentColor; }
.tagcloud a { border-color: var(--bt-line); border-radius: 999px; padding: .35em .8em; color: var(--bt-muted); }
.tagcloud a:hover, .tagcloud a:focus { border-color: var(--bt-orange); color: #fff; background: var(--bt-orange); }

/* Footer */
.site-footer { padding: 20px 4.5% 28px !important; color: var(--bt-muted); }

/* Home page */
.bt-lead { font-size: 1.125rem; color: var(--bt-muted); margin-bottom: 1.4em; }
.bt-start { display: block; background: #fff6ec; border: 1px solid #f6d3ad; border-left: 5px solid var(--bt-orange);
  border-radius: 10px; padding: 16px 20px; margin: 0 0 26px; }
.bt-start strong { color: var(--bt-orange-dark); }
.bt-start a { font-weight: 700; }
.bt-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.bt-card { border: 1px solid var(--bt-line); border-radius: 12px; padding: 18px 20px; background: var(--bt-card); }
.bt-card h2 { font-family: Montserrat, "Helvetica Neue", sans-serif; font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin: 0 0 6px; }
.bt-card h2 span { display: table; min-width: 2.6em; margin: 0 0 8px; padding: 2px 9px; border-radius: 6px; letter-spacing: .04em;
  background: var(--bt-orange); color: #fff; font-size: .85em; text-align: center; }
.bt-card.bt-green h2 span { background: var(--bt-green); }
.bt-card.bt-gray h2 span { background: var(--bt-muted); }
.bt-card p { color: var(--bt-muted); font-size: .95rem; margin: 0 0 10px; }
.bt-card ul { margin: 0; padding: 0; list-style: none; }
.bt-card li { padding: 6px 0; border-top: 1px solid var(--bt-line); line-height: 1.4; }
.entry-content .bt-card a { box-shadow: none; font-weight: 400; }
.bt-card li { font-size: .97rem; }
.entry-content .bt-card a:hover { box-shadow: 0 1px 0 0 currentColor; }

@media (max-width: 909px) {
  .content-area > .site-main > article, .content-area > .site-main > .page-header,
  .content-area > .site-main > .error-404 { padding: 22px 20px; }
  .site-content, .site-header, .site-footer { padding-left: 16px !important; padding-right: 16px !important; }
  .bt-logo img { width: 46px; height: 46px; }
  .sidebar { padding-left: 0 !important; padding-right: 0 !important; }
}
