/**
 * News page — Premium editorial / gold-savings brand
 * Aligns with index + contact: warm white, cream, gold, charcoal
 * Lucide only. Use with theme.css + Bootstrap.
 */
.news-page {
  background: var(--off-white);
  min-height: 100vh;
}

/* —— Hero (slide image) —— */
.news-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  /* border-radius: 0 0 var(--radius-2xl) var(--radius-2xl); */
  box-shadow: var(--shadow-soft-lg);
}
@media (min-width: 768px) {
  .news-hero { min-height: 320px; }
}
.news-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position:  center;
  background-repeat: no-repeat;
  background-color: var(--charcoal);
}
.news-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(31, 41, 55, 0.82) 0%, rgba(31, 41, 55, 0.5) 60%, rgba(31, 41, 55, 0.3) 100%);
}
.news-hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem;
  max-width: 640px;
}
.news-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.news-hero-badge i { width: 14px; height: 14px; }
.news-hero-title {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.news-hero-subtitle {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.news-hero .breadcrumb {
  justify-content: center;
  margin-bottom: 0;
  --bs-breadcrumb-divider: '›';
}
.news-hero .breadcrumb-item a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.news-hero .breadcrumb-item a:hover { color: #fff; }
.news-hero .breadcrumb-item.active { color: var(--gold-light); font-weight: 600; }

/* —— Section + category chips —— */
.news-section {
  padding: var(--space-3xl) 0;
  max-width: 1280px;
  margin: 0 auto;
}
.news-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.news-section-title i { width: 1.5rem; height: 1.5rem; color: var(--gold-deep); }
.news-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.news-chip {
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: inherit;
  cursor: pointer;
}
.news-chip:hover {
  border-color: var(--gold-mid);
  background: var(--soft-gold-bg);
  color: var(--gold-deep);
}
.news-chip.active {
  border-color: var(--gold-mid);
  background: var(--gold-gradient);
  color: var(--charcoal);
}
.news-chip:focus-visible {
  outline: 2px solid var(--gold-mid);
  outline-offset: 2px;
}

/* —— Featured article —— */
.news-featured {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 2.5rem;
  transition: box-shadow 0.25s ease, border-color 0.2s ease;
}
.news-featured:hover {
  box-shadow: var(--shadow-soft-md);
  border-color: rgba(212, 168, 75, 0.25);
}
.news-featured .row { margin: 0; }
.news-featured-img-wrap {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--soft-gold-bg) 100%);
}
@media (min-width: 992px) {
  .news-featured-img-wrap { min-height: 360px; }
}
.news-featured-img-wrap.news-img-fallback {
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--soft-gold-bg) 100%);
}
.news-featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.news-featured:hover .news-featured-img-wrap img {
  transform: scale(1.03);
}
.news-featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--gold-gradient);
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.news-featured-badge i { width: 12px; height: 12px; }
.news-featured-body {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 992px) {
  .news-featured-body { padding: 2.5rem 2.5rem; }
}
.news-featured-cat {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}
.news-featured-body h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}
.news-featured-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.news-featured-title-link:hover {
  color: var(--gold-deep);
}
.news-featured-body .lead {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.news-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.news-meta i { width: 14px; height: 14px; }
.news-featured .btn-read {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  border: none;
  background: var(--gold-gradient);
  color: var(--charcoal);
  text-decoration: none;
  width: fit-content;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-featured .btn-read:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--charcoal);
}
.news-featured .btn-read i { width: 18px; height: 18px; }

