.content-container,
.blog-post {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem;
  background-color: #f8f8f8;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'DM Serif Text', sans-serif;
  color: #191970;
  line-height: 1.4;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
a {
  color: #191970;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
a:hover {
  color: #171765;
}
.blog-post {
  padding: 0 3rem;
  margin-top: 2rem;
}
.blog-post .content {
  margin-top: 2rem;
}
.blog-post .content p {
  max-width: 42em;
  margin-left: auto;
  margin-right: auto;
}
.blog-post .content img {
  max-width: 100%;
  height: auto;
  margin: 2rem auto;
  display: block;
  border-radius: 0.5rem;
}
.back,
.home {
  display: inline-block;
  margin-bottom: 2rem;
  font-weight: 500;
  color: #191970;
}
.back:hover,
.home:hover {
  text-decoration: underline;
}
/* Table styles */
.table-container {
  overflow-x: auto;
  margin: 2rem 0;
  width: 100%;
  max-width: 42em;
  margin-left: auto;
  margin-right: auto;
}
.table-container table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.9rem;
}
.table-container th,
.table-container td {
  padding: 0.75rem;
  text-align: left;
  border: 1px solid #ddd;
  white-space: nowrap;
}
.table-container th {
  background-color: #f5f5f5;
  font-weight: 600;
  position: sticky;
  top: 0;
}
.table-container tr:nth-child(even) {
  background-color: #f9f9f9;
}
.table-container tr:hover {
  background-color: #f0f0f0;
}
.blog-post header img {
  width: 150%;
  max-height: 50vh;
  max-width: 100vw;
  height: auto;
  margin-bottom: 2rem;
  margin-left: -25%;
  border-radius: 0.5rem;
  object-fit: cover;
}
.blog-post header h1 {
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: normal;
  text-align: left;
  margin-bottom: 1rem;
  font-size: 4.5rem;
  line-height: 1.2;
}
.blog-post h2,
.blog-post h3,
.blog-post h4,
.blog-post h5,
.blog-post h6 {
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: normal;
  margin: 2rem 0 1rem;
  line-height: 1.3;
}
.blog-post h2 {
  font-size: 2rem;
}
.blog-post h3 {
  font-size: 1.75rem;
}
.blog-post h4 {
  font-size: 1.5rem;
}
.blog-post h5 {
  font-size: 1.25rem;
}
.blog-post h6 {
  font-size: 1.1rem;
}
.blog-post .meta {
  margin-bottom: 2rem;
  color: #666;
}
.blog-post .meta time {
  display: block;
  margin-bottom: 0.5rem;
}
.blog-post .content {
  font-size: 1.125rem;
  line-height: 1.6;
}
.blog-post .content p {
  margin-bottom: 1.5rem;
}
.blog-post .content blockquote {
  margin: 3rem 0;
  border-left: 4px solid #b2b2b2;
  padding-left: 1.8rem;
  padding: 0 4rem;
  font-size: 1.8rem;
  font-family: "DM Serif Text", serif;
  font-weight: 400;
  font-style: italic;
  color: #3f3f3f;
  position: relative;
  display: inline-block;
}
.blog-post .content blockquote p:first-of-type::before {
  content: '“';
  position: absolute;
  top: -2rem;
  left: 2rem;
  color: #b04912;
  font-size: 4rem;
}
.blog-post .content blockquote p:last-of-type::after {
  content: '”';
  position: relative;
  top: 1.2rem;
  color: #b04912;
  font-size: 4rem;
  line-height: 0;
}
.blog-post .content img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 0.5rem;
}
.blog-post .content a {
  color: #06c;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.blog-post .content a:hover {
  border-bottom-color: currentColor;
}
.blog-post .content ul,
.blog-post .content ol {
  margin-bottom: 1.5rem;
  padding: 0 2.5rem;
}
.blog-post .content ul li,
.blog-post .content ol li {
  margin-bottom: 0.5rem;
}
.blog-post .content table {
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto 1.5rem auto;
  border-collapse: collapse;
  border: 1px solid #ddd;
}
.blog-post .content table th,
.blog-post .content table td {
  padding: 0.75rem;
  text-align: left;
  border: 1px solid #ddd;
}
