/* ============================
   GLPBASE NEWS — Shared Styles
   Landing page + Single article
   ============================ */

/* ── TAG COLORS (shared) ── */
.tag-glp1 { background: rgba(52,152,219,0.12); color: #2980b9; }
.tag-peptides { background: rgba(46,204,113,0.12); color: #27ae60; }
.tag-cellular { background: rgba(155,89,182,0.12); color: #8e44ad; }
.tag-exosomes { background: rgba(230,126,34,0.12); color: #d35400; }
.tag-aesthetics { background: rgba(231,76,60,0.12); color: #c0392b; }
.tag-fillers { background: rgba(231,76,60,0.12); color: #c0392b; }
.tag-hormones { background: rgba(241,196,15,0.15); color: #b8860b; }
.tag-regulatory { background: rgba(149,165,166,0.15); color: #7f8c8d; }
.tag-research { background: rgba(26,188,156,0.12); color: #16a085; }

/* ============================
   NEWS LANDING PAGE
   ============================ */

.news-breadcrumb {
  max-width: 1060px;
  margin: 0 auto;
  padding: 6px 24px 0;
  font-size: 13px;
  color: #888;
  font-family: 'Inter', sans-serif;
}
.news-breadcrumb a { color: #3A7CA5; text-decoration: none; }

.news-page-container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.news-page-header {
  text-align: center;
  padding: 12px 0 24px;
}
.news-page-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: #1B2838;
  margin-bottom: 8px;
}
.news-page-subtitle {
  font-size: 16px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Filter Tabs ── */
.news-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-bottom: 32px;
  padding: 0 16px;
}
.news-filter-tabs button {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Inter', sans-serif;
}
.news-filter-tabs button:hover {
  border-color: #C4A265;
  color: #1B2838;
}
.news-filter-tabs button.active {
  background: #1B2838;
  color: #fff;
  border-color: #1B2838;
}

/* ── News Grid ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* ── News Card ── */
.news-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.news-card a.news-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.news-card-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 3px;
  margin: 20px 20px 0;
}
.news-card-body {
  padding: 12px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card-date {
  font-size: 12px;
  color: #999;
  margin-bottom: 6px;
  font-weight: 500;
}
.news-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: #1B2838;
  margin-bottom: 8px;
  line-height: 1.3;
}
.news-card:hover .news-card-title {
  color: #C4A265;
}
.news-card-excerpt {
  font-size: 14.5px;
  color: #555;
  line-height: 1.6;
  flex: 1;
}
.news-card-source {
  margin-top: 12px;
  font-size: 12px;
  color: #999;
}

/* ── Featured Card ── */
.news-card.featured {
  grid-column: 1 / -1;
}
.news-card.featured a.news-card-link {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.news-card-image {
  overflow: hidden;
  min-height: 200px;
  background: linear-gradient(135deg, #1B2838 0%, #2c3e50 100%);
}
.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-card.featured .news-card-body {
  padding: 28px;
}
.news-card.featured .news-card-tag {
  margin: 0 0 8px;
}
.news-card.featured .news-card-title {
  font-size: 24px;
}

/* ── Regular Card Thumbnail ── */
.news-card-thumb {
  height: 180px;
  overflow: hidden;
}
.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Empty State ── */
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: #999;
  display: none;
}

/* ── Join Discussion CTA ── */
.news-cta-box {
  background: #1B2838;
  border-radius: 10px;
  padding: 32px;
  text-align: center;
  margin-top: 40px;
}
.news-cta-box h3 {
  font-family: 'Playfair Display', serif;
  color: #C4A265;
  font-size: 22px;
  margin-bottom: 8px;
}
.news-cta-box p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 20px;
}
.news-cta-btn {
  display: inline-block;
  background: #C4A265;
  color: #1B2838;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
}
.news-cta-btn:hover { background: #d4b275; }

/* ============================
   SINGLE NEWS ARTICLE
   ============================ */

.news-article-breadcrumb {
  max-width: 760px;
  margin: 0 auto;
  padding: 6px 24px 0;
  font-size: 13px;
  color: #888;
  font-family: 'Inter', sans-serif;
}
.news-article-breadcrumb a {
  color: #3A7CA5;
  text-decoration: none;
}
.news-article-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.news-article-header {
  padding: 24px 0 16px;
}
.news-article-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: #1B2838;
  line-height: 1.25;
  margin-bottom: 12px;
}
.news-article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #888;
  font-family: 'Inter', sans-serif;
}
.news-article-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 3px;
}
.news-article-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 24px;
}
.news-article-body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #333;
}
.news-article-body p {
  margin-bottom: 20px;
}
.news-article-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}
.news-article-nav a {
  color: #3A7CA5;
  text-decoration: none;
  max-width: 45%;
}
.news-article-nav a:hover { color: #C4A265; }
.news-article-nav .nav-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  margin-bottom: 4px;
}
.news-back-link {
  display: inline-block;
  margin-top: 32px;
  padding: 10px 24px;
  background: #1B2838;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
}
.news-back-link:hover {
  background: #C4A265;
  color: #1B2838;
}

/* ============================
   MOBILE RESPONSIVE
   ============================ */
@media (max-width: 768px) {
  .news-page-container { padding: 0 16px 40px; }
  .news-page-header { padding: 8px 0 16px; }
  .news-page-title { font-size: 26px; }
  .news-page-subtitle { font-size: 14px; }
  .news-grid { grid-template-columns: 1fr; gap: 16px; }
  .news-card.featured a.news-card-link { grid-template-columns: 1fr; }
  .news-card.featured .news-card-image { min-height: 180px; }
  .news-card.featured .news-card-body { padding: 16px 20px 20px; }
  .news-card.featured .news-card-title { font-size: 20px; }
  .news-card-thumb { height: 160px; }
  .news-filter-tabs { gap: 6px; }
  .news-filter-tabs button { padding: 6px 14px; font-size: 12px; }
  .news-cta-box { padding: 24px 16px; }
  .news-article-title { font-size: 24px; }
  .news-article-body { font-size: 15px; }
  .news-article-container { padding: 0 16px 40px; }
  .news-article-nav { flex-direction: column; }
  .news-article-nav a { max-width: 100%; }
}
@media (max-width: 480px) {
  .news-page-title { font-size: 22px; }
}
