/* buzznumbershq.com rebuild: the 2012-2014 BuzzNumbers look (dark header, four service tabs, light cards). No JavaScript. */
:root {
  --ink: #2b2f33;
  --muted: #6d7680;
  --line: #dcdfe3;
  --link: #1f7fb6;
  --blue: #6ac3dd;
  --orange: #f2a122;
  --green: #97cf26;
  --red: #e11b49;
  --card: linear-gradient(#ffffff, #f3f3f3);
  --head: 'Trebuchet MS', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: #fff; }
body {
  margin: 0;
  font: 14px/1.6 Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff url(../img/bg_top.png) repeat-x;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--link); }
a:hover { color: #0b5884; }
.wrap { max-width: 1170px; margin: 0 auto; padding: 0 16px; }

/* header */
.top { height: 240px; background: url(../img/flair.png) no-repeat center 60px; }
.top .wrap { position: relative; padding-top: 18px; }
.logo { display: inline-block; }
.logo img { display: block; }
.tagline {
  margin: 22px 0 0; color: #fff; font: bold 31px/1.2 var(--head);
  text-shadow: 0 2px 3px #000;
}
.blogbtn {
  position: absolute; right: 16px; top: 28px;
  padding: 6px 18px 7px; border-radius: 4px; color: #fff; text-decoration: none; font: bold 15px var(--head);
  background: linear-gradient(#f7941d, #e0640c); border: 1px solid #c85a0a; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset;
}
.blogbtn:hover { color: #fff; background: linear-gradient(#ffa133, #e86f12); }

/* service tabs */
.tabs { margin-top: -60px; }
.tabs .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.tab {
  display: block; position: relative; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid #fff; border-radius: 3px 3px 0 0;
  padding: 10px 20px 0; box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}
.tab .t {
  display: block; font: 22px/24px var(--head); padding: 6px 0 15px; border-bottom: 4px solid; margin-right: -20px; color: #555;
}
.tab.blue .t { border-color: var(--blue); }
.tab.orange .t { border-color: var(--orange); }
.tab.green .t { border-color: var(--green); }
.tab.red .t { border-color: var(--red); }
.tab:hover .t, .tab.on .t { color: #111; }
.inner .tab { box-shadow: none; }
.inner .tab.on { background: #fff; }
.home .tab { height: 282px; border-radius: 3px; padding-bottom: 20px; }
.home .tab small { display: block; color: #929ca5; font-size: 12px; padding-top: 12px; }
.home .tab .d { display: block; font-size: 13px; line-height: 20px; margin-top: 15px; }
.home .tab img { position: absolute; left: 20px; bottom: 18px; }

/* main area */
.main { padding-top: 0; padding-bottom: 30px; }
.inner .main { padding-top: 0; }
.card {
  background: var(--card); border: 1px solid #fff; border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .22); padding: 20px 26px 26px; margin-bottom: 24px;
}
.inner .main > .card:first-child, .inner .main > .crumbs:first-child { margin-top: 0; }
.inner .main > .card:first-child { border-top: 0; border-radius: 0 0 3px 3px; }
.page, .post, .intro { background: #fff; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: normal; color: #222; line-height: 1.25; }
.card h1 { font-size: 30px; margin: 6px 0 14px; }
.body h2 { font-size: 21px; margin: 26px 0 8px; }
.body h3 { font-size: 18px; margin: 22px 0 6px; }
.body h4 { font-size: 15px; margin: 18px 0 4px; font-weight: bold; }
.body p { margin: 0 0 14px; }
.body ul, .body ol { margin: 0 0 16px; padding-left: 24px; }
.body li { margin-bottom: 5px; }
.body blockquote { margin: 0 0 16px 12px; padding: 2px 0 2px 16px; border-left: 1px solid var(--line); color: #4a5056; font-style: italic; }
.body img { display: block; margin: 8px auto 16px; }
.body img.fl { float: left; margin: 4px 18px 10px 0; }
.body img.fr { float: right; margin: 4px 0 10px 18px; }
.body p:has(> img.fl), .body p:has(> img.fr) { overflow: hidden; }
.body::after { content: ''; display: block; clear: both; }
.body table { border-collapse: collapse; width: 100%; margin: 0 0 18px; font-size: 13px; display: block; overflow-x: auto; }
.body td, .body th { border: 1px solid var(--line); padding: 6px 9px; vertical-align: top; text-align: left; }
.body pre { white-space: pre-wrap; background: #f4f5f6; padding: 10px; }
.meta { color: var(--muted); font-size: 13px; margin: -6px 0 16px; }
.crumbs { font-size: 13px; color: var(--muted); padding: 12px 2px 10px; }
.crumbs span { margin: 0 4px; }
.lede { font-size: 15px; color: #444; margin: 0; }

/* about page */
.stats { list-style: none; padding: 0; margin: 6px 0 22px; display: flex; flex-wrap: wrap; gap: 16px 48px; }
.stats li { max-width: 260px; color: #444; }
.stats strong { display: block; font: 64px/1 var(--head); color: #222; margin-bottom: 6px; }
.logos { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 24px; align-items: center; }
.logos li { text-align: center; margin: 0; }
.body .logos img { display: inline-block; margin: 0; max-height: 64px; width: auto; }

/* post navigation */
.postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 10px; }
.postnav a { display: block; text-decoration: none; padding: 12px 16px; background: #f4f6f8; border-radius: 3px; border: 1px solid var(--line); }
.postnav small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.postnav .next { text-align: right; grid-column: 2; }

/* blog index */
.postlist { list-style: none; margin: 0; padding: 0; }
.postlist .card { padding: 16px 24px 12px; margin-bottom: 16px; }
.postlist h2 { font-size: 20px; margin: 4px 0 8px; }
.postlist h2 a { color: #222; text-decoration: none; }
.postlist h2 a:hover { color: var(--link); }
.postlist .meta { margin: -2px 0 6px; }
.postlist p { margin: 0 0 6px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 2px 10px; }
.pager span { color: var(--muted); font-size: 13px; }

/* home */
.home .main { padding-top: 26px; }
.vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 30px; }
.vid { position: relative; display: block; height: 172px; text-align: center; padding-top: 18px; }
.vid .c { display: inline-block; }
.vid .play { position: absolute; left: 50%; bottom: 12px; margin-left: -25px; }
.vid.ws { background: radial-gradient(ellipse at center, #a9db80 0%, #88c454 100%); border-color: #dbf1c7; }
.vid.ba { background: radial-gradient(ellipse at center, #315f57 0%, #174337 100%); border-color: #9ad6cb; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sec { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #8a929a; text-align: center; margin: 6px 0 16px; }
.clips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.clip h2 { font-size: 19px; margin: 4px 0 8px; }
.clip h2 a { color: #222; text-decoration: none; }
.clip h2 a:hover { color: var(--link); }
.clip p { margin: 0 0 6px; font-size: 13px; }
.clip .meta { margin: 0 0 6px; }
.more { text-align: center; margin: 0 0 30px; }
.trusted { text-align: center; padding: 6px 0 24px; border-bottom: 1px solid var(--line); }
.trusted img { display: inline-block; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 24px 0 30px; }
.home .foot { border-top: 0; }
.foot .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot h2 { font: 13px Arial, sans-serif; text-transform: uppercase; color: #888; margin: 0 0 6px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 0 0 3px; }
.foot a { color: #222; font-weight: bold; text-decoration: none; font-size: 13px; }
.foot a:hover { color: var(--link); }
.copy { margin: 24px 0 0; color: #8a929a; font-size: 12px; }

/* tablet and phone */
@media (max-width: 900px) {
  .tabs .wrap { gap: 12px; }
  .tab .t { font-size: 18px; }
  .home .tab { height: auto; min-height: 250px; }
  .vids { gap: 14px; }
}
@media (max-width: 700px) {
  body { font-size: 15px; background-size: auto 520px; }
  .top { height: auto; padding-bottom: 72px; background-position: center 30px; }
  .tagline { font-size: 22px; margin-top: 14px; padding-right: 0; }
  .blogbtn { top: 30px; }
  .tabs { margin-top: -56px; }
  .tabs .wrap { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tab { border-radius: 3px; padding: 8px 12px 0; }
  .tab .t { font-size: 16px; padding: 4px 0 10px; margin-right: -12px; }
  .inner .tab { box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
  .home .tab { min-height: 0; padding-bottom: 12px; }
  .home .tab .d, .home .tab img { display: none; }
  .home .tab small { padding-top: 8px; }
  .inner .main { padding-top: 16px; }
  .inner .main > .card:first-child { border-radius: 3px; }
  .card { padding: 16px 16px 20px; }
  .card h1 { font-size: 24px; }
  .vids { grid-template-columns: 1fr; }
  .clips { grid-template-columns: 1fr; }
  .postnav { grid-template-columns: 1fr; gap: 10px; }
  .postnav .next { grid-column: 1; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .body img.fl, .body img.fr { float: none; margin: 8px auto 14px; }
}
