
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Roboto', sans-serif;
  background: #000000;
  color: #c3c7c8;
  line-height: 1.7;
  font-size: 16px;
}

a { color: #c3c7c8; text-decoration: none; }
a:hover { color: #ffffff; }

/* ── NAV BAR ── */
.site-header {
  background: #000;
  border-bottom: 1px solid #1a1a1a;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  height: 64px;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.site-logo .logo-icon {
  width: 40px;
  height: 40px;
}
.site-logo .logo-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.site-logo .logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.site-nav a {
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  padding: 0.4rem 0.75rem;
  text-decoration: none;
  transition: color 0.15s;
}
.site-nav a:hover { color: #c3c7c8; }
.site-nav a.nav-beauty {
  color: #ffffff;
  font-weight: 500;
}
.site-nav a.nav-tracker { color: #ffe600; }
.site-nav a.nav-tracker:hover { color: #ffd000; }

/* ── ARTICLE HEADER AREA ── */
.article-header-area {
  background: #000;
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid #1a1a1a;
}
.article-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.breadcrumbs {
  font-size: 13px;
  color: #888;
  margin-bottom: 1.25rem;
}
.breadcrumbs a { color: #888; }
.breadcrumbs a:hover { color: #c3c7c8; }
.breadcrumbs .sep { margin: 0 0.4rem; }

.article-header-area h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  max-width: 900px;
  margin-bottom: 1.25rem;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.tag-badge {
  display: inline-block;
  background: #2ecc71;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}
.tag-badge:hover { background: #27ae60; color: #fff; }

/* Keyword tags — visually distinct from category badge */
.keyword-tag {
  display: inline-block;
  background: #1a7a42;
  color: #c3c7c8;
  font-size: 11px;
  font-weight: 400;
  padding: 3px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}
.keyword-tag:hover { background: #156634; color: #fff; }

.article-author-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-info {
  font-size: 14px;
  color: #c3c7c8;
}
.author-info .author-name {
  color: #2ecc71;
  font-weight: 500;
}
.author-info .post-date {
  color: #888;
  margin-left: 0.5rem;
}

/* ── ARTICLE BODY ── */
.article-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}
.article-body p {
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
  color: #c3c7c8;
  line-height: 1.75;
}
.article-body h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}
.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 2rem 0 0.8rem;
}
.article-body ul, .article-body ol {
  margin: 0.75rem 0 1.5rem 1.5rem;
}
.article-body li {
  margin-bottom: 0.6rem;
  font-size: 1.02rem;
  color: #c3c7c8;
  line-height: 1.7;
}
.article-body strong { color: #ffffff; }
.article-body em { color: #c3c7c8; }
.article-body hr {
  border: none;
  border-top: 1px solid #1e1e1e;
  margin: 2rem 0;
}

/* Key finding box */
.article-body p strong:first-child {
  color: #2ecc71;
}

.sources-section {
  border-top: 1px solid #1e1e1e;
  margin-top: 3rem;
  padding-top: 2rem;
}
.sources-section h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #555;
  margin-bottom: 1rem;
}
.sources-section li {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 0.5rem;
}

/* ── HOME / LISTING PAGE ── */
.page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.section-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2rem;
}

/* Horizontal article card — MDP "Recent Posts" style */
.post-list { list-style: none; }
.post-card {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid #111;
}
.post-card:last-child { border-bottom: none; }

.post-card-image-wrap {
  flex-shrink: 0;
  width: 290px;
  min-height: 180px;
  position: relative;
  overflow: hidden;
}
.post-card-image {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}

/* per-category gradient "featured images" */
.img-ingredient { background: linear-gradient(135deg, #0d2137 0%, #0a3d2b 100%); }
.img-hair       { background: linear-gradient(135deg, #1a0d37 0%, #2d1b5a 100%); }
.img-guide      { background: linear-gradient(135deg, #0d2626 0%, #0a3345 100%); }
.img-research   { background: linear-gradient(135deg, #0d1f0d 0%, #0a3320 100%); }
.img-celebrity  { background: linear-gradient(135deg, #2a1a00 0%, #3d2800 100%); }

.post-card-image-tags {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.post-card-image-tags .tag-badge {
  font-size: 11px;
  padding: 3px 9px;
}

.post-card-content {
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.post-card-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.post-card-meta .meta-icon { font-size: 11px; }
.post-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  text-decoration: none;
  display: block;
}
.post-card-title:hover { color: #c3c7c8; }
.post-card-excerpt {
  font-size: 0.95rem;
  color: #c3c7c8;
  line-height: 1.6;
  margin-bottom: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Keyword tags row on cards */
.post-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}
.post-card-readmore {
  font-size: 0.9rem;
  color: #7f8c8d;
  text-decoration: none;
}
.post-card-readmore:hover { color: #95a5a6; }

/* ── FOOTER ── */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid #1a1a1a;
  padding: 1rem 1.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-copy {
  font-size: 13px;
  color: #777;
  margin: 0;
}
.footer-copy a { color: #777; }
.footer-copy a:hover { color: #c3c7c8; }
.footer-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: #777;
}
.footer-links a:hover { color: #c3c7c8; }
.fsep { color: #555; margin: 0 0.4rem; font-size: 13px; }
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-social a {
  color: #777;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.footer-social a:hover { color: #fff; }

/* Gatlan responsive */
@media (max-width: 768px) {
  .gatlan-callout { flex-direction: column !important; }
  .gatlan-callout .gatlan-images { width: 100% !important; text-align: center; }
  .gatlan-callout .gatlan-images img { margin: 0 auto; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-right { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .article-header-area h1 { font-size: 1.8rem; }
  .post-card { flex-direction: column; }
  .post-card-image-wrap { width: 100%; min-height: 160px; }
  .section-heading { font-size: 1.6rem; }
}
