/* -----------------------------
   BLOG POST STYLING
   ----------------------------- */

/* Excerpt styling */
.post-excerpt {
  font-style: italic;
  font-weight: 500;
  opacity: 0.9;
}

/* Post meta spacing */
.post-meta {
  margin-left: 5vw;
  margin-bottom: 1.5vh;
}

/* -----------------------------
   TABLE STYLING
   ----------------------------- */

.post-content table {
  width: 90%;
  margin: 0 auto;
  border-collapse: collapse;
  margin-bottom: 2.5vh;
  table-layout: auto;
}

.post-content th,
.post-content td {
  padding: 12px 14px;
  vertical-align: top;
  text-align: left;
  border: 1px solid rgba(0, 0, 0, 0.12);
  word-wrap: break-word;
  white-space: normal;
}

.post-content th {
  font-weight: 600;
  background-color: rgba(0, 0, 0, 0.03);
}

/* Make description column wrap better */
.post-content td:last-child {
  max-width: 420px;
}

.post-content li {
  display: list-item !important;
}

/* Blog Post List Styling */
.post-content ul
.post-content ol {
  margin-left: 5vw;
  padding-left: 4rem;
  list-style: initial !important;
  list-style-position: outside !important;
}


.post-content ul {
  list-style-type: disc !important;
}

.post-content ol {
  list-style-type: decimal !important;
}

.post-content li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.post-divider{
  margin: 2.5rem 0 1.75rem;
  border: 0;
  border-top: 1px solid rgba(0,0,0,0.10);
}

.post-tags{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin: 0 0 1.25rem;
}

.post-tags .tag{
  display:inline-block;
  padding:.35rem .7rem;
  border:1px solid rgba(0,0,0,0.12);
  border-radius:999px;
  font-size:.85rem;
  line-height:1;
  text-decoration:none;
}

.post-share{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  margin: 0 0 1.75rem;
}

.post-share .btn.share{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.55rem .9rem;
  border-radius:10px;
  font-size:.9rem;
  text-decoration:none;
  border:1px solid rgba(0,0,0,0.12);
}

/* Post nav: make it look like nav, not random link text */
.post-nav{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  padding-top:1.25rem;
  border-top:1px solid rgba(0,0,0,0.10);
  font-size:.95rem;
}

.post-nav a{
  text-decoration:none;
  max-width:48%;
}

.post-tags-label,
.post-share-label{
  font-size:.8rem;
  opacity:.7;
  margin: 0 0 .5rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Blog CTA Box */

.blog-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: #f6f8fa;
  border-left: 4px solid #2f6fed;
  border-radius: 6px;
  text-align: center;
}

.blog-cta h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

.blog-cta p {
  margin: 0.75rem 0 1.5rem;
  line-height: 1.6;
}

.blog-cta a.cta-button {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  background: #042d4d;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

.blog-cta a.cta-button:hover {
  background: #1a3e90;
}


/* Improve table readability on small screens */
@media screen and (max-width: 768px) {
  .post-content table {
    width: 100%;
    font-size: 0.95rem;
  }

    /* Blog Post List Styling */
  .post-content ul,
  .post-content ol {
    margin-left: 5 rem;
    padding-left: 4 rem;
    list-style: initial !important;
    list-style-position: outside !important;
  }

  .post-meta {
    margin-left: 4vw;
  }
}
