/* Custom Styles for Cortland Business Brokers */

/* Google Fonts Pairing */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
  color: #191c1d;
}

/* Blueprint Grid Background */
.blueprint-grid {
  background-color: #f8f9fa;
  background-image: 
    linear-gradient(to right, rgba(74, 85, 104, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(74, 85, 104, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  position: relative;
}

.blueprint-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(248, 249, 250, 0.8) 100%);
  pointer-events: none;
}

/* Blueprint Dots/Crosses Accent */
.blueprint-corner {
  position: relative;
}
.blueprint-corner::after {
  content: '+';
  position: absolute;
  font-family: monospace;
  color: #C5A059;
  font-size: 14px;
  opacity: 0.6;
  font-weight: normal;
}
.blueprint-corner-tr::after { top: -8px; right: -8px; }
.blueprint-corner-bl::after { bottom: -8px; left: -8px; }

/* Custom Bullet List with Blueprint Style Squares */
ul.blueprint-list {
  list-style: none;
  padding-left: 0;
}

ul.blueprint-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
}

ul.blueprint-list li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background-color: #C5A059; /* Prestige Gold */
  border: 1px solid #1B2B48; /* Heritage Navy border for precision look */
  transform: rotate(45deg);
}

/* Custom Scroll Transitions */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Glassmorphism for modern touches */
.glass-panel {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(74, 85, 104, 0.1);
}

/* Custom Table Design for backbone industries */
.custom-table th {
  background-color: #1B2B48;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.custom-table tr:nth-child(even) {
  background-color: rgba(248, 249, 250, 0.5);
}

.custom-table tr:hover {
  background-color: rgba(197, 160, 89, 0.05); /* very light gold tint */
}

/* Responsive Table container custom scrollbar */
.responsive-table-container::-webkit-scrollbar {
  height: 6px;
}
.responsive-table-container::-webkit-scrollbar-track {
  background: rgba(74, 85, 104, 0.05);
}
.responsive-table-container::-webkit-scrollbar-thumb {
  background: rgba(197, 160, 89, 0.4);
  border-radius: 3px;
}
.responsive-table-container::-webkit-scrollbar-thumb:hover {
  background: rgba(197, 160, 89, 0.6);
}

/* ==========================================================================
   BLOG & KNOWLEDGE HUB VISUAL SPECIFICATIONS
   ========================================================================== */

/* Dark CAD / Blueprint Pattern */
.bg-cad-dark {
  background-color: #0B132B;
  background-image: 
    radial-gradient(circle, rgba(58, 134, 255, 0.12) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px, 32px 32px, 32px 32px;
}

/* 1. SDE Add-Back Field Spec Callout Box */
.addback-callout {
  background: #0B132B;
  border-left: 3px solid #D4AF37;
  color: #E2E8F0;
  padding: 1.5rem 1.75rem;
  border-radius: 0.25rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  margin: 2rem 0;
  position: relative;
}

.addback-callout-header {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: #D4AF37;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  items-center;
  gap: 0.5rem;
}

.addback-callout-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem 1.5rem;
}

.addback-callout-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #CBD5E1;
}

.addback-callout-list li .check-icon {
  color: #D4AF37;
  font-weight: bold;
  font-size: 1.1rem;
}

/* 2. California Tax Trap Warning Banner */
.tax-trap-warning {
  background-color: rgba(180, 40, 40, 0.08);
  border: 1px solid rgba(230, 57, 70, 0.3);
  border-left: 5px solid #E63946;
  padding: 1.5rem 1.75rem;
  border-radius: 0.25rem;
  margin: 2.5rem 0;
  position: relative;
}

.tax-trap-warning-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #E63946;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.tax-trap-warning p {
  color: #2D3748;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* 3. Operator vs. Suit Key Difference Component */
.operator-comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

@media (min-width: 768px) {
  .operator-comparison-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.comparison-card-suit {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 0.25rem;
  padding: 1.75rem;
}

.comparison-card-operator {
  background: #0B132B;
  border: 1px solid #D4AF37;
  border-radius: 0.25rem;
  padding: 1.75rem;
  color: #FFFFFF;
  box-shadow: 0 12px 30px rgba(11, 19, 43, 0.4);
}

/* Typography styles for article body */
.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem;
  color: #1B2B48;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(197, 160, 89, 0.2);
}

.article-body h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #0B132B;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 1.5rem;
}

.article-body ul {
  margin-bottom: 1.5rem;
}

.article-body li {
  font-size: 1rem;
  line-height: 1.7;
  color: #334155;
}

