html, body {
  margin: 0;
  padding: 0;
  /* remove width/max-width/overflow */
}

.gridContainer {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#page > .page-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* .cards-style.style-4 figure {
  background: none;
} */

[id*="pg-"][id*="-"], [id*="pg-"][id*="-"] {
  margin-bottom: 0 !important;
}

.header {
  height: 500px !important;
}

.post-content-inner {
  font-family: 'Anek Latin', sans-serif !important;
  color: #0a1b3f !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
  box-sizing: border-box !important;
}

.post-content-inner h1,
.post-content-inner h2,
.post-content-inner h3,
.post-content-inner h4 {
  font-family: 'Anek Latin', sans-serif !important;
  color: #0a1b3f !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin: 2rem 0 1rem 0 !important;
}

.post-content-inner h1 {
  font-size: 34px !important;
}
.post-content-inner h2 {
  font-size: 28px !important;
}
.post-content-inner h3 {
  font-size: 22px !important;
}
.post-content-inner h4 {
  font-size: 18px !important;
}

.post-content-inner p {
  margin-bottom: 1.5rem !important;
}

.post-content-inner ul,
.post-content-inner ol {
  padding-left: 1.5rem !important;
  /* margin-bottom: 1.5rem !important; */
}
.post-content-inner li {
  margin-bottom: 0.6rem !important;
}

.post-content-inner a {
  color: #005a7a !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
  transition: color 0.2s ease !important;
}
.post-content-inner a:hover {
  color: #0a1b3f !important;
}

.post-content-inner strong {
  font-weight: 700 !important;
}

.post-content-inner em {
  font-style: italic !important;
}

.so-panel {
  margin-bottom: 0 !important;
}

.post-item .post-content-single {
  padding: 1rem 1rem !important;
}
.site > .content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.content.blog-page .content.post-page {
  padding-top: 0 !important;
}

.nav-links {
  font-size: 12pt;
}

/* Responsive */
@media (max-width: 768px) {
  .post-content-inner {
    padding: 0 1rem !important;
    font-size: 0.95rem !important;
  }

  .post-content-inner h1 {
    font-size: 28px !important;
  }
  .post-content-inner h2 {
    font-size: 24px !important;
  }
  .post-content-inner h3 {
    font-size: 20px !important;
  }

  .inner-header-description > .header-description-row {
    font-size: 9px !important;
  }

  .nav-links {
    font-size: 9pt;
  }
}

.gridContainer > .row {
  margin-bottom: 0 !important;
}

/* Make sure paragraphs and lists in post content behave like normal blocks */
.post-content-inner p,
.post-content-inner ul,
.post-content-inner ol {
  float: none !important;
  display: block !important;
  clear: both !important;   /* start on a new line after any floats */
  width: 100% !important;   /* prevent weird side-by-side columns */
}

.header {
  height: 500px !important;
  background-size: cover;              /* make it fill nicely */
  background-position: 50% 30% !important;
  /* 50% = center horizontally, 70% = a bit below center vertically */
}

.navigation, .post-navigation, .tags-list {
  display: none !important;
}

/* Speaker row: photo left, text right; stacks on narrow screens */
.post-content-inner .i2c-speaker {
  display: flex !important;
  align-items: flex-start !important;
  gap: 24px !important;
  margin: 24px 0 !important;
}

.post-content-inner .i2c-speaker__photo {
  flex: 0 0 218px !important;
  max-width: 218px !important;
}

.post-content-inner .i2c-speaker__photo img {
  display: block !important;
  width: 218px !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 14px !important;
}

.post-content-inner .i2c-speaker__name {
  font-weight: 800 !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  margin: 0 0 10px 0 !important;
}

@media (max-width: 700px) {
  .post-content-inner .i2c-speaker {
    flex-direction: column !important;
    align-items: center !important;
  }
  .post-content-inner .i2c-speaker__photo {
    flex: 0 0 auto !important;
    max-width: 260px !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }
  .post-content-inner .i2c-speaker__photo img {
    width: min(260px, 100%) !important;
  }
  .post-content-inner .i2c-speaker__text {
    width: 100% !important;
  }
}

.col-sm-12 {
    padding-right: 0px !important;
}

/* Justify post text */
.post-content-inner,
.post-content-inner p,
.post-content-inner li {
  text-align: justify !important;
  text-justify: inter-word !important; /* mostly legacy, harmless */
  hyphens: auto !important;
  -webkit-hyphens: auto !important;
  -ms-hyphens: auto !important;
}

/* .post-content-inner img {
  display: block !important;
  height: auto !important;
  max-width: 80% !important;  
  width: auto !important;    
  margin: 0 auto !important; 
} */