/***
  Article page styling
***/

.post-content a{color: orange;}
.post-content a:visited {color:orange;}

.post-content .tags-item a{color: #022f67;}
.post-content .tags-item a:visited {color:#022f67;}


.post-content .fig-caption {
  text-align: center;
  font-size: 15px;
  font-style: italic;
  margin-bottom: 15px;
  margin-top: -10px;
}

.post-content .video-caption {
  text-align: center;
  font-size: 15px;
  font-style: italic;
  margin-bottom: 15px;
  margin-top: 0px;
}

.post-content .big-letter{
  font-size: 28px;
  color: orange;
}


.post-content .card-simple {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  border: 2px solid #022f67;
  border-radius: 10px;
  margin-top: 25px;
  margin-bottom: 25px;
  padding: 15px 20px 15px 20px;
  max-width: 750px;
}

.post-content .card {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  border: 2px solid #022f67;
  border-radius: 10px;
  margin-top: 25px;
  margin-bottom: 25px;
  padding: 15px 20px 15px 20px;
  max-width: 750px;
}

.post-content .card-text h4 a{
  color: black;
}


.post-content .media.stream-item {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  border: 2px solid #022f67;
  border-radius: 10px;
  margin-top: 5px;
  padding: 10px 20px 0px 20px;
}

.post-content .tags-item{
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  border: 2px solid #022f67;
  border-radius: 10px;
  margin-top: 15px;
  padding: 0px 20px 0px 20px;
  white-space: nowrap;
}


.post-content .interview-questioner{
  color: #287AA0;
  text-align: right;
  font-weight: bold;
  padding-top: 25pt;
  padding-bottom: 25pt;
  float: right;
  width: 50%;
  margin-left: 50%;
}

.post-content .interview-questioner-wide{
  color: #287AA0;
  text-align: right;
  font-weight: bold;
  padding-top: 25pt;
  padding-bottom: 25pt;
  float: right;
  width: 90%;
  margin-left: 10%;
}


.post-content .interview-respondent{
  // color: #022f67;
  font-weight: bold;
}

.post-content .interview-left{
  width:90%;
  text-align: justify;
}

.post-content .image-row{
  white-space: nowrap;
}

.post-content .quote{
  font-style: italic;
  font-size: 20px;
  width: 80%;
  margin-left: 10%;
}

.post-content .figure-img-wrap:hover{
  opacity:0.75;
}

.post-content .image-block{
  width:48%;
  float: left;
  margin: 0px 1% 0px 1%;
}

.post-content .img-block-img{
  display: inline-block;
  vertical-align: top;
  height: 225px;
  width:45%;
  float:left;
  margin: 0px 2.5% 10px 2.5%;
  overflow: hidden;
}

.post-content .img-block-img img{
  transition: transform .5s ease;
}

.post-content .img-block-img:hover img {
  transform: scale(1.1);
}

.post-content .img-block-text{
   display: inline-block;
   width:45%;
   float:left;
   margin: 15px 2.5% 10px 2.5%;
   text-align: left;
}

.post-content .img-block-text h2{
  font-size: 18px;
  font-weight: bold;
  color:#022f67;
}




/* Post Container */
.post-container {
  max-width:780px; // slightly increased from 760px
  padding:0 20px 0 20px;
  margin:0 auto 0 auto;
  text-align: justify;
}

/* Post Header */
.post-header {
    text-align: left;
    margin-bottom: 2rem;
    padding: 25px 0;
}

.post-title {
    font-size: 2.5rem;
    line-height: 1.2; /* Adjust line spacing */
    font-weight: normal;
    color: #022f67;
    margin-bottom: 0.5rem;
}

.post-meta {
    font-size: 1rem;
    color: #555;
}

/* Featured Image */
.post-featured-image img {
    width: 100%;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Post Content */
.post-content {
    font-size: 1.2rem;
    color: #333;
    margin-top: 2rem; /* Adds space above the content */
}

.post-content h2, .post-content h3 {
    color: #022f67;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

.post-content img {
    display: block;
    margin: 2rem auto;
    max-width: 100%;
    border-radius: 8px;
}

.featured-image-wrapper {
    max-width: 720px;
    max-height: 480px;
    margin: 0 auto; /* Centers the wrapper */
    overflow: hidden; /* Ensures the image doesn't overflow */
}

.featured-image {
    width: 100%; /* Ensures the image scales within the wrapper */
    height: auto; /* Maintains aspect ratio */
}


.post-meta {
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-authors {
    color: #777;
}

.post-authors a {
    color: #777;
    text-decoration: none;
}

.post-authors a:hover {
    text-decoration: underline;
    color: #0056b3;
}


.post-date {
    font-style: italic;
    color: #777;
}

.post-reading-time {
    color: #777;
}

.post-categories {
    color: #777;
}

.post-categories a{
    color: #777;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .post-container {
        padding: 1rem;
    }

    .post-title {
        font-size: 2rem;
    }
}
