/* ===================== Section 2 styles (Cards) ===================== */

#cardFilter {
    max-width: 196px;
    font-size: 0.9rem;
}

.filter-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #15172E;
}

.card-blog {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 400px;
    border-radius: 16px;
    border-color: transparent;
    overflow: hidden;
    background-color: white;
    margin-bottom: 16px;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
    cursor: pointer;
}

.card-img-top-blog {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
}

.card-body-blog {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.75rem;
}

.card-title-blog {
    line-height: 22px;
}

.card-text-blog {
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #848386;
    margin-bottom: 0.5rem;
}

.card-text-date,
.card-text-author {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
}

.card-text-author {
    color: #007A6D;
}

.card-text-date {
    color: #848386;
}

.meta-row {
    margin-top: auto;
}


/* ===================== Section 2 styles (Pagination) ===================== */

.btn-pagination-blog {
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    background-color: #007A6D;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-pagination-blog:hover {
    background-color: #007A6D;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-pagination-blog.active {
    background-color: #006055;
    font-weight: 600;
    pointer-events: none;
}

/* ===================== Section 2 styles (Individual New) ===================== */

#postContent {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}
#postContent img {
  display: block;        
  margin: 20px auto;      
  max-width: 100%;        
  height: auto;           
  border-radius: 8px;     
  object-fit: contain;    
}

#postContent h1,
#postContent h2,
#postContent h3,
#postContent h4 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

#postContent p {
  text-align: justify;
  margin-bottom: 20px;
  line-height: 1.6;
  color: #848386;
}

#postContent li {
  text-align: justify;
  margin-bottom: 10px;
  line-height: 1.6;
  color: #848386;
}

#featuredImageContainer {
  text-align: center; 
  margin: 20px 0 10px 0;
}

#featuredImageContainer img {
  display: inline-block;
  max-width: 50%;       
  height: auto;
  max-height: 250px;    
  object-fit: contain;
  border-radius: 8px;
}

#postContentContainer {
  position: relative;
  padding-bottom: 0px;
  display: none;
}

#authorDateContainer {
  margin: 0 auto;
  max-width: 65%;
  color: #848386;
  text-align: left;
  padding-left: 10px;
}

#authorDateContainer p {
  margin: 0;
  font-weight: bold;
  font-size: 14px;
  color: #007A6D;
}

#postContent a {
  color: #007A6D !important;
  text-decoration: none !important;
  font-weight: 700;
}

#postContent a:hover {
  color: #00594e !important;
  text-decoration: underline !important;
}
