/* ==========================================================================
   GulfNews18 — article page styles (screen)
   Reuses .widget / .widget-title / .trending-item from header.php so the
   sidebar matches the rest of the site.
   ========================================================================== */

/* --- Breadcrumb -------------------------------------------------------- */

.article-breadcrumb {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 18px;
}

.article-breadcrumb a {
  color: var(--primary-navy, #1E3A8A);
  text-decoration: none;
}

.article-breadcrumb a:hover {
  text-decoration: underline;
}

.article-breadcrumb .sep {
  margin: 0 7px;
  color: #b9b9b9;
}

/* --- Headline area ----------------------------------------------------- */

.article-col h1 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--dark-gray, #1F2937);
  margin-bottom: 14px;
}

@media (max-width: 767px) {
  .article-col h1 { font-size: 1.55rem; }
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 0.9rem;
  color: #6c757d;
  padding-bottom: 14px;
  border-bottom: 1px solid #e6e6e6;
  margin-bottom: 20px;
}

.article-byline .author {
  font-weight: 600;
  color: var(--dark-gray, #1F2937);
}

/* --- Banner ------------------------------------------------------------ */

.article-banner {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 767px) {
  .article-banner { height: 210px; }
}

/* --- Body copy --------------------------------------------------------- */

.article-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2b2b2b;
  margin-bottom: 18px;
}

.article-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy, #1E3A8A);
}

/* --- Share row --------------------------------------------------------- */

.article-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  margin: 26px 0;
}

.article-share .label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6c757d;
  margin-right: 4px;
}

.share-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.2s, opacity 0.2s;
}

.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  color: #fff;
}

.share-x        { background: #000; }
.share-facebook { background: #1877F2; }
.share-whatsapp { background: #25D366; }
.share-linkedin { background: #0A66C2; }

/* --- Tags -------------------------------------------------------------- */

.article-tags {
  margin: 22px 0;
}

.article-tags .label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6c757d;
  margin-right: 6px;
}

.tag-pill {
  display: inline-block;
  background: #eef2f9;
  color: var(--primary-navy, #1E3A8A);
  border: 1px solid #dde4ef;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin: 0 6px 8px 0;
  text-decoration: none;
}

.tag-pill:hover {
  background: var(--primary-navy, #1E3A8A);
  color: #fff;
}

/* --- Author box -------------------------------------------------------- */

.author-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-left: 4px solid var(--primary-gold, #FBBF24);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 26px 0 10px;
}

.author-box .avatar {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 50%;
  background: var(--primary-navy, #1E3A8A);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.author-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--dark-gray, #1F2937);
}

.author-box p {
  font-size: 0.88rem;
  color: #6c757d;
  margin: 0;
  line-height: 1.6;
}

/* --- Sidebar ----------------------------------------------------------- */

.article-sidebar {
  position: sticky;
  top: 20px;
}

@media (max-width: 991px) {
  .article-sidebar { position: static; margin-top: 30px; }
}

.side-story {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #ececec;
  text-decoration: none;
}

.side-story:last-child { border-bottom: none; }

.side-story img {
  width: 82px;
  height: 60px;
  flex: 0 0 82px;
  object-fit: cover;
  border-radius: 6px;
}

.side-story .meta {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 600;
  color: var(--primary-gold, #d69e00);
  display: block;
  margin-bottom: 3px;
}

.side-story h5 {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--dark-gray, #1F2937);
  margin: 0;
}

.side-story:hover h5 { color: var(--primary-navy, #1E3A8A); }

.newsletter-note {
  font-size: 0.85rem;
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}
