/* The pages for law firms, dental and medical practices, shops and studios,
   and federal subcontractors. Loaded after site.css and tax-firms.css,
   which hold the layout these pages share with /tax-firms: the hero visual's
   frame, the rule table, the worked example and the closing band. This file
   adds the sheet of paper in each hero that quotes the rule. */

.paper {
  position: relative; z-index: 2;
  margin: 0 44px 0 0; padding: 18px 20px 20px;
  border-radius: 14px; background: #ffffff; color: #0a0f1e;
  border: 1px solid rgba(10, 15, 30, 0.08);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 30px 60px -20px rgba(0, 0, 0, 0.65);
  font-size: 13.5px; line-height: 1.55;
}
.paper-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 2px solid #0a0f1e; }
.paper-head b { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.paper-head span { color: #5d6679; font-size: 12px; }
.paper-name { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-weight: 700; }
.paper-num { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 6px; background: #0a0f1e; color: #fff; font-size: 12.5px; white-space: nowrap; }
.paper blockquote { margin: 0; color: #2a3247; }
.paper-note { margin: 12px 0 0; color: #5d6679; font-size: 12.5px; }
.paper-boxes { display: flex; align-items: center; justify-content: flex-end; gap: 7px; margin: 14px 0 0; font-weight: 600; font-size: 13px; }
.paper-box { width: 15px; height: 15px; border: 1.5px solid #0a0f1e; border-radius: 3px; }
.paper-box ~ .paper-box { margin-left: 14px; }

@media (max-width: 520px) {
  .paper { margin-right: 0; }
}
