.post-intro {
    border-left: 5px solid #0F7075; 
    background-color: #f9f9f9;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.single-post-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
}

.single-post-title {
    font-size: 32px;
    color: #072E33;
    margin-bottom: 10px;
}

.single-post-meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 25px;
}

.single-post-thumbnail img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 25px;
}

.single-post-content {
    line-height: 1.8;
    color: #333;
}

.single-post-content h2, h3, h4, h5 {
    margin-bottom: 10px;
}

.single-post-content h2 {
    color: #0F7075;
    font-size: 2.2em;
    font-weight: 700;
}

.single-post-content h3 {
    color: #072E33;
    font-size: 1.5em;
}

.single-post-content h4 {
    font-size: 1.2em;
}

.single-post-content h5 {
    font-size: 1em;
}

.single-post-content p {
    font-size: 1em;
}

.single-post-footer {
    margin-top: 50px;
    font-size: 14px;
    color: #666;
}

.toc-container {
  position: relative;
  background: #f5fff7; 
  border: 1px solid #c6e0c3;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
}

.toc-container.sticky {
  position: fixed;
  top: 0;
  left: auto;
  right: auto;
  width: 800px;
  margin: 0 auto;
  max-width: 100%;
  background-color: #ffffff;
  border-radius: 0;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.single-post-container .toc-container.sticky {
  left: 0;
  right: 0;
}

.toc-title {
  font-size: 16px !important;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2d572c;
  width: 100%;
}

.toc-container.sticky .toc-title {
  margin-bottom: 0;
  font-weight: 500;
}

.toc-content {
  max-height: 1000px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.toc-container.sticky:not(.expanded) .toc-title {
  flex: 1;
}

/* Hide title when expanded */
.toc-container.sticky.expanded .toc-title {
  display: none;
}

.toc-container.sticky .toc-content {
  max-height: 0;
  overflow: hidden;
  width: 0;         
  padding: 0;            
  margin: 0;            
  flex: 0;              
  transition: all 0.3s ease;
}

.toc-container.sticky.expanded .toc-content {
  max-height: 500px;
  overflow-y: auto;
  width: 100%;      
  padding: 0;            
  margin-top: 10px;
  flex: 1;
}

.toc-container ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc-container li {
  margin-bottom: 10px;
}

.toc-container li a {
  text-decoration: none;
  color: #083c71;
  font-size: 15px;
  display: block;
  line-height: 1.5;
  transition: all 0.2s ease;
}

.toc-container li a:hover,
.toc-container li.active a {
  color: #2e7d32; 
  font-weight: 600;
  padding-left: 4px;
}

.toc-toggle {
  background: none;
  border: none;
  font-size: 14px;
  color: #0F7075;
  cursor: pointer;
  padding: 4px 10px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  display: none;
}

.toc-toggle i {
  font-size: 16px;
}

.toc-toggle:hover {
  color: #1b5e20;
}

.toc-placeholder {
  width: 100%;
}

.post-sharing {
    margin: 15px 0 30px;
    font-size: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.post-sharing span {
    font-weight: bold;
    margin-right: 10px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    color: white;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.share-btn i {
    font-size: 14px;
}

/* Platform Colors */
.share-btn.fb { background: #3b5998; }
.share-btn.tw { background: #1da1f2; }
.share-btn.wa { background: #25D366; }
.share-btn.ln { background: #0077b5; }
.share-btn.ig { background: #E1306C; }


.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    opacity: 0.95;
}

.related-posts {
    margin-top: 40px;
    border-top: 2px solid #eee;
    padding-top: 20px;
}

.related-posts h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #083c71;
}

.related-post-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-post-item {
    width: calc(25% - 20px);
    border-bottom: 1px solid #0F7075;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-post-item:hover {
    transform: translateY(-4px);
}

.related-title {
    padding: 10px;
    font-size: 14px;
    color: #222;
}

@media (max-width: 768px) {
    .related-post-item {
        width: calc(50% - 20px);
    }
    
    .post-disclaimer {
        font-size: 12px;
        padding: 8px 10px; 
        margin: 15px 5px; 
    }
}

@media (max-width: 480px) {
    .related-post-item {
        width: 100%;
    }
}

.key-takeaways {
    position: relative;
    background: #f8fff9; 
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

/* Decorative corner borders */
.key-takeaways::before,
.key-takeaways::after {
    content: '';
    position: absolute;
    height: 3px;
    background: #1FAB89;
    width: 20%;
}

/* Top left corner line */
.key-takeaways::before {
    top: 0;
    left: 0;
}

/* Bottom right corner line */
.key-takeaways::after {
    bottom: 0;
    right: 0;
}

.key-takeaways ul {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.key-takeaways li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #333;
    font-size: 15px;
    line-height: 1.5;
}

.key-takeaways li::before {
    content: "\f00c"; /* fa-check */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #27ae60;
    position: absolute;
    left: 0;
    top: 2px;
}


.table {
    width: 100%;
    border-collapse: separate; 
    border-spacing: 0;
    margin: 20px 0;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}


.table th {
    background-color: #f2f2f2;
    padding: 12px;
    text-transform: uppercase;
    font-size: 14px;
    text-align: center;
}


.table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}


.table td:first-child {
    text-align: left; 
}

.table td:last-child {
    text-align: right;
}


.table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.table tbody tr:hover {
    background-color: #e8f4ff; 
    transition: background-color 0.3s;
}

@media screen and (max-width: 480px) {
    .table {
        font-size: 12px; 
    }

    .table td, .table th {
        padding: 6px; 
    }
}


.post-disclaimer {
    font-size: 14px; 
    color: #555; 
    background-color: #f9f9f9; 
    border-left: 4px solid #0F7075;
    padding: 10px 15px; 
    margin: 20px 10px;
    font-style: italic;
    border-radius: 5px; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

.custom-table {
  width: 100%;
  border-style: none;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-table th, .custom-table td {
  padding: 12px;
  color: #333; 
  text-align: center;
}

.custom-table th {
  font-weight: normal;
  border-style: none;
  background-color: #f8f8f8;
  
}

.custom-table td {
      font-weight: bold;
}

.link-box {
  background: #fff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
  padding: 16px;
  margin: 20px 0;
  border-radius: 8px;
  text-align: center;
}

.link-box a {
  display: inline-block;
  padding: 8px 10px;
  background: transparent;
  color: #1FAB89;
  border: 1px solid #1FAB89;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.link-box a:hover {
  background: #072E33;
  color: #fff;
}

.blog-post h2 a {
  color: #1FAB89;
  text-decoration: none; /* optional, removes underline */
}

.blog-post h2 a:hover {
  color: #148f6a; /* a darker shade for hover, optional */
}
