/* ==========================================================================
   News & Updates / SEO Blog Styles — Zant Realty (Luxury Dark & Gold)
   ========================================================================== */

.news-body {
  background: var(--bg-page, #090a0f);
  color: #f4f5f8;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.news-page {
  --news-bg: #090a0f;
  --news-panel: #11131c;
  --news-panel-2: #161928;
  --news-line: rgba(255, 255, 255, 0.08);
  --news-muted: #9ba0b4;
  --news-text: #f4f5f8;
  --news-primary: #b88628;
  --news-primary-2: #c99b3b;
  --news-primary-glow: rgba(184, 134, 40, 0.2);
  min-height: 80vh;
}

/* ---------------- Hero Section ---------------- */
.news-hero {
  padding: 60px 0 36px;
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(184, 134, 40, 0.16), transparent 60%),
    radial-gradient(800px 380px at 85% 15%, rgba(47, 109, 235, 0.08), transparent 55%),
    var(--news-bg);
  border-bottom: 1px solid var(--news-line);
}

.news-hero-inner {
  max-width: 860px;
}

.news-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(184, 134, 40, 0.14);
  color: var(--news-primary-2);
  border: 1px solid rgba(184, 134, 40, 0.28);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-badge svg {
  width: 14px;
  height: 14px;
}

.news-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  font-weight: 800;
}

.news-hero p {
  margin: 0 0 24px;
  color: var(--news-muted);
  font-size: 16px;
  line-height: 1.6;
}

.news-search-box {
  display: flex;
  max-width: 560px;
  background: var(--news-panel);
  border: 1px solid var(--news-line);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease;
}

.news-search-box:focus-within {
  border-color: var(--news-primary);
}

.news-search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 10px 16px;
  font-size: 14px;
  outline: none;
}

.news-search-input::placeholder {
  color: var(--news-muted);
}

.news-search-btn {
  background: var(--news-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.news-search-btn:hover {
  background: var(--news-primary-2);
}

/* ---------------- Category Pills ---------------- */
.news-categories-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 24px 0 12px;
  scrollbar-width: none;
}

.news-categories-bar::-webkit-scrollbar {
  display: none;
}

.news-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--news-panel);
  border: 1px solid var(--news-line);
  color: var(--news-muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.news-category-pill:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--news-panel-2);
}

.news-category-pill.is-active {
  background: var(--news-primary);
  color: #ffffff;
  border-color: var(--news-primary);
  font-weight: 600;
  box-shadow: 0 4px 14px var(--news-primary-glow);
}

.news-category-count {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: inherit;
}

/* ---------------- Featured Spotlight Card ---------------- */
.news-featured-card {
  margin: 32px 0 48px;
  background: var(--news-panel);
  border: 1px solid var(--news-line);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  transition: border-color 0.25s ease, transform 0.25s ease;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.news-featured-card:hover {
  border-color: var(--news-primary);
  transform: translateY(-3px);
}

.news-featured-img-wrap {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.news-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-featured-card:hover .news-featured-img {
  transform: scale(1.04);
}

.news-featured-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--news-primary-2);
  margin-bottom: 12px;
}

.news-featured-title {
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.25;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px;
}

.news-featured-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-featured-title a:hover {
  color: var(--news-primary-2);
}

.news-featured-summary {
  color: var(--news-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.news-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--news-muted);
}

.news-author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--news-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

/* ---------------- Articles Grid ---------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.news-card {
  background: var(--news-panel);
  border: 1px solid var(--news-line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 134, 40, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.news-card-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #191c2b;
}

.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-img {
  transform: scale(1.06);
}

.news-card-badge-float {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(9, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 700;
  color: var(--news-primary-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.news-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-card-title a:hover {
  color: var(--news-primary-2);
}

.news-card-excerpt {
  color: var(--news-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--news-line);
  padding-top: 14px;
  font-size: 12px;
  color: var(--news-muted);
}

.news-read-more {
  color: var(--news-primary-2);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}

.news-read-more:hover {
  transform: translateX(3px);
}

/* ---------------- Newsletter Banner ---------------- */
.news-newsletter-box {
  background: linear-gradient(135deg, rgba(184, 134, 40, 0.12) 0%, rgba(22, 25, 40, 0.9) 100%);
  border: 1px solid rgba(184, 134, 40, 0.3);
  border-radius: 20px;
  padding: 44px;
  margin: 48px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.news-newsletter-text {
  max-width: 500px;
}

.news-newsletter-text h3 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
}

