/* Shared base styles for injured-in-auto.com (same layout system as the
   yourcompensation.help rebuild).
   Page layout is plain sections → rows → columns:
     <section class="sec"><div class="si">         section + centred inner width
       <div class="row"><div class="ri">            row + flex container
         <div class="col"><div class="ci">          column + its padded box
           .tx  text block   .im  image   .bt  button
           .dv  divider      .sv  inline SVG   .fe  photo + text card
   Each page's own <style> block sets the colours, sizes and spacing
   measured from the old page. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: #000; font-family: Karla, Arial, sans-serif; }
main { display: block; overflow-x: hidden; }
img, svg { max-width: 100%; vertical-align: middle; }
img { border: 0; }

.sec { position: relative; width: 100%; }
.si { width: 100%; margin: 0 auto; }
.row { width: 100%; margin-left: auto; margin-right: auto; }
.ri { display: flex; flex-wrap: nowrap; width: 100%; }
.col { display: flex; flex-direction: column; min-width: 0; }
.ci { display: flex; flex-direction: column; width: 100%; }
.ci > * { width: 100%; }

.tx { word-wrap: break-word; }
.tx h1, .tx h2, .tx h3, .tx h4, .tx h5, .tx h6, .tx p, .tx li, .tx blockquote {
  margin: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; line-height: inherit;
}
.tx ul, .tx ol { margin: 0; padding-left: 1.4em; }
.tx a { color: inherit; text-decoration: underline; }
.tx strong, .tx b { font-weight: 700; }

/* background photo layer behind a section or row */
.sec, .row { position: relative; }
.bgl { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.bgl + .si, .bgl + .ri { position: relative; }

/* bullet-list items with the gold "search dollar" icon used on /a7 /m1 /w1 */
.tx ul.ic { list-style: none; padding: 0; }
.tx ul.ic li { position: relative; padding-left: 1.3em; }
.tx ul.ic li::before {
  content: ""; position: absolute; left: 0; top: .12em; width: 1em; height: 1em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='7' fill='none' stroke='%23FFCC00' stroke-width='2.6'/%3E%3Cpath d='m15.2 15.2 6 6' stroke='%23FFCC00' stroke-width='3' stroke-linecap='round'/%3E%3Ctext x='10' y='13.6' font-family='Arial' font-weight='700' font-size='10' text-anchor='middle' fill='%23FFCC00'%3E$%3C/text%3E%3C/svg%3E") center / contain no-repeat;
}

/* small icons that stood in front of a line of text on the old pages */
.tx .ico { display: inline-block; width: 1em; height: 1em; margin-right: 5px; vertical-align: -0.12em; }

.im img { display: inline-block; }
.dv > i { display: block; }
.sv svg { display: inline-block; }

.bt .btn { display: inline-block; text-decoration: none; cursor: pointer; }
.bt .btn small { display: block; font-size: .8em; }
.bt .btn:hover { filter: brightness(1.1); }

.fe .ft img { display: inline-block; }
.fe .ft-i { text-align: center; }

@media (max-width: 767px) {
  .ri { flex-wrap: wrap; }
  .col { flex: 0 0 auto; width: 100%; max-width: 100%; }
}
