/* =============================================
   BULLIGENCE NEWSROOM — MAIN STYLESHEET
   Dark editorial design — navy + gold
   ============================================= */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
  --navy: #0a1628;
  --navy-deep: #060e1a;
  --navy-mid: #1a3a5c;
  --navy-light: #2c5282;
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --gold-pale: rgba(201, 168, 76, 0.12);
  --white: #ffffff;
  --off-white: #f0f4f8;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;

  /* Dark theme surface colors */
  --surface: rgba(255, 255, 255, 0.05);
  --surface-hover: rgba(255, 255, 255, 0.09);
  --surface-raised: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Text */
  --text: rgba(255, 255, 255, 0.9);
  --text-head: #ffffff;
  --muted: rgba(255, 255, 255, 0.45);
  --muted-mid: rgba(255, 255, 255, 0.65);

  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.35), 0 1px 4px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.25);
  --glow-gold: 0 0 24px rgba(201, 168, 76, 0.25);

  --radius-sm: 3px;
  --radius: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --max-w: 1200px;
  --header-h: 68px;
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- TYPOGRAPHY ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-head);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}
h3 {
  font-size: 1.35rem;
}
h4 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

/* ---------- UTILITIES ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: var(--glow-gold);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
}
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: var(--glow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--text-head);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover {
  background: var(--surface);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold-pale);
  color: var(--gold-light);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.825rem;
}
.btn-lg {
  padding: 0.8rem 1.75rem;
  font-size: 0.95rem;
}

/* ---------- CATEGORY TAGS ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.tag-press {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}
.tag-insight {
  background: rgba(201, 168, 76, 0.18);
  color: var(--gold);
}
.tag-blog {
  background: rgba(167, 139, 250, 0.2);
  color: #c4b5fd;
}
.tag-announce {
  background: rgba(52, 211, 153, 0.18);
  color: #6ee7b7;
}

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(6, 14, 26, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-head);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-mid);
  border-radius: var(--radius);
  transition: all 0.18s ease;
}
.nav-link:hover {
  color: var(--text-head);
  background: var(--surface);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: var(--gold);
  color: var(--navy-deep) !important;
  font-weight: 700;
  border-radius: var(--radius);
  transition: all 0.18s ease;
}
.nav-cta:hover {
  background: var(--gold-light);
  color: var(--navy-deep) !important;
  box-shadow: var(--glow-gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-head);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ---------- HERO SECTION ---------- */
.hero {
  padding-top: calc(var(--header-h) + 5rem);
  padding-bottom: 5rem;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.14) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(44, 82, 130, 0.5) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow-line {
  width: 40px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.hero-eyebrow-text {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  color: var(--text-head);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--gold);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted-mid);
  max-width: 560px;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- SECTION SHARED ---------- */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-eyebrow::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--text-head);
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--muted-mid);
  max-width: 560px;
  line-height: 1.7;
}

/* ---------- ABOUT SECTION ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--muted-mid);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.about-stat:hover {
  background: var(--surface-hover);
  border-color: rgba(201, 168, 76, 0.35);
}

.about-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
}

.about-stat-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- INSIGHTS / BLOG SECTION ---------- */
.insights-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: start;
}

/* Featured post (left) */
.featured-post {
  position: relative;
}

.featured-post-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

.featured-post-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-post-placeholder svg {
  opacity: 0.15;
  width: 64px;
  height: 64px;
  fill: var(--white);
}

.featured-post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.featured-post-date {
  font-size: 0.82rem;
  color: var(--muted);
}

.featured-post-title {
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  color: var(--text-head);
  margin-bottom: 0.85rem;
  line-height: 1.3;
  transition: color 0.18s;
}
.featured-post-title:hover {
  color: var(--gold);
}

.featured-post-excerpt {
  color: var(--muted-mid);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-author {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold);
  transition:
    gap 0.2s,
    color 0.2s;
}
.read-more:hover {
  gap: 0.7rem;
  color: var(--gold-light);
}
.read-more svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Post list (right) */
.post-list-panel {
  border-left: 1px solid var(--border);
  padding-left: 2.5rem;
}

.post-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gold);
}

.post-list-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.post-list {
  list-style: none;
}

