/* ===========================================
   NAVIRA CORPORATE — Blog Layout Stylesheet
   navira-blog.css  |  v1.0.2
   Hard-coded colors (no CSS variable dependency)
   =========================================== */

/* ── GOOGLE FONT ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── FORCE CSS VARIABLES ── */
html, :root {
  --nvr-navy:       #0B1C35 !important;
  --nvr-navy-dark:  #071224 !important;
  --nvr-navy-mid:   #112644 !important;
  --nvr-gold:       #C9A84C !important;
  --nvr-gold-hover: #dbb95c !important;
  --nvr-white:      #ffffff !important;
  --nvr-bg:         #F5F7FA !important;
  --nvr-text:       #1A2B3C !important;
  --nvr-muted:      #64748B !important;
  --nvr-border:     #E2E8F0 !important;
  --nvr-radius:     8px !important;
  --nvr-font:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  --nvr-shadow:     0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06) !important;
}

/* ── BASE ── */
.nvr-breadcrumb-bar,
.nvr-post-hero,
.nvr-featured-image-wrap,
.nvr-blog-layout,
.nvr-article-body,
.nvr-sidebar,
.nvr-widget,
.nvr-widget-cta {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
}

/* ─────────────────────────────────────────
   BREADCRUMB BAR
───────────────────────────────────────── */
.nvr-breadcrumb-bar {
  background: #ffffff;
  border-bottom: 1px solid #E2E8F0;
  padding: 10px 0;
  width: 100%;
}
.nvr-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.nvr-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #64748B;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nvr-breadcrumb a { color: #C9A84C; text-decoration: none; }
.nvr-breadcrumb a:hover { text-decoration: underline; }
.nvr-bc-sep { opacity: .5; }

/* ─────────────────────────────────────────
   POST HERO
───────────────────────────────────────── */
.nvr-post-hero {
  background: linear-gradient(135deg, #0B1C35 0%, #112644 60%, #0d2040 100%) !important;
  padding: 52px 0 48px !important;
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
}
.nvr-post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,.1) 0%, transparent 60%);
  pointer-events: none;
}
.nvr-post-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.4), transparent);
}

/* Category badge */
.nvr-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.35);
  color: #C9A84C;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 18px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

/* Post title */
.nvr-post-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.22;
  max-width: 820px;
  margin: 0 0 22px;
  letter-spacing: -.4px;
}

