/* ===== Single Post only ===== */
.post-article * { box-sizing: border-box; }

/* Header */
.post-article .article-title { margin:0; }

/* Hero image */
.post-article .hero-image-container { margin-bottom:30px; }
.post-article .hero-image { width:100%; display:block; }

/* Meta */
.post-article .article-meta-section { 
  margin-bottom:40px; 
  padding-bottom:20px; 
  border-bottom:1px solid #eee; 
}
.post-article .article-date-category { 
  display:flex; 
  grid-template-columns:auto auto; 
  gap:20px; 
  margin-bottom:15px; 
}
.post-article .article-tags { 
  display:flex; 
  flex-wrap:wrap; 
  gap:10px; 
}
.post-article .tag { 
  padding:6px 12px; 
  background:rgba(231, 77, 37, 0.23); 
  border:1px solid #e64d25; 
  border-radius:20px; 
  font-size:12px; 
}

/* Layout */
.post-article .post-layout { 
  display:grid; 
  grid-template-columns:2fr 1fr; 
  gap:50px; 
  margin-bottom:30px; 
}
.post-article .article-content h2 { margin-bottom:20px; }
.post-article .article-content h3 { margin:30px 0 15px; }
.post-article .article-content p { margin-bottom:20px; }

/* Related links list */
.post-article .related-links { 
  margin:40px 0; 
  padding:20px; 
  background:#f9fbff; 
  border:1px solid #e6eefc; 
  border-radius:8px; 
}
.post-article .related-links h4 { margin-bottom:15px; }

/* Share */
/* Share buttons grid */


.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #ccc;
  border-radius: 50%;
  color: #333;
  text-decoration: none;
  transition: all 0.25s ease;
}

.share-btn svg {
  width: 18px;
  height: 18px;
}

/* Hover effect */
.share-btn:hover {
  border-color: #000;
  color: #000;
  transform: translateY(-2px);
}

/* Optional brand colors */
.share-btn.facebook:hover { color: #1877f2; border-color: #1877f2; }
.share-btn.twitter:hover { color: #000; border-color: #000; }
.share-btn.linkedin:hover { color: #0a66c2; border-color: #0a66c2; }
.social-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.share-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #444;
  margin: 0;
}
/* ===== Related Articles grid (updated) ===== */
.post-article .related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.post-article .related-article {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

/* image stays at top with fixed height */
.post-article .related-image {
  height: 200px;
  overflow: hidden;
  flex: 0 0 auto;
}
.post-article .related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* content as flex column, meta pinned at bottom */
.post-article .related-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 20px;
  border-top: 1px solid #eee;
}

/* clamp title to 2 lines */
.post-article .related-content h3 {
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.25em * 2);
  line-height: 1.25;
}

/* clamp excerpt to 3 lines */
.post-article .related-content p {
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.2em * 3);
  line-height: 1.2;
  color: #333;
}

/* meta/date at bottom */
.post-article .related-meta {
  margin-top: auto;
  padding-top: 10px;
  color: #666;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #eee;
}

.post-article .related-date { font-size: 13px; }

/* Responsive */
@media (max-width:1024px){
  .post-article .post-layout { grid-template-columns:1fr; gap:40px; }
  .post-article .related-grid { grid-template-columns:repeat(2,1fr); gap:25px; }
}
@media (max-width:768px){
  .post-article .social-share { grid-template-columns:1fr; }
  .post-article .related-grid { grid-template-columns:1fr; gap:20px; }
}
@media (max-width:480px){
  .post-article .social-icons { grid-template-columns:repeat(2,1fr); }
}

.article-header {
  font-family: 'Ubuntu', sans-serif;
}


.share-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #444;
  margin: 0 8px 0 0;
}

/* Buttons */
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #ccc;
  border-radius: 50%;
  color: #333;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}

.share-btn svg { width: 18px; height: 18px; }
.share-btn:hover { transform: translateY(-2px); border-color: #000; color: #000; }

/* Brand hover accents (optional) */
.share-btn.facebook:hover { color: #1877f2; border-color: #1877f2; }
.share-btn.twitter:hover { color: #000; border-color: #000; }
.share-btn.linkedin:hover { color: #0a66c2; border-color: #0a66c2; }

/* Copy feedback */
.share-btn.copy { position: relative; }
.copy-feedback {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #e64d25;
  opacity: 0;
  transition: opacity .15s ease;
  pointer-events: none;
}
.share-btn.copy.is-copied .copy-feedback { opacity: 1; }
