/* reading.css - Extracted from main.css for standalone documents */

/* Import the same fonts as main.css */
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,400italic,600italic|Roboto+Slab:400,700");

/* Reset and base styles */
* {
  box-sizing: border-box;
}

body {
  background: #ffffff;
  color: #7f888f;
  font-family: "Open Sans", sans-serif;
  font-size: 13pt;
  font-weight: 400;
  line-height: 1.65;
  margin: 0;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Typography - exact same as main.css */
h1, h2, h3, h4, h5, h6 {
  color: #3d4449;
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 1em 0;
}

h1 {
  font-size: 4em;
  margin: 0 0 0.5em 0;
  line-height: 1.3;
  text-align: center;
  border-bottom: solid 3px #f56a6a;
  display: inline-block;
  padding: 0 0.75em 0.5em 0;
  width: 100%;
}

h2 {
  font-size: 1.75em;
  margin: 3em 0 1em 0;
  padding-top: 1.5em;
  border-top: solid 1px rgba(210, 215, 217, 0.75);
}

h3 { font-size: 1.25em; }
h4 { font-size: 1.1em; }
h5 { font-size: 0.9em; }
h6 { font-size: 0.7em; }

p {
  margin: 0 0 2em 0;
  text-align: justify;
}

strong, b {
  color: #3d4449;
  font-weight: 600;
}

em, i {
  font-style: italic;
}

/* Links - same as main.css */
a {
  transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
  border-bottom: dotted 1px;
  color: #f56a6a;
  text-decoration: none;
}

a:hover {
  border-bottom-color: #f56a6a;
  color: #f56a6a !important;
}

/* Tables - exact same as main.css */
table {
  margin: 0 0 2em 0;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

table tbody tr {
  border: solid 1px rgba(210, 215, 217, 0.75);
  border-left: 0;
  border-right: 0;
}

table tbody tr:nth-child(2n + 1) {
  background-color: rgba(230, 235, 237, 0.25);
}

table td {
  padding: 0.75em 0.75em;
}

table th {
  color: #3d4449;
  font-size: 0.9em;
  font-weight: 600;
  padding: 0 0.75em 0.75em 0.75em;
  text-align: left;
}

table thead {
  border-bottom: solid 2px rgba(210, 215, 217, 0.75);
}

/* Responsive adjustments */
@media screen and (max-width: 1680px) {
  body { font-size: 11pt; }
  h1 { font-size: 3.5em; }
}

@media screen and (max-width: 1280px) {
  body { font-size: 10pt; }
}

@media screen and (max-width: 980px) {
  h1 { font-size: 3.25em; }
}

@media screen and (max-width: 736px) {
  body { padding: 20px 15px; }
  h1 { 
    font-size: 2em;
    line-height: 1.4; 
  }
  h2 { font-size: 1.5em; }
  table { font-size: 0.9em; }
  table td, table th { padding: 0.5em 0.5em; }
}

@media screen and (max-width: 360px) {
  body { font-size: 9pt; }
}