/* AbsoluteCX Real Estate CRM - Core Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-subtle: #f1f5f9;
  --color-surface: #ffffff;
  --color-border: #e2e8f0;
  --color-border-dark: #cbd5e1;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-text-light: #64748b;
  --color-primary: #1e40af;
  --color-primary-hover: #1e3a8a;
  --color-primary-light: #eff6ff;
  --color-accent: #0284c7;
  --color-success: #15803d;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --container-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 15px 30px -5px rgba(0, 0, 0, 0.08), 0 6px 12px -3px rgba(0, 0, 0, 0.04);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

h3 {
  font-size: 1.35rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.15rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

a:hover, a:focus {
  color: var(--color-primary-hover);
}

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
}

li {
  margin-bottom: 0.5rem;
}

blockquote {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  background-color: var(--color-bg-alt);
  margin-bottom: 1.25rem;
  font-style: normal;
}

/* Layout components */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.section-alt {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* Grid layouts */
.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-2 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Header & Navigation */
.site-header {
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.75rem;
  height: auto;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  gap: 0.75rem;
}

.site-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  height: 80px;
  width: auto;
  max-height: 80px;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link:hover, .nav-link:focus {
  color: var(--color-primary);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  min-width: 220px;
  padding: 0.5rem 0;
  list-style: none;
  z-index: 1100;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.dropdown-link:hover, .dropdown-link:focus {
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
}

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

.mobile-menu-cta {
  display: none;
}

.mobile-nav-toggle {
  display: none;
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-text);
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.mobile-nav-toggle:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

@media (max-width: 960px) {
  .header-inner {
    min-height: 5.25rem;
  }

  .site-logo img {
    height: 72px;
    max-height: 75px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-surface);
    border-bottom: 2px solid var(--color-primary);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem;
    gap: 0.25rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  }
  
  .nav-menu.is-active {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 0.65rem 0.5rem;
    font-size: 1rem;
    border-bottom: 1px solid #f1f5f9;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 0.75rem;
    background-color: #f8fafc;
    border-radius: 6px;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
  }

  .nav-item:hover .dropdown-menu {
    display: block;
  }
}

@media (max-width: 640px) {
  .nav-actions {
    display: none;
  }

  .mobile-menu-cta {
    display: block;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
  }
}

@media (max-width: 480px) {
  .site-logo img {
    height: 64px;
    max-height: 64px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--color-primary-hover);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--color-bg-subtle);
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--color-border);
  color: var(--color-text);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover, .btn-outline:focus {
  background-color: var(--color-primary-light);
  color: var(--color-primary-hover);
}

/* Cards & Containers */
.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  border: none;
  padding: 0;
}

.card-body {
  flex: 1 1 auto;
}

/* Hero Section */
.hero {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-content h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
}

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

.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

/* Breadcrumbs */
.breadcrumb-nav {
  padding: 1rem 0;
  background-color: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 0.5rem;
  color: var(--color-text-light);
}

.breadcrumb-item a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item[aria-current="page"] {
  color: var(--color-text);
  font-weight: 500;
}

/* Responsive Comparison Tables */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.comparison-table th, .comparison-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
}

.comparison-table th:last-child, .comparison-table td:last-child {
  border-right: none;
}

.comparison-table th {
  background-color: var(--color-bg-subtle);
  font-weight: 700;
  color: var(--color-text);
}

.comparison-table tbody tr:nth-child(even) {
  background-color: var(--color-bg-alt);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* FAQ Accordion */
.faq-list {
  margin-top: 1.5rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background-color: var(--color-surface);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-primary);
  font-weight: 400;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.25rem 1.25rem 1.25rem;
  display: none;
  color: var(--color-text-muted);
}

.faq-answer.is-open {
  display: block;
}

