/*
Theme Name: MessageCEO
Theme URI: https://www.messageceo.com
Description: B2B Executive Contact Database - WordPress theme for MessageCEO
Version: 1.0.0
Author: MessageCEO
Author URI: https://www.messageceo.com
Text Domain: messageceo
*/

/* ========================================
   CSS VARIABLES (from globals.css + tailwind)
   ======================================== */
:root {
  /* Brand colors */
  --ceo-navy: #2A2D34;
  --ceo-blue: #3E4DE0;
  --ceo-lightblue: #7A85FF;
  --ceo-accent: #4361EE;
  --ceo-purple: #6F42C1;
  --ceo-darkblue: #1A1C22;
  --ceo-softblue: #EFF1FD;
  --ceo-softgray: #F3F4F7;
  --ceo-slate: #5C6171;
  --ceo-charcoal: #404756;

  /* System colors */
  --background: #ffffff;
  --foreground: #0a0f1a;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --ring: #0a0f1a;
  --radius: 0.5rem;
  --primary: #3E4DE0;
  --primary-foreground: #f8fafc;
  --secondary: #2A2D34;
  --secondary-foreground: #f8fafc;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --accent: #4361EE;
  --destructive: #ef4444;
}

/* ========================================
   FONTS
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

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

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-narrow {
  max-width: 900px;
}

.container-wide {
  max-width: 1400px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--ceo-blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--ceo-accent);
}

.btn-accent {
  background: var(--ceo-accent);
  color: #fff;
}
.btn-accent:hover {
  opacity: 0.9;
}

.btn-black {
  background: #000;
  color: #fff;
}
.btn-black:hover {
  background: #1a1a1a;
}

.btn-white {
  background: #fff;
  color: #000;
}
.btn-white:hover {
  background: #f5f5f5;
}

.btn-outline {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

.btn-outline-blue {
  background: transparent;
  border: 1px solid var(--ceo-blue);
  color: var(--ceo-blue);
}
.btn-outline-blue:hover {
  background: rgba(62, 77, 224, 0.05);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

/* ========================================
   CARDS
   ======================================== */
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
}

.card-feature {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.card-feature:hover {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

/* ========================================
   GRID SYSTEM
   ======================================== */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .grid-6 {
    grid-template-columns: 1fr;
  }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* ========================================
   SPACING
   ======================================== */
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

/* ========================================
   TYPOGRAPHY
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-inter { font-family: 'Inter', sans-serif; }
.font-outfit { font-family: 'Outfit', sans-serif; }

.text-white { color: #fff; }
.text-black { color: #000; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }
.text-ceo-blue { color: var(--ceo-blue); }
.text-ceo-accent { color: var(--ceo-accent); }
.text-ceo-navy { color: var(--ceo-navy); }
.text-ceo-slate { color: var(--ceo-slate); }

/* ========================================
   BACKGROUNDS
   ======================================== */
.bg-white { background: #fff; }
.bg-black { background: #000; }
.bg-gray-50 { background: #f9fafb; }
.bg-gray-100 { background: #f3f4f6; }
.bg-ceo-darkblue { background: var(--ceo-darkblue); }
.bg-ceo-softgray { background: var(--ceo-softgray); }
.bg-ceo-softblue { background: var(--ceo-softblue); }
.bg-ceo-navy { background: var(--ceo-navy); }

/* ========================================
   HERO
   ======================================== */
.hero-gradient {
  background: #000000;
}

.hero-mesh-pattern {
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  opacity: 0.8;
}

.hero-section {
  position: relative;
  background: #000;
  color: #fff;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-section .hero-mesh-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ========================================
   NAVBAR — styles defined in header.php
   ======================================== */

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: #000;
  color: #fff;
  padding: 4rem 0 2rem;
}

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

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.footer-brand {
  padding-right: 2rem;
}

.footer-brand h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.8125rem;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ========================================
   LOGO MARQUEE
   ======================================== */
.logo-scroll-container {
  overflow: hidden;
  position: relative;
}

.logo-scroll-container::before,
.logo-scroll-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.logo-scroll-container::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.logo-scroll-container::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  animation: marquee 30s linear infinite;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.animate-fade-in { animation: fadeIn 0.5s ease-out; }
.animate-fade-in-up { animation: fadeInUp 0.6s ease-out; }
.animate-float { animation: float 3s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .animate-marquee, .animate-fade-in, .animate-fade-in-up, .animate-float {
    animation: none;
  }
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1.5rem 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

/* ========================================
   PRICING
   ======================================== */
.pricing-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--ceo-blue);
  box-shadow: 0 0 0 1px var(--ceo-blue);
}

.pricing-card .badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ceo-blue);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: #000;
}

.pricing-period {
  color: #6b7280;
  font-size: 0.875rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: #4b5563;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-features li::before {
  content: '';
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233E4DE0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  flex-shrink: 0;
}

/* ========================================
   FAQ ACCORDION
   ======================================== */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 500;
  color: #111827;
  font-family: 'Inter', sans-serif;
}

.faq-question:hover {
  color: var(--ceo-blue);
}

.faq-question .icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: #4b5563;
  line-height: 1.7;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-card {
  background: #fff;
  padding: 1.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border: 1px solid #f3f4f6;
}

.testimonial-text {
  color: #374151;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--ceo-softblue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--ceo-blue);
  font-size: 0.875rem;
}

.testimonial-name {
  font-weight: 600;
  color: #111827;
  font-size: 0.875rem;
}

.testimonial-role {
  color: #6b7280;
  font-size: 0.8125rem;
}

/* ========================================
   SEARCH
   ======================================== */
.search-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .search-container {
    grid-template-columns: 1fr;
  }
}

.search-sidebar {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  position: sticky;
  top: 5rem;
}

.search-sidebar h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.filter-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.filter-group select,
.filter-group input[type="text"] {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 0.875rem;
  background: #fff;
  color: #111827;
}

.filter-group select:focus,
.filter-group input[type="text"]:focus {
  outline: none;
  border-color: var(--ceo-blue);
  box-shadow: 0 0 0 2px rgba(62, 77, 224, 0.1);
}

/* Results */
.search-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.result-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.result-card:hover {
  border-color: var(--ceo-blue);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.result-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: var(--ceo-softblue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--ceo-blue);
  flex-shrink: 0;
}

.result-info {
  flex: 1;
  min-width: 0;
}

.result-name {
  font-weight: 600;
  color: #111827;
  font-size: 1rem;
}

.result-title {
  color: #6b7280;
  font-size: 0.875rem;
}

.result-company {
  color: var(--ceo-blue);
  font-size: 0.875rem;
  font-weight: 500;
}

.result-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: #9ca3af;
}