.news-newsletter-text p {
  color: var(--news-muted);
  font-size: 15px;
  margin: 0;
  line-height: 1.5;
}

.news-newsletter-form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 420px;
}

/* ---------------- Single Article View ---------------- */
.article-header {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--news-line);
  background: radial-gradient(900px 320px at 50% 0%, rgba(184, 134, 40, 0.1), transparent 60%);
}

.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--news-muted);
  margin-bottom: 20px;
}

.article-breadcrumbs a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-breadcrumbs a:hover {
  color: var(--news-primary-2);
}

.article-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 18px;
}

.article-summary-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #bdc1c6;
  margin-bottom: 24px;
  font-weight: 400;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 0;
  border-top: 1px solid var(--news-line);
}

.article-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-featured-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--news-line);
  margin: 32px 0 36px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

/* ---------------- Article Body & Rich Content ---------------- */
.article-container {
  max-width: 820px;
  margin: 0 auto;
}

.article-content {
  font-size: 17px;
  line-height: 1.75;
  color: #e3e5ec;
}

.article-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  margin: 40px 0 16px;
  letter-spacing: -0.02em;
}

.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 32px 0 14px;
}

.article-content p {
  margin: 0 0 20px;
}

.article-content ul, .article-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 10px;
}

.article-content blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  background: var(--news-panel);
  border-left: 4px solid var(--news-primary);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #ffffff;
}

.article-content blockquote cite {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--news-primary-2);
  margin-top: 8px;
  font-weight: 600;
}

.article-content strong {
  color: #ffffff;
  font-weight: 700;
}

.article-content a {
  color: var(--news-primary-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: #ffffff;
}

.news-callout {
  background: rgba(184, 134, 40, 0.08);
  border: 1px solid rgba(184, 134, 40, 0.25);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0;
}

.news-callout h4 {
  font-size: 16px;
  color: var(--news-primary-2);
  font-weight: 700;
  margin: 0 0 8px;
}

.news-callout p {
  margin: 0;
  font-size: 15px;
}

/* ---------------- Social Share Bar ---------------- */
.article-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 40px 0;
  padding: 18px 24px;
  background: var(--news-panel);
  border: 1px solid var(--news-line);
  border-radius: 12px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: var(--news-primary);
  border-color: var(--news-primary);
}

.share-btn svg {
  width: 14px;
  height: 14px;
}

/* ---------------- Author Bio Box ---------------- */
.article-author-card {
  display: flex;
  gap: 20px;
  background: var(--news-panel);
  border: 1px solid var(--news-line);
  border-radius: 16px;
  padding: 28px;
  margin: 48px 0;
}

.author-bio-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--news-primary);
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-bio-details h4 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
}

.author-bio-details .author-role {
  font-size: 13px;
  color: var(--news-primary-2);
  margin-bottom: 8px;
  font-weight: 600;
}

.author-bio-details p {
  font-size: 14px;
  color: var(--news-muted);
  line-height: 1.55;
  margin: 0;
}

/* ---------------- Related Articles ---------------- */
.related-section {
  padding: 48px 0;
  border-top: 1px solid var(--news-line);
  background: var(--news-bg);
}

.related-section h3 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 24px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .news-featured-card {
    grid-template-columns: 1fr;
  }
  .news-featured-img-wrap {
    min-height: 240px;
  }
  .news-featured-content {
    padding: 24px;
  }
  .news-newsletter-box {
    padding: 28px 20px;
  }
  .article-author-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
