/* minimal styling - responsive & fast */
body{
    background:#efefef;
    color:#222;
    font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial; 
    line-height: 1.7;}
    
.container{max-width:1100px}

.card-img-top{object-fit:cover;height:220px}

.post-content img{max-width:100%;height:auto}


/* --- Magazine Layout Styles --- */

.hero-feature {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.hero-feature img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.hero-feature .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  color: #fff;
}
.hero-feature .overlay h2 {
  font-weight: 700;
  font-size: 1.8rem;
}
.hero-feature .overlay a {
  color: #fff;
  text-decoration: none;
}
.hero-feature .overlay a:hover {
  text-decoration: underline;
}

.article-card {
  background: #fff;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.article-card:hover {
  transform: translateY(-5px);
}
.article-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}
.article-card .card-body {
  padding: 1rem;
}
.article-card h5 {
  font-size: 1.1rem;
  font-weight: 600;
}
.article-card p.meta {
  font-size: 0.85rem;
  color: #999;
}

.sidebar .card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.sidebar h6 {
  font-weight: 700;
  margin-bottom: 10px;
}
.sidebar ul li {
  padding: 6px 0;
}
.sidebar ul li a {
  color: #333;
  text-decoration: none;
}
.sidebar ul li a:hover {
  color: #007bff;
}

.pagination .page-item.active .page-link {
  background-color: #007bff;
  border-color: #007bff;
}
.pagination .page-link {
  color: #007bff;
}

@media (max-width: 767px) {
  .hero-feature img { height: 240px; }
  .hero-feature .overlay { padding: 15px; }
  .hero-feature .overlay h2 { font-size: 1.3rem; }
  .article-card img { height: 180px; }
}


/* --- Post Page Styles --- */
.article-header {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.article-header img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.article-header .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  padding: 30px;
}
.article-header h1 {
  font-size: 2rem;
  font-weight: 700;
}
.article-meta {
  font-size: 0.9rem;
  color: #666;
}

/* --- Enhanced Share Buttons --- */
.share-buttons-wrapper {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  padding: 20px;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.share-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  color: #fff !important;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.share-buttons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Brand colors */
.share-buttons a.fb { background: #3b5998; }
.share-buttons a.tw { background: #1da1f2; }
.share-buttons a.li { background: #0077b5; }
.share-buttons a.wa { background: #25d366; }
.share-buttons a.em { background: #dd4b39; }

/* Ensure icon color always white */
.share-buttons a i { color: #fff !important; }


/* Small screens */
@media(max-width:768px) {
  .share-buttons a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}



.comments .comment h6 { margin: 0; font-size: 1rem; }
.comments .comment small { color: #888; font-size: 0.8rem; }
.comment-form textarea {
  resize: vertical;
  min-height: 120px;
}
@media(max-width:768px){
  .article-header img{ height: 250px; }
  .article-header .overlay{ padding:15px; }
}