/* Add this on the article container */
.content-sections p:first-of-type::first-letter {
  float: left;
  font-size: 4rem; /* 3–4 lines: try 3.5rem–4.5rem */
  line-height: 0.85;
  font-weight: 600;
  margin-right: 0.14em;
  margin-top: 0.05em;
}

.feature-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.feature-img:hover img {
  transform: scale(1.05);
}
.article-meta {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.article-meta h5 {
  color: #2d2d2d;
  margin-bottom: 15px;
}

.meta-item {
  display: flex;
  align-items: center;
  color: #666;
}

.meta-item i {
  width: 20px;
  margin-right: 10px;
  color: #ff6b35;
}
.tags {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.tag {
  display: inline-block;
  background: #f8f9fa;
  color: #666;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  margin: 5px 5px 5px 0;
  border: 1px solid #eee;
}

.tag:hover {
  background: #ff6b35;
  color: white;
  border-color: #ff6b35;
}

.blog-author {
  padding: 25px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fafafa;
}

/* Author box */
.author-divider {
  border: 0;
  border-top: 1px solid #eee;
  margin: 32px 0 18px;
}

.author-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 18px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.author-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: #777;
  margin-bottom: 12px;
}

.author-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff6b35;
  display: inline-block;
}

.author-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(255, 107, 53, 0.18);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.author-divider.author-name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #2d2d2d;
}

.author-sub {
  margin: 4px 0 10px;
  color: #666;
  font-weight: 600;
}

.author-bio {
  margin: 0;
  color: #666;
}

.author-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.author-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #eee;
  background: #fafafa;
  color: #444;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.author-social a:hover {
  transform: translateY(-2px);
  background: #ff6b35;
  border-color: #ff6b35;
  color: #fff;
}

.blog-meta-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-family: Arial, sans-serif; /* BBC uses a clean sans-serif */
  font-size: 14px;
  color: #555;
  border-top: 1px solid #eee; /* Optional: adds that clean line look */
  padding-top: 15px;
}

.blog-meta-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* Container resets */
.blog-info-link {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.blog-share-m {
  display: none;
}

/* Mobile Rules */
@media (max-width: 767px) {
  .w-100-mobile {
    flex: 0 0 100%; /* Force author to take full width */
    justify-content: space-between;
  }

  .blog-share {
    display: none !important;
  }

  .blog-share-m {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 15px;
  }

  .meta-item {
    margin-top: 5px;
    margin-right: 15px; /* Space between Date and Clock */
  }

  /* line 719, C:/Users/HP/Desktop/jun-2020/277.Charity _Non-profit/assets/scss/_blog_page.scss */
  .blog-info-link li:first-child::after {
    display: none;
  }
}

/* Desktop Rules */
@media (min-width: 768px) {
  .author-info {
    margin-right: 20px; /* Space between Author and Date on desktop */
  }
}

.author-info {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.author-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #000;
  margin-right: 10px;
  object-fit: cover;
}

.author-name {
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.meta-divider {
  margin: 0 10px;
  color: #999;
}

.meta-category {
  color: #bb1919; /* BBC World Red */
  font-weight: bold;
}

/* Share Section Styling */
.blog-share {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 15px;
}

.share-label {
  font-weight: normal;
  color: #666;
}

.share-icon {
  font-size: 20px;
  text-decoration: none;
}

.share-icon.tw {
  color: #1da1f2;
}
.share-icon.fb {
  color: #1877f2;
}
.share-icon.link {
  color: #1877f2;
}

/* Sidebar "Top Stories" cards */
.top-stories {
  display: grid;
  gap: 14px;
}

.story-card {
  display: grid;
  gap: 10px;
}

.story-thumb {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.story-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.story-thumb:hover img {
  transform: scale(1.04);
}

.story-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 12px;
  font-weight: 600;
}

.story-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.story-title a {
  color: #2d2d2d;
  text-decoration: none;
}

.story-title a:hover {
  color: #ff6b35;
}


/* Skeleton Base */
.skeleton {
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    border-radius: 5px;
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
}

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}

/* Skeleton Layout Wrappers */
.skeleton-image {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
}

.skeleton-title {
    height: 40px;
    width: 80%;
    margin-bottom: 20px;
}

.skeleton-meta {
    height: 20px;
    width: 40%;
    margin-bottom: 30px;
}

.skeleton-text {
    height: 15px;
    width: 100%;
    margin-bottom: 12px;
}

.skeleton-text.short {
    width: 60%;
}

/* Specific to your sidebar */
.story-card-skeleton {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.skeleton-thumb {
    height: 160px;
    width: 100%;
    border-radius: 14px;
}