/* —— Article cards grid —— */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft-md);
  border-color: rgba(212, 168, 75, 0.35);
  color: inherit;
}
.news-card-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--soft-gold-bg) 100%);
}
.news-card-img-wrap.news-img-fallback {
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--soft-gold-bg) 100%);
}
.news-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}
.news-card:hover .news-card-img-wrap img {
  transform: scale(1.05);
}
.news-card-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.news-card-tag.price { background: rgba(212, 168, 75, 0.95); color: var(--charcoal); }
.news-card-tag.promo { background: rgba(233, 30, 99, 0.9); color: #fff; }
.news-card-tag.tip { background: rgba(34, 197, 94, 0.9); color: #fff; }
.news-card-tag.news { background: rgba(33, 150, 243, 0.9); color: #fff; }
.news-card-tag.knowledge { background: rgba(124, 58, 237, 0.9); color: #fff; }
.news-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-body .excerpt {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.75rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
}
.news-card-footer span { display: inline-flex; align-items: center; gap: 0.25rem; }
.news-card-footer i { width: 14px; height: 14px; }

/* —— Newsletter strip (optional) —— */
.news-newsletter {
  background: linear-gradient(160deg, var(--charcoal) 0%, #1a1a1a 100%);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.news-newsletter h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.news-newsletter h3 i { width: 1.25rem; height: 1.25rem; color: var(--gold-light); }
.news-newsletter p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.news-newsletter .form-control {
  max-width: 320px;
  margin: 0 auto 0.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.news-newsletter .form-control::placeholder { color: var(--text-subtle); }
.news-newsletter .form-control:focus {
  border-color: var(--gold-mid);
  box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.2);
}
.news-newsletter .btn-primary {
  background: var(--gold-gradient);
  border: none;
  color: var(--charcoal);
  font-weight: 700;
  border-radius: var(--radius);
}

/* —— Nav (reuse contact pattern) —— */
.news-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  position: sticky;
  top: 0;
  z-index: 100;
}
.news-nav .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--charcoal);
  text-decoration: none;
}
.news-nav .logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--gold-gradient);
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.news-nav .logo-icon i { width: 20px; height: 20px; }
.news-nav .nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
}
.news-nav .nav-link:hover { color: var(--gold-deep); background: var(--soft-gold-bg); }
.news-nav .nav-link.active { color: var(--gold-deep); font-weight: 600; }
.news-nav .btn-outline-primary { border-color: var(--gold-mid); color: var(--gold-deep); font-weight: 600; border-radius: var(--radius); }
.news-nav .btn-outline-primary:hover { background: var(--soft-gold-bg); border-color: var(--gold-mid); color: var(--gold-deep); }
.news-nav .btn-primary { background: var(--gold-gradient); border: none; color: var(--charcoal); font-weight: 600; border-radius: var(--radius); }
.news-nav .btn-primary:hover { filter: brightness(1.05); color: var(--charcoal); box-shadow: var(--shadow-soft); }

/* —— Footer —— */
.news-footer {
  background: var(--charcoal);
  color: var(--text-muted);
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}
.news-footer .footer-brand h3 { color: var(--gold-light); font-weight: 700; }
.news-footer .footer-col h4 { color: #fff; font-size: 0.875rem; font-weight: 600; }
.news-footer a { color: var(--text-muted); text-decoration: none; }
.news-footer a:hover { color: var(--gold-light); }

/* —— Responsive —— */
@media (max-width: 991px) {
  .news-hero { min-height: 260px; border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
  .news-featured-img-wrap { min-height: 220px; }
  .news-featured-body { padding: 1.5rem; }
}
@media (max-width: 767px) {
  .news-hero { min-height: 240px; }
  .news-hero-title { font-size: 1.5rem; }
  .news-chips { margin-bottom: 1.25rem; }
}
@media (max-width: 575px) {
  .news-card-img-wrap { height: 160px; }
  .news-nav .navbar-collapse { padding: 0.75rem 0; }
}

/* ========== News Detail Page ========== */
.news-detail-page .news-hero { display: none; }
.news-detail-main {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-4xl);
  min-height: 60vh;
}
.news-detail-container {
  max-width: 900px;
  margin: 0 auto;
}
.news-detail-breadcrumb {
  margin-bottom: var(--space-xl);
  padding-top: var(--space-sm);
}
.news-detail-breadcrumb .breadcrumb {
  margin: 0;
  padding: 0;
  background: none;
  font-size: var(--text-caption);
}
.news-detail-breadcrumb .breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.news-detail-breadcrumb .breadcrumb-item a:hover {
  color: var(--gold-deep);
}
.news-detail-breadcrumb .breadcrumb-item.active {
  color: var(--text-secondary);
  font-weight: 500;
}
.news-detail-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  color: var(--text-subtle);
  padding: 0 0.35rem;
}
.news-detail-article {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: var(--space-2xl);
}
.news-detail-header {
  padding: var(--space-2xl) var(--space-2xl) 0;
}
@media (max-width: 767px) {
  .news-detail-header { padding: var(--space-xl) var(--space-lg) 0; }
}
.news-detail-cat {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.news-detail-cat.price { background: rgba(212, 168, 75, 0.2); color: var(--gold-deep); }
.news-detail-cat.promo { background: rgba(233, 30, 99, 0.12); color: #be185d; }
.news-detail-cat.tip { background: rgba(34, 197, 94, 0.12); color: #15803d; }
.news-detail-cat.news { background: rgba(33, 150, 243, 0.12); color: #1565c0; }
.news-detail-cat.knowledge { background: rgba(124, 58, 237, 0.12); color: #5b21b6; }
.news-detail-title {
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 1rem;
  letter-spacing: var(--tracking-tight);
}
.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border);
}
.news-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.news-detail-meta i { width: 14px; height: 14px; }
.news-detail-hero {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--soft-gold-bg) 100%);
}
.news-detail-hero.news-img-fallback {
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--soft-gold-bg) 100%);
  min-height: 240px;
}
.news-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.news-detail-body {
  padding: var(--space-2xl);
}
@media (max-width: 767px) {
  .news-detail-body { padding: var(--space-xl); }
}
.news-detail-body-p {
  font-size: var(--text-body);
  line-height: var(--line-relaxed);
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}
.news-detail-body-p:last-child {
  margin-bottom: 0;
}
.news-detail-actions {
  margin-bottom: var(--space-3xl);
  text-align: left;
}
.news-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  padding: 0.6rem 1.25rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-detail-back:hover {
  transform: translateX(-2px);
  color: var(--gold-deep);
  border-color: var(--gold-mid);
  background: var(--soft-gold-bg);
}
.news-detail-back i { width: 18px; height: 18px; }
.news-detail-related {
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--border);
}
.news-detail-related .news-section-title {
  margin-bottom: 1.25rem;
}