/* Article & Glossary Layout */
.article-container {
  max-width: 840px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.article-meta {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}

.cta-box {
  background-color: var(--color-primary-light);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  text-align: center;
}

.cta-box h3 {
  margin-top: 0;
  color: var(--color-primary);
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #0f172a 0%, #070a12 100%);
  color: #94a3b8;
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
  margin-top: 4rem;
  border-top: 1px solid #1e293b;
}

.footer-recommendation {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 0 1.5rem 0 !important;
  margin-bottom: 2rem !important;
  box-shadow: none !important;
  border-bottom: 1px solid #1e293b !important;
}

.footer-rec-text {
  margin: 0 !important;
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
  color: #94a3b8 !important;
  font-weight: 400 !important;
}

.footer-rec-text a {
  color: #cbd5e1 !important;
  font-weight: 500 !important;
  text-decoration: underline !important;
}

.footer-rec-text a:hover {
  color: #38bdf8 !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(4, 1fr);
  }
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .footer-logo-link {
  display: inline-block;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.footer-brand .footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-brand h2 {
  color: #ffffff;
  font-size: 1.25rem;
  border-bottom: none;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #1e293b;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #38bdf8;
  text-decoration: none;
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom p {
  margin: 0;
  color: #64748b;
}

.footer-bottom a {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* Helper Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.w-full { width: 100%; }
.img-fluid { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }

/* Rich UI Components & Cards */
.feature-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
  box-shadow: 0 10px 24px -6px rgba(37, 99, 235, 0.12);
  border-color: #93c5fd;
}

.feature-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  border: 1px solid #bfdbfe;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 0;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

/* Vendor Cards & Featured Recommendation */
.vendor-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  position: relative;
}

.vendor-card:hover {
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08);
  border-color: #93c5fd;
}

.vendor-card-featured {
  border: 2px solid #3b82f6 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%) !important;
  box-shadow: 0 12px 30px -5px rgba(37, 99, 235, 0.12) !important;
}

.vendor-badge-featured {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.vendor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.tag-chip {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.tag-chip-primary {
  background: #eff6ff;
  color: #1e40af;
  border-color: #bfdbfe;
}

/* Vendor Quick Specs Header for Review Pages */
.vendor-spec-card {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.05);
}

.vendor-spec-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dbeafe;
  margin-bottom: 1rem;
}

.vendor-spec-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vendor-spec-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #ffffff;
  padding: 4px;
  border: 1px solid #cbd5e1;
  object-fit: contain;
}

.vendor-spec-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.85rem;
}

.vendor-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .vendor-spec-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.vendor-spec-item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.2rem;
}

.vendor-spec-item span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

/* Criteria Cards Grid */
.criteria-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.25s ease;
  height: 100%;
}

.criteria-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1);
}

.criteria-card h4 {
  font-size: 1.05rem;
  color: #1e40af;
  margin-top: 0;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Regional Listicles Cards */
.regional-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.regional-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.regional-card:hover {
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.08);
  border-color: #93c5fd;
}

.regional-card:hover::before {
  opacity: 1;
}

.regional-flag {
  margin-bottom: 0.75rem;
  display: inline-block;
}

.flag-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.6rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #38bdf8;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 6px;
  border: 1px solid #334155;
  letter-spacing: 0.05em;
}

.regional-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  margin-top: auto;
  padding-top: 1rem;
}

.regional-link:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

/* CSS Mesh Blog Cards */
.blog-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
}

.blog-card-mesh {
  height: 130px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  box-sizing: border-box;
}

.blog-card-mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
}

.mesh-indigo-cyan {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #0284c7 100%);
}

.mesh-purple-violet {
  background: linear-gradient(135deg, #1e1035 0%, #4c1d95 45%, #8b5cf6 100%);
}

.mesh-emerald-blue {
  background: linear-gradient(135deg, #064e3b 0%, #0f766e 45%, #2563eb 100%);
}

.mesh-amber-rose {
  background: linear-gradient(135deg, #451a03 0%, #9a3412 45%, #c026d3 100%);
}

.mesh-slate-blue {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #3b82f6 100%);
}

.blog-card-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.blog-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  z-index: 2;
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-body h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  line-height: 1.35;
}

.blog-card-body h3 a {
  color: var(--color-text);
  text-decoration: none;
}

.blog-card-body h3 a:hover {
  color: var(--color-primary);
}

.blog-card-body p {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.blog-card-link {
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.blog-card-link:hover {
  text-decoration: underline;
}
