/* Public site styles. White pages, dark footer, pastel material headers. */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #ffffff;
  color: #1c1c1c;
  font-family: GraphikCy, 'Helvetica CY', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
* { box-sizing: border-box; }
a { color: #B5372A; }
a:hover { color: #8A2A20; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.muted { color: #5F5F5F; font-weight: 400; }
.kicker { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #5F5F5F; }
.empty { color: #5F5F5F; padding: 32px 0; }

/* notice for the signed-in editor */
.adminbar { background: #FFF4CC; color: #4A3B00; font-size: 14px; line-height: 1.4; padding: 8px 16px; text-align: center; }
.adminbar a { color: #4A3B00; font-weight: 700; }

/* header */
.top { border-bottom: 1px solid #E6E6E6; }
.top-in { padding-top: 28px; padding-bottom: 0; text-align: center; }
.brand { display: inline-block; font-size: 52px; line-height: 1.1; color: #E0452F; text-decoration: none; }
.brand:hover { color: #C8372A; }
.brand img { display: block; max-height: 90px; width: auto; margin: 0 auto; }
.tagline { margin-top: 6px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #5F5F5F; }
.nav { margin-top: 14px; font-size: 15px; }
.nav a { display: inline-block; margin: 0 14px; padding: 10px 0; color: #1c1c1c; text-decoration: none; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: #BDBDBD; }
.nav a.on { font-weight: 700; border-bottom-color: #E0452F; }

.main { padding-bottom: 24px; min-height: 40vh; }

/* issue heading */
.issue { padding-top: 44px; }
.issue-head { border-bottom: 2px solid #1c1c1c; padding-bottom: 10px; overflow: hidden; }
.issue-title { float: left; margin: 0; font-size: 26px; line-height: 1.2; font-weight: 700; }
.issue-title a { color: #1c1c1c; text-decoration: none; }
.issue-title a:hover { color: #B5372A; }
.issue-date { float: right; font-size: 15px; color: #5F5F5F; padding-top: 6px; }
.issue-toc { margin: 14px 0 0; padding-left: 22px; font-size: 15px; line-height: 1.7; color: #5F5F5F; }
.issue--hidden .issue-head { border-bottom-style: dashed; }

/* material card */
.m { position: relative; margin: 28px 0 56px; padding-top: 36px; }
.m-band { position: absolute; top: 0; left: 0; right: 0; height: 156px; }
.m-body { position: relative; }
.m-card {
  position: relative;
  margin-left: 48px;
  background: #ffffff;
  border: 1px solid #EDEDED;
  border-top: 0;
  padding: 40px 56px 48px;
}
.m--img { padding-top: 0; }
.m-banner { line-height: 0; background: #EEEEEE; }
.m-banner img { display: block; width: 100%; height: auto; }
.m-side { position: absolute; left: 0; top: 0; width: 48px; height: 120px; }
.m--hidden .m-card { border-style: dashed; border-color: #BDBDBD; }
.m-hiddennote { display: inline-block; margin-bottom: 14px; padding: 4px 12px; background: #F3F3F3; border-radius: 4px; font-size: 14px; color: #444444; }

.m-meta { font-size: 14px; line-height: 1.5; color: #5F5F5F; }
.m-meta-i { display: inline-block; margin: 0 22px 6px 0; vertical-align: middle; }
.m-meta-i svg { vertical-align: -3px; margin-right: 8px; }
.m-tags a { color: #5F5F5F; margin-right: 10px; }
.m-tags a:hover { color: #B5372A; }
.age {
  display: inline-block; width: 34px; height: 34px; line-height: 31px; text-align: center; vertical-align: middle;
  border: 1.5px solid #1c1c1c; border-radius: 50%; font-size: 12px; font-weight: 700; color: #1c1c1c; margin-bottom: 6px;
}
.m-topic { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 18px; font-size: 14px; line-height: 1.5; text-decoration: none; }
.m-topic:hover { text-decoration: underline; }
.m-topic-k { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin-right: 8px; }
.m-topic b { margin-right: 6px; }
.m-title { margin: 16px 0 0; font-size: 34px; line-height: 1.2; font-weight: 700; color: #161616; }
.m-title a { color: #161616; text-decoration: none; }
.m-title a:hover { color: #B5372A; }

/* text of a material */
.m-text { margin-top: 20px; word-wrap: break-word; overflow-wrap: break-word; }
.m-text p { margin: 0 0 16px; }
.m-text h3 { margin: 28px 0 12px; font-size: 22px; line-height: 1.35; font-weight: 700; color: #2B2B2B; }
.m-text h4 { margin: 24px 0 10px; font-size: 18px; line-height: 1.4; font-weight: 700; color: #2B2B2B; }
.m-text > :first-child { margin-top: 0; }
.m-text ul, .m-text ol { margin: 0 0 16px; padding-left: 26px; }
.m-text li { margin-bottom: 6px; }
.m-text blockquote { margin: 20px 0; padding: 2px 0 2px 20px; border-left: 3px solid #D0D0D0; color: #333333; }
.m-text blockquote p:last-child { margin-bottom: 0; }
.m-text img { display: block; margin: 20px auto; }
.m-text figure { margin: 24px 0; }
.m-text figure img { margin: 0 auto; }
.m-text figcaption { margin-top: 8px; font-size: 14px; color: #5F5F5F; text-align: center; }
.m-text hr { border: 0; border-top: 1px solid #E0E0E0; margin: 28px 0; }
.m-text sup { font-size: 12px; line-height: 0; }
.m-text sup sup { font-size: inherit; }
.m-text a[id^="fn-"], .m-text a[id*="-fn-"] { text-decoration: none; margin-right: 4px; }
.m-text a[id*="fnref-"] { text-decoration: none; }
.table-wrap { overflow-x: auto; margin: 0 0 20px; }
.m-text table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; }
.m-text th, .m-text td { border: 1px solid #D9D9D9; padding: 8px 12px; text-align: left; vertical-align: top; }
.m-text th { background: #F6F6F6; font-weight: 700; }
.m-more { margin: 6px 0 0; }
.m-more a { font-weight: 700; }

/* documents */
.docs { margin-top: 22px; }
.docs--end { margin-top: 28px; padding-top: 22px; border-top: 1px solid #EDEDED; }
.docs .kicker { margin-bottom: 10px; }
.doc {
  display: table; max-width: 100%; margin: 0 0 10px; padding: 12px 18px 12px 14px;
  border: 1px solid #D9D9D9; border-radius: 10px; text-decoration: none; color: #1c1c1c;
}
.doc:hover { border-color: #B5372A; color: #1c1c1c; box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08); }
.doc-ico { display: table-cell; vertical-align: middle; width: 40px; height: 48px; }
.doc-t { display: table-cell; vertical-align: middle; padding-left: 14px; line-height: 1.35; }
.doc-title { display: block; font-weight: 700; font-size: 16px; }
.doc-meta { display: block; margin-top: 3px; font-size: 13.5px; color: #5F5F5F; }

/* other materials of the topic */
.rel { margin-top: 28px; padding: 20px 22px; border: 1px solid #E6E6E6; border-radius: 10px; }
.rel-list { list-style: none; margin: 12px 0; padding: 0; font-size: 16px; line-height: 1.4; }
.rel-list li { margin-bottom: 10px; overflow: hidden; }
.rel-date { float: left; width: 190px; font-size: 14px; color: #5F5F5F; padding-top: 2px; }
.rel-list a { display: block; margin-left: 190px; }
.rel-all { font-weight: 700; font-size: 15px; }

/* buttons, pager */
.btn {
  display: inline-block; min-height: 48px; padding: 11px 28px; border: 1.5px solid #1c1c1c; border-radius: 6px;
  color: #1c1c1c; text-decoration: none; font-weight: 700; font-size: 16px; line-height: 1.4; background: #ffffff;
}
.btn:hover { background: #1c1c1c; color: #ffffff; }
.btn--text { border-color: #D0D0D0; font-weight: 400; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.more-wrap { text-align: center; padding: 8px 0 48px; }
.more-wrap--left { text-align: left; }
.pager { text-align: center; padding: 0 0 48px; }
.pager .btn { margin: 0 6px 10px; vertical-align: top; }
.crumb { padding: 28px 0 0; font-size: 15px; color: #5F5F5F; }
.crumb + .m { margin-top: 16px; }

/* headings of list pages */
.page-head { padding: 44px 0 20px; }
.page-head h1 { margin: 0; font-size: 34px; line-height: 1.2; }
.page-head .lead { margin: 12px 0 0; max-width: 760px; color: #333333; }
.page-head--band { margin-top: 36px; padding: 28px 32px 26px; }
.page-count { margin-top: 12px; font-size: 14px; color: #444444; }

/* archive */
.arch-i { padding: 22px 0; border-bottom: 1px solid #E6E6E6; overflow: hidden; }
.arch-n { float: left; width: 190px; margin: 0; font-size: 20px; line-height: 1.3; }
.arch-n a { color: #1c1c1c; text-decoration: none; }
.arch-n a:hover { color: #B5372A; }
.arch-d { float: left; clear: left; width: 190px; font-size: 14px; color: #5F5F5F; }
.arch-l { margin: 0 0 0 190px; padding-left: 20px; line-height: 1.5; }
.arch-l li { margin-bottom: 6px; }
.side-block { padding: 32px 0 8px; }
.side-block h2 { margin: 0 0 14px; font-size: 22px; }
.chips { line-height: 1; }
.chip {
  display: inline-block; margin: 0 8px 10px 0; padding: 8px 14px; border: 1px solid #D0D0D0; border-radius: 20px;
  font-size: 15px; line-height: 1.3; color: #1c1c1c; text-decoration: none;
}
.chip:hover { border-color: #B5372A; color: #B5372A; }
.chip--m { font-size: 16px; }
.chip--l { font-size: 18px; font-weight: 700; }
.chip--topic { border-color: transparent; }
.chip--topic:hover { text-decoration: underline; }

/* topics */
.topics { padding-bottom: 32px; }
.topic { display: block; margin-bottom: 18px; border: 1px solid #EDEDED; text-decoration: none; color: #1c1c1c; }
.topic:hover { border-color: #BDBDBD; color: #1c1c1c; }
.topic-band { display: block; height: 14px; }
.topic-in { display: block; padding: 18px 24px 20px; }
.topic-title { display: block; font-size: 22px; font-weight: 700; line-height: 1.3; }
.topic:hover .topic-title { color: #B5372A; }
.topic-desc { display: block; margin-top: 6px; color: #333333; }
.topic-meta { display: block; margin-top: 8px; font-size: 14px; color: #5F5F5F; }

/* list of materials (topic, tag) */
.tl { list-style: none; margin: 8px 0 32px; padding: 0; }
.tl-i { padding: 20px 0; border-bottom: 1px solid #E6E6E6; overflow: hidden; }
.tl-date { float: left; width: 190px; font-size: 14px; line-height: 1.5; color: #5F5F5F; padding-top: 4px; }
.tl-date a { color: #5F5F5F; }
.tl-b { margin-left: 190px; }
.tl-title { margin: 0; font-size: 21px; line-height: 1.3; }
.tl-title a { color: #161616; text-decoration: none; }
.tl-title a:hover { color: #B5372A; }
.tl-text { margin: 8px 0 0; font-size: 16px; color: #333333; }

/* plain page */
.plain { padding: 44px 0 32px; max-width: 820px; }
.plain h1 { margin: 0; font-size: 34px; line-height: 1.2; }

/* footer */
.foot { background: #1E1E1E; color: #C4C4C4; font-size: 14px; line-height: 1.6; margin-top: 24px; }
.foot-in { padding-top: 44px; padding-bottom: 48px; overflow: hidden; }
.foot-a { float: left; width: 28%; }
.foot-b { margin-left: 33%; }
.foot-a > div, .foot-b > div { margin-bottom: 10px; }
.foot-title { font-size: 20px; color: #ffffff; font-weight: 700; }
.foot a { color: #ffffff; }
.age--foot { width: 44px; height: 44px; line-height: 41px; font-size: 14px; border-color: #ffffff; color: #ffffff; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .brand { font-size: 34px; }
  .nav a { margin: 0 9px; }
  .issue { padding-top: 32px; }
  .issue-title, .issue-date { float: none; }
  .issue-title { font-size: 23px; }
  .m { margin-bottom: 40px; padding-top: 24px; }
  .m-band { height: 120px; }
  .m-card { margin-left: 12px; padding: 24px 18px 28px; }
  .m-side { width: 12px; height: 96px; }
  .m-title { font-size: 26px; }
  .m-text h3 { font-size: 20px; }
  .page-head { padding-top: 32px; }
  .page-head h1, .plain h1 { font-size: 27px; }
  .page-head--band { margin-top: 24px; padding: 22px 18px; }
  .rel-date, .arch-n, .arch-d, .tl-date { float: none; width: auto; }
  .rel-list a, .tl-b { margin-left: 0; }
  .arch-l { margin: 10px 0 0; }
  .tl-date br { display: none; }
  .tl-date a { margin-left: 8px; }
  .foot-a { float: none; width: auto; margin-bottom: 20px; }
  .foot-b { margin-left: 0; }
  .btn--text { max-width: 100%; }
  .pager .btn { display: block; margin: 0 0 10px; }
}

@media print {
  .top .nav, .foot, .adminbar, .pager, .more-wrap, .rel { display: none; }
  .m-band, .m-side { display: none; }
  .m-card { margin-left: 0; border: 0; padding: 0; }
}