.post-list-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.post-list-item:last-child {
  border-bottom: none;
}

.post-list-item a {
  display: block;
}
.post-list-item a:hover .post-list-item-title {
  color: var(--gold);
}

.post-list-item-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.post-list-item-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-head);
  line-height: 1.35;
  margin-bottom: 0.35rem;
  transition: color 0.18s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-list-item-date {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted-mid);
  cursor: pointer;
  transition: all 0.18s;
}
.pagination-btn:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}
.pagination-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.pagination-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pagination-info {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--muted);
}

/* No posts placeholder */
.no-posts {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

.no-posts-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  opacity: 0.25;
}

/* ---------- SQUEEZE / REPORT SECTION ---------- */
.squeeze-section {
  background: linear-gradient(160deg, #0d1f3a 0%, #0a1628 50%, #0c1a30 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.squeeze-section::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.squeeze-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(44, 82, 130, 0.45) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.squeeze-inner {
  position: relative;
  z-index: 1;
}

.squeeze-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.squeeze-eyebrow::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.squeeze-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 720px;
}

.squeeze-title em {
  color: var(--gold);
  font-style: italic;
}

.squeeze-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.squeeze-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 2rem;
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.squeeze-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
}

.squeeze-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.squeeze-check svg {
  width: 10px;
  height: 10px;
  stroke: var(--navy-deep);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.squeeze-companies {
  margin: 2.5rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
}

.squeeze-companies-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.squeeze-company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
}

.squeeze-company-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.squeeze-company-card:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.2);
}

.squeeze-company-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.squeeze-company-result {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.result-fail {
  color: #f87171;
}
.result-pass {
  color: #4ade80;
}
.result-partial {
  color: var(--gold);
}

.squeeze-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.squeeze-trust {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--border-strong);
  color: var(--muted-mid);
  padding: 3.5rem 0 0;
}

.footer-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem) 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand {
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 260px;
  line-height: 1.65;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-nav {
  list-style: none;
}
.footer-nav li {
  margin-bottom: 0.6rem;
}
.footer-nav a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.18s;
}
.footer-nav a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ========================
   POST DETAIL PAGE
   ======================== */
.post-page {
  padding-top: var(--header-h);
  min-height: 100vh;
}

.post-nav {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.18s;
}
.post-back:hover {
  color: var(--gold);
}
.post-back svg {
  width: 16px;
  height: 16px;
}

.post-header-section {
  background: rgba(255, 255, 255, 0.025);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.post-content-section {
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.post-hero {
  padding: 3rem 0 2rem;
}

.post-hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.post-hero-date {
  font-size: 0.85rem;
  color: var(--muted);
}

.post-hero-author {
  font-size: 0.85rem;
  color: var(--muted);
}

.post-hero-author::before {
  content: "·";
  margin-right: 0.5rem;
}

.post-hero-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--text-head);
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 840px;
}

.post-hero-excerpt {
  font-size: 1.15rem;
  color: var(--muted-mid);
  max-width: 680px;
  line-height: 1.7;
  font-style: italic;
}

.post-featured-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
  padding: 2.5rem 0 5rem;
}

/* Article content */
.post-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted-mid);
}

.post-content h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.6rem;
  color: var(--text-head);
}
.post-content h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.3rem;
  color: var(--text-head);
}
.post-content p {
  margin-bottom: 1.5rem;
}
.post-content ul,
.post-content ol {
  margin: 1.25rem 0 1.5rem 1.5rem;
}
.post-content li {
  margin-bottom: 0.5rem;
}
.post-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  border-left: 4px solid var(--gold);
  background: rgba(201, 168, 76, 0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--gold-light);
}
.post-content img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}
.post-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.post-content a:hover {
  color: var(--gold-light);
}
.post-content strong {
  color: var(--text-head);
}

/* Tags */
.post-tags {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.post-tag-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-tag-pill {
  padding: 0.3rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--muted-mid);
  font-weight: 500;
  transition: all 0.18s;
}
.post-tag-pill:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--gold);
}

/* Sidebar */
.post-sidebar {
}

.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
  transition: border-color 0.2s;
}
.sidebar-widget:hover {
  border-color: var(--border-strong);
}