.result-actions {
  flex-shrink: 0;
}

.email-masked {
  font-family: monospace;
  color: #9ca3af;
  font-size: 0.8125rem;
}

/* ========================================
   DIRECTORY
   ======================================== */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.directory-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.directory-card:hover {
  border-color: var(--ceo-blue);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.directory-card .icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--ceo-softblue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.directory-card .count {
  font-size: 0.8125rem;
  color: #6b7280;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--ceo-blue);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .separator {
  color: #d1d5db;
}

/* ========================================
   EXECUTIVE PROFILE
   ======================================== */
.profile-header {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.profile-avatar-lg {
  width: 6rem;
  height: 6rem;
  border-radius: 9999px;
  background: var(--ceo-softblue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ceo-blue);
  flex-shrink: 0;
}

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

@media (max-width: 640px) {
  .profile-detail-grid {
    grid-template-columns: 1fr;
  }
}

.profile-detail-item {
  padding: 1rem;
  background: #f9fafb;
  border-radius: var(--radius);
}

.profile-detail-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.profile-detail-item .value {
  font-weight: 500;
  color: #111827;
}

/* ========================================
   AUTH PAGES
   ======================================== */
.auth-container {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2.5rem;
  width: 100%;
  max-width: 28rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.auth-card h1 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.375rem;
}

.form-group input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--ceo-blue);
  box-shadow: 0 0 0 2px rgba(62, 77, 224, 0.1);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  background: #000;
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination a:hover {
  background: var(--ceo-softblue);
  border-color: var(--ceo-blue);
  color: var(--ceo-blue);
}

.pagination .current {
  background: var(--ceo-blue);
  border-color: var(--ceo-blue);
  color: #fff;
}

/* ========================================
   PAYWALL
   ======================================== */
.paywall-overlay {
  position: relative;
}

.paywall-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(transparent, #fff);
  pointer-events: none;
}

.paywall-cta {
  text-align: center;
  padding: 2rem;
  background: var(--ceo-softblue);
  border-radius: 0.75rem;
  border: 1px solid rgba(62, 77, 224, 0.2);
}

/* ========================================
   MISC
   ======================================== */
.badge-green {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: #ecfdf5;
  color: #065f46;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: var(--ceo-softblue);
  color: var(--ceo-blue);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2rem 0;
}

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

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */
.hidden { display: none; }

@media (min-width: 768px) {
  .md-block { display: block; }
  .md-flex { display: flex; }
  .md-grid { display: grid; }
  .md-hidden { display: none; }
  .text-3xl { font-size: 1.875rem; }
  .md-text-4xl { font-size: 2.25rem; }
  .md-text-5xl { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .lg-block { display: block; }
  .lg-flex { display: flex; }
  .lg-grid { display: grid; }
  .lg-hidden { display: none; }
}

/* WordPress admin bar fix */
body.admin-bar .navbar {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .navbar {
    top: 46px;
  }
}
