/* ============================================
   SINGLE NEWS POST — single-news.php only
   (full editorial redesign)
   ============================================ */

/* ==========================================================
   NEWS-CARD COMPONENT — bug fix
   single-news.php's "More From Houzeome" related-articles grid
   reuses the exact .news-card markup from the News listing page,
   but news-page.css (which defines .news-card) is only enqueued
   for the page-news.php template, not for single news posts — so
   this grid was rendering completely unstyled here. Copied
   verbatim from news-page.css so it matches the listing page
   exactly, rather than introducing a new look.
   ========================================================== */
/* ── 3-Column Grid ── */
.news-grid-section {
  padding: 56px 80px 20px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
.news-card {
  background: #fff;
  box-shadow: 0 4px 18px rgba(48,48,48, .06);
  display: flex;
  flex-direction: column;
}
.news-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.news-card:hover .news-card-img img {
  transform: scale(1.04);
}
.news-card-img-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3A3A3A 0%, #1A1A1A 100%);
}
.news-card-tag {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--orange);
  color: #fff;
  font-family: 'Avenir Next Heading', 'Helvetica Neue', Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 11px;
}
.news-card-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.news-card-date {
  font-family: 'Avenir Next Subheading2', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #262626;
  font-family: 'Avenir Next Heading', 'Helvetica Neue', Arial, sans-serif;
}
.news-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  font-family: 'Avenir Next Subheading2', 'Helvetica Neue', Arial, sans-serif;
  flex: 1;
}
.news-card-more {
  font-family: 'Avenir Next Heading', 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  margin-top: 4px;
}
.news-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 0;
  color: var(--muted);
  font-family: 'Avenir Next Subheading2', 'Helvetica Neue', Arial, sans-serif;
}


/* HERO — full-width banner image with title overlaid, category/date/
   read-time row above it, matching the dark/light nav-swap pattern
   already used on Services/Portfolio/Contact/single-news via .single-news
   in the nav-fix rules further up this file. */
.news-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  background-color: #262626;
  background-image:
    linear-gradient(to top, rgba(48,48,48,.88) 10%, rgba(48,48,48,.35) 55%, rgba(48,48,48,.15) 100%),
    var(--news-hero-img);
  background-size: cover;
  background-position: center;
  padding-top: 140px;
}
.news-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--gutter) 56px;
  width: 100%;
}
.news-single-back {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #EDEDED;
  text-decoration: none;
  margin-bottom: 20px;
  font-family: 'Avenir Next Subheading2';
}
.news-single-back:hover { color: var(--orange); }

.news-single-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #EDEDED;
  font-family: 'Avenir Next Subheading2';
  margin-bottom: 18px;
}
.news-single-tag { color: var(--orange); }
.news-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: currentColor; opacity: .6; display: inline-block;
}

.news-hero h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  font-family: 'Cormorant Garamond';
  margin-bottom: 18px;
}
.news-single-excerpt {
  font-size: 18px;
  line-height: 1.6;
  color: #EDEDED;
  font-family: 'Avenir Next Subheading2';
  max-width: 720px;
}

/* ARTICLE BODY */
.news-single {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px var(--gutter) 0;
}

.news-single-content {
  font-size: 19px;
  line-height: 1.85;
  color: #2A2A2A;
  font-family: 'Avenir Next Subheading2';
}
.news-single-content p { margin-bottom: 28px; }
.news-single-content > p:first-of-type {
  font-size: 21px;
  color: #262626;
}
.news-single-content h2 {
  font-size: 28px;
  font-weight: 600;
  color: #262626;
  font-family: 'Cormorant Garamond';
  margin: 48px 0 18px;
}
.news-single-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: #262626;
  font-family: 'Cormorant Garamond';
  margin: 36px 0 16px;
}
.news-single-content img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 44px 0;
  display: block;
}
.news-single-content a { color: var(--orange); text-decoration: underline; }
.news-single-content ul,
.news-single-content ol { margin: 0 0 28px 24px; }
.news-single-content li { margin-bottom: 10px; }
.news-single-content blockquote,
.news-single-content .wp-block-quote {
  width: 100%;
  max-width: 100%;
  margin: 40px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--orange);
  font-style: normal;
  font-size: 22px;
  line-height: 1.6;
  color: #262626;
  font-family: 'Cormorant Garamond';
}

/* SHARE ROW */
.news-share {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 32px 0;
  margin-top: 24px;
  border-top: 1px solid #E4E4E4;
  border-bottom: 1px solid #E4E4E4;
}
.news-share-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
  font-family: 'Avenir Next Subheading2';
}
.news-share-links { display: flex; gap: 18px; }
.news-share-links a {
  font-size: 14px;
  font-weight: 600;
  color: #262626;
  text-decoration: none;
  font-family: 'Avenir Next Subheading2';
}
.news-share-links a:hover { color: var(--orange); }

/* AUTHOR BOX */
.news-author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 0 0;
}
.news-author-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
  font-family: 'Cormorant Garamond';
  flex-shrink: 0;
}
.news-author-name {
  font-size: 15px; font-weight: 700; color: #262626;
  font-family: 'Avenir Next Subheading2';
}
.news-author-role {
  font-size: 13px; color: var(--muted);
  font-family: 'Avenir Next Subheading2';
}

/* RELATED */
.news-related {
  padding: 80px var(--gutter);
  background: #FAFAFA;
  margin-top: 56px;
}
.news-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* CLOSING CTA */
.news-cta {
  padding: 72px var(--gutter);
  background: #262626;
  text-align: center;
}
.news-cta-content { max-width: 560px; margin: 0 auto; }
.news-cta h2 {
  font-size: 32px; font-weight: 600; color: #fff;
  font-family: 'Cormorant Garamond'; margin-bottom: 14px;
}
.news-cta p {
  font-size: 16px; color: #EDEDED;
  font-family: 'Avenir Next Subheading2'; margin-bottom: 28px;
}

@media (max-width: 768px) {
  .news-hero { min-height: 360px; padding-top: 100px; }
  .news-hero-inner { padding: 0 24px 40px; }
  .news-hero h1 { font-size: 26px; }
  .news-single-excerpt { font-size: 15px; }
  .news-single { padding: 40px 24px 0; }
  .news-single-content { font-size: 16px; }
  .news-single-content > p:first-of-type { font-size: 17px; }
  .news-share { flex-direction: column; align-items: flex-start; gap: 14px; }
  .news-related { padding: 48px 24px; }
  .news-related-grid { grid-template-columns: 1fr; gap: 24px; }
  .news-cta { padding: 48px 24px; }
  .news-cta h2 { font-size: 24px; }
}