/* Meta row */
.nvr-post-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.nvr-author-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nvr-author-avatar,
.nvr-author-avatar img {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(201,168,76,.4) !important;
  object-fit: cover;
  display: block;
}
.nvr-author-info { display: flex; flex-direction: column; gap: 1px; }
.nvr-author-name { font-size: 13.5px; font-weight: 600; color: #ffffff !important; }
.nvr-author-role { font-size: 11.5px; color: rgba(255,255,255,.5) !important; }
.nvr-meta-sep   { width: 1px; height: 24px; background: rgba(255,255,255,.15); }
.nvr-meta-item  {
  font-size: 12.5px;
  color: rgba(255,255,255,.55) !important;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ─────────────────────────────────────────
   FEATURED IMAGE
───────────────────────────────────────── */
.nvr-featured-image-wrap {
  background: #ffffff;
  border-bottom: 1px solid #E2E8F0;
  width: 100%;
}
.nvr-featured-image {
  max-width: 1200px;
  margin: 0 auto;
}
.nvr-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* ─────────────────────────────────────────
   BLOG GRID LAYOUT
───────────────────────────────────────── */
.nvr-blog-layout { background: #F5F7FA; padding: 40px 0 64px; width: 100%; }
.nvr-blog-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* ─────────────────────────────────────────
   ARTICLE BODY
───────────────────────────────────────── */
.nvr-article-body {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  overflow: hidden;
  min-width: 0;
}

/* ── WordPress content styles ── */
.nvr-content-area {
  padding: 36px;
  font-size: 15.5px;
  line-height: 1.8;
  color: #1A2B3C;
}
.nvr-content-area h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0B1C35;
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #E2E8F0;
  position: relative;
}
.nvr-content-area h2::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 48px; height: 2px;
  background: #C9A84C;
}
.nvr-content-area h3 {
  font-size: 19px;
  font-weight: 700;
  color: #0B1C35;
  margin: 28px 0 12px;
}
.nvr-content-area h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0B1C35;
  margin: 22px 0 10px;
}
.nvr-content-area p { margin: 0 0 18px; color: #374151; }
.nvr-content-area a { color: #C9A84C; text-decoration: underline; text-underline-offset: 2px; }
.nvr-content-area a:hover { color: #0B1C35; }
.nvr-content-area ul,
.nvr-content-area ol { margin: 0 0 18px 22px; }
.nvr-content-area li { margin-bottom: 6px; }
.nvr-content-area strong { color: #0B1C35; font-weight: 700; }
.nvr-content-area blockquote {
  border-left: 3px solid #C9A84C;
  padding: 14px 20px;
  margin: 24px 0;
  background: #f8fafc;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #64748B;
}
.nvr-content-area img { max-width: 100%; border-radius: 8px; margin: 20px 0; }
.nvr-content-area table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.nvr-content-area table th { background: #0B1C35; color: #ffffff; padding: 10px 14px; text-align: left; font-weight: 600; font-size: 13px; }
.nvr-content-area table td { padding: 10px 14px; border-bottom: 1px solid #E2E8F0; }
.nvr-content-area table tr:nth-child(even) td { background: #F5F7FA; }

/* ─────────────────────────────────────────
   POST NAVIGATION
───────────────────────────────────────── */
.nvr-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 36px 32px;
  padding-top: 24px;
  border-top: 1px solid #E2E8F0;
}
.nvr-post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: #F5F7FA;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.nvr-post-nav-item:hover { border-color: #C9A84C; background: #ffffff; }
.nvr-post-nav-next { text-align: right; }
.nvr-nav-label { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #C9A84C; }
.nvr-nav-title { font-size: 13.5px; font-weight: 600; color: #0B1C35; line-height: 1.4; }

/* ─────────────────────────────────────────
   AUTHOR BOX
───────────────────────────────────────── */
.nvr-author-box {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin: 0 36px 28px;
  padding: 24px;
  background: #F5F7FA;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
}
.nvr-author-box-avatar img { width: 64px !important; height: 64px !important; border-radius: 50% !important; border: 3px solid rgba(201,168,76,.3) !important; object-fit: cover; }
.nvr-author-box-name { font-size: 15px; font-weight: 700; color: #0B1C35; margin-bottom: 2px; }
.nvr-author-box-role { font-size: 12.5px; font-weight: 600; color: #C9A84C; margin-bottom: 8px; }
.nvr-author-box-bio  { font-size: 13.5px; color: #64748B; line-height: 1.65; margin: 0 0 10px; }
.nvr-author-box-cta  {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; color: #C9A84C;
  border: 1.5px solid rgba(201,168,76,.35); padding: 7px 16px;
  border-radius: 5px; text-decoration: none; transition: border-color .2s, background .2s;
}
.nvr-author-box-cta:hover { border-color: #C9A84C; background: rgba(201,168,76,.07); }

/* ─────────────────────────────────────────
   SHARE BAR
───────────────────────────────────────── */
.nvr-share-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: 0 36px 32px; padding: 14px 18px;
  background: #F5F7FA; border: 1px solid #E2E8F0; border-radius: 8px;
}
.nvr-share-label { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: #64748B; margin-right: 4px; }
.nvr-share-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 13px; border-radius: 5px; font-family: 'Inter', sans-serif;
  font-size: 12.5px; font-weight: 600; cursor: pointer; border: none;
  text-decoration: none; transition: opacity .2s;
}
.nvr-share-btn:hover { opacity: .85; }
.nvr-share-fb   { background: #1877f2; color: #fff; }
.nvr-share-tw   { background: #000;    color: #fff; }
.nvr-share-li   { background: #0077b5; color: #fff; }
.nvr-share-wa   { background: #25d366; color: #fff; }
.nvr-share-copy { background: #E2E8F0; color: #1A2B3C; }

/* ─────────────────────────────────────────
   RELATED POSTS
───────────────────────────────────────── */
.nvr-related-section { margin: 0 36px 36px; }
.nvr-section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #C9A84C; margin: 0 0 4px; }
.nvr-section-heading { font-size: 20px; font-weight: 700; color: #0B1C35; margin: 0 0 20px; }
.nvr-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nvr-related-card {
  border: 1px solid #E2E8F0; border-radius: 8px; overflow: hidden;
  background: #ffffff; text-decoration: none; display: block;
  transition: transform .2s, box-shadow .2s;
}
.nvr-related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.nvr-related-thumb img,
.nvr-related-thumb-placeholder { width: 100%; height: 120px; object-fit: cover; display: block; }
.nvr-related-thumb-placeholder { background: linear-gradient(135deg, #0B1C35, #1a4b7a); }
.nvr-related-body    { padding: 14px; }
.nvr-related-cat     { font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #C9A84C; display: block; margin-bottom: 5px; }
.nvr-related-title   { font-size: 13.5px; font-weight: 600; color: #0B1C35; line-height: 1.4; display: block; margin-bottom: 7px; }
.nvr-related-date    { font-size: 11.5px; color: #64748B; }

/* ─────────────────────────────────────────
   COMMENTS
───────────────────────────────────────── */
.nvr-comments-wrap { margin: 0 36px 36px; padding-top: 28px; border-top: 1px solid #E2E8F0; }
.nvr-comments-wrap .comment-reply-title,
.nvr-comments-wrap #reply-title { font-size: 18px; font-weight: 700; color: #0B1C35; }
.nvr-comments-wrap input,
.nvr-comments-wrap textarea {
  border: 1.5px solid #E2E8F0; border-radius: 5px; padding: 10px 14px;
  font-family: 'Inter', sans-serif; font-size: 14px; width: 100%;
  outline: none; transition: border-color .2s;
}
.nvr-comments-wrap input:focus,
.nvr-comments-wrap textarea:focus { border-color: #C9A84C; }
.nvr-comments-wrap input[type="submit"],
.nvr-comments-wrap .submit {
  background: #C9A84C; color: #0B1C35; font-weight: 700; border: none;
  cursor: pointer; padding: 11px 24px; border-radius: 5px; font-size: 14px;
  width: auto; transition: background .2s;
}
.nvr-comments-wrap input[type="submit"]:hover,
.nvr-comments-wrap .submit:hover { background: #dbb95c; }

/* ─────────────────────────────────────────
   SIDEBAR
───────────────────────────────────────── */
.nvr-sidebar { display: flex; flex-direction: column; gap: 24px; }

.nvr-widget-cta {
  background: linear-gradient(145deg, #0B1C35 0%, #0d2545 100%);
  border: 1px solid rgba(201,168,76,.25); border-radius: 8px;
  padding: 26px 22px; text-align: center; position: relative; overflow: hidden;
}
.nvr-widget-cta::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 100px; height: 100px; border-radius: 50%; background: rgba(201,168,76,.07);
}
.nvr-cta-icon    { font-size: 32px; display: block; margin-bottom: 10px; }
.nvr-cta-heading { font-size: 17px; font-weight: 700; color: #ffffff; margin: 0 0 8px; line-height: 1.3; }
.nvr-cta-text    { font-size: 13px; color: rgba(255,255,255,.6); margin: 0 0 18px; line-height: 1.6; }
.nvr-cta-stats   { display: flex; justify-content: space-around; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.nvr-cta-stat    { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.nvr-stat-val    { font-size: 18px; font-weight: 800; color: #C9A84C; }
.nvr-stat-lbl    { font-size: 10.5px; color: rgba(255,255,255,.45); }

.nvr-widget { background: #ffffff; border: 1px solid #E2E8F0; border-radius: 8px; overflow: hidden; }
.nvr-widget-header { background: #0B1C35; padding: 12px 20px; display: flex; align-items: center; gap: 8px; }
.nvr-widget-header h3,
.nvr-widget-header > h3 { font-size: 13px; font-weight: 700; color: #ffffff; margin: 0; letter-spacing: .3px; }
.nvr-widget-icon { font-size: 15px; }
.nvr-widget-body { padding: 18px 20px; }

.nvr-recent-post-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #E2E8F0; }
.nvr-recent-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.nvr-rp-thumb, .nvr-rp-thumb img { width: 58px !important; height: 52px !important; border-radius: 5px; object-fit: cover; flex-shrink: 0; display: block; }
.nvr-rp-thumb-placeholder { width: 58px; height: 52px; border-radius: 5px; background: linear-gradient(135deg, #0B1C35, #1a4b7a); flex-shrink: 0; }
.nvr-rp-title { font-size: 13px; font-weight: 600; color: #0B1C35; line-height: 1.4; display: block; margin-bottom: 4px; text-decoration: none; }
.nvr-rp-title:hover { color: #C9A84C; }
.nvr-rp-date  { font-size: 11.5px; color: #64748B; }

.nvr-cat-list { list-style: none; margin: 0; padding: 0; }
.nvr-cat-list li { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #E2E8F0; font-size: 13.5px; }
.nvr-cat-list li:last-child { border-bottom: none; }
.nvr-cat-list li a { color: #1A2B3C; text-decoration: none; transition: color .2s; }
.nvr-cat-list li a:hover { color: #C9A84C; }
.nvr-cat-count { background: #F5F7FA; color: #64748B; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 20px; border: 1px solid #E2E8F0; }

.nvr-tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.nvr-tag { display: inline-block; padding: 5px 12px; border-radius: 4px; font-size: 12px; font-weight: 500; background: #F5F7FA; color: #1A2B3C; border: 1px solid #E2E8F0; text-decoration: none; transition: all .2s; }
.nvr-tag:hover { background: #0B1C35; color: #C9A84C; border-color: #0B1C35; }

.nvr-newsletter-text { font-size: 13.5px; color: #64748B; margin-bottom: 14px; line-height: 1.6; }
.nvr-newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.nvr-newsletter-form input { width: 100%; padding: 10px 14px; border: 1.5px solid #E2E8F0; border-radius: 5px; font-family: 'Inter', sans-serif; font-size: 13.5px; background: #F5F7FA; outline: none; transition: border-color .2s; }
.nvr-newsletter-form input:focus { border-color: #C9A84C; background: #ffffff; }
.nvr-newsletter-form input::placeholder { color: #94a3b8; }

.nvr-btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: #C9A84C; color: #0B1C35; font-family: 'Inter', sans-serif;
  font-size: 13.5px; font-weight: 700; padding: 11px 22px; border-radius: 5px;
  text-decoration: none; border: none; cursor: pointer; transition: background .2s, transform .15s;
}
.nvr-btn-gold:hover { background: #dbb95c; transform: translateY(-1px); }
.nvr-btn-block { display: block; width: 100%; text-align: center; margin-bottom: 10px; }
.nvr-btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: rgba(255,255,255,.7); font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500; padding: 9px 18px; border-radius: 5px;
  text-decoration: none; border: 1.5px solid rgba(255,255,255,.2); cursor: pointer;
  transition: border-color .2s, color .2s;
}
.nvr-btn-outline:hover { border-color: #C9A84C; color: #C9A84C; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 960px) {
  .nvr-blog-grid { grid-template-columns: 1fr; }
  .nvr-sidebar { order: -1; }
  .nvr-related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nvr-post-hero { padding: 36px 0 32px !important; }
  .nvr-content-area { padding: 22px 20px; }
  .nvr-author-box, .nvr-share-bar, .nvr-post-nav,
  .nvr-related-section, .nvr-comments-wrap { margin-left: 16px; margin-right: 16px; }
  .nvr-related-grid { grid-template-columns: 1fr; }
  .nvr-post-nav { grid-template-columns: 1fr; }
  .nvr-post-meta { gap: 10px; }
  .nvr-meta-sep { display: none; }
}