.sidebar-widget-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-post {
  display: block;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-post:last-child {
  border-bottom: none;
}

.sidebar-post-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-head);
  line-height: 1.35;
  margin-bottom: 0.2rem;
  transition: color 0.18s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-post:hover .sidebar-post-title {
  color: var(--gold);
}

.sidebar-post-date {
  font-size: 0.75rem;
  color: var(--muted);
}

/* Rating summary */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rating-big {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.rating-stars-display {
  display: flex;
  gap: 2px;
}

.star-icon {
  width: 18px;
  height: 18px;
}

/* ========================
   COMMENTS SECTION
   ======================== */
.comments-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.comments-title {
  margin-bottom: 2.5rem;
}

/* Star rating widget */
.star-rating-widget {
  margin-bottom: 1.5rem;
}

.star-rating-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-mid);
  margin-bottom: 0.5rem;
}

.stars-input {
  display: flex;
  gap: 4px;
  direction: ltr;
}

.star-btn {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.1s;
}
.star-btn:hover {
  transform: scale(1.15);
}

.star-btn svg {
  width: 28px;
  height: 28px;
  transition:
    fill 0.15s,
    stroke 0.15s;
  stroke: var(--border-strong);
  fill: transparent;
  stroke-width: 1.5;
}

.star-btn.filled svg {
  fill: var(--gold);
  stroke: var(--gold);
}
.star-btn.hovered svg {
  fill: rgba(201, 168, 76, 0.4);
  stroke: var(--gold);
}

/* Rating colors by value */
.rating-1 .star-filled {
  fill: #ef4444;
}
.rating-2 .star-filled {
  fill: #f97316;
}
.rating-3 .star-filled {
  fill: #eab308;
}
.rating-4 .star-filled {
  fill: #84cc16;
}
.rating-5 .star-filled {
  fill: #22c55e;
}

/* Comment form */
.comment-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 3rem;
  backdrop-filter: blur(4px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-mid);
  margin-bottom: 0.45rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    background 0.18s;
  font-size: 0.925rem;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.form-textarea {
  min-height: 110px;
  resize: vertical;
}

.form-error {
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: #fca5a5;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: none;
}

.form-success {
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.35);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: #86efac;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: none;
}

/* Comment list */
.comments-list {
  list-style: none;
}

.comment-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.comment-item:last-child {
  border-bottom: none;
}

.comment-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  gap: 1rem;
}

.comment-author-info {
}

.comment-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-head);
  margin-bottom: 0.2rem;
}

.comment-date {
  font-size: 0.78rem;
  color: var(--muted);
}

.comment-rating {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.comment-star {
  width: 14px;
  height: 14px;
}

.comment-text {
  font-size: 0.95rem;
  color: var(--muted-mid);
  line-height: 1.7;
}

/* Star fill colors for display (by rating) */
.stars-r1 .comment-star {
  fill: #ef4444;
}
.stars-r2 .comment-star {
  fill: #f97316;
}
.stars-r3 .comment-star {
  fill: #eab308;
}
.stars-r4 .comment-star {
  fill: #84cc16;
}
.stars-r5 .comment-star {
  fill: #22c55e;
}

/* ========================
   404 PAGE
   ======================== */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}

.page-404::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.09) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.page-404-inner {
  position: relative;
  z-index: 1;
}

.page-404-code {
  font-family: var(--font-heading);
  font-size: 9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.3;
  letter-spacing: -0.04em;
}

.page-404-title {
  font-size: 1.75rem;
  color: var(--text-head);
  margin-bottom: 0.75rem;
}

.page-404-desc {
  color: var(--muted-mid);
  margin-bottom: 2rem;
  max-width: 400px;
}

/* ========================
   ANIMATIONS
   ======================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }
  .post-list-panel {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 2.5rem;
  }
  .post-layout {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(6, 14, 26, 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem clamp(1rem, 4vw, 2.5rem) 1.5rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-link {
    width: 100%;
    padding: 0.65rem 0;
  }
  .nav-cta {
    margin-left: 0;
    padding: 0.65rem 1.1rem;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .squeeze-features {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .squeeze-title {
    font-size: 1.6rem;
  }
  .page-404-code {
    font-size: 6rem;
  }
}
