/* ===== FRANK DATA INSIGHTS - MAIN STYLES ===== */

/* CSS Variables */
:root {
  --primary: #1a2b4a;
  --primary-light: #2d4a7c;
  --accent: #e67e22;
  --accent-hover: #d35400;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --text-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --bg-dark: #1a2b4a;
  --border: #e0e0e0;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-lg: rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

/* Utility Classes */
.text-accent { color: var(--accent); }

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  padding: 1rem 0;
  box-shadow: 0 2px 10px var(--shadow);
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Launch FRANK Button in Nav */
.nav-links a.frank-app-link {
  background: var(--accent);
  color: var(--text-white) !important;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: 600;
}

.nav-links a.frank-app-link::after {
  display: none;
}

.nav-links a.frank-app-link:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  color: var(--text-white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--accent);
}

.hero .subline {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero .btn {
  margin-right: 1rem;
  margin-bottom: 1rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-white);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

.btn-secondary:hover {
  background: var(--text-white);
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--text-white);
}

/* ===== SECTIONS ===== */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.bg-light {
  background: var(--bg-light);
}

.bg-dark {
  background: var(--bg-dark);
}

.bg-dark h2,
.bg-dark h3,
.bg-dark p {
  color: var(--text-white);
}

.bg-dark .text-muted {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== INTRO SECTION ===== */
.intro {
  padding: 3rem 0 5rem;
}

/* Statement Block */
.intro-statement {
  display: flex;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  align-items: stretch;
}

.statement-accent {
  width: 6px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 3px;
  flex-shrink: 0;
}

.statement-content {
  flex: 1;
}

.statement-lead {
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin: 0;
}

.statement-lead strong {
  color: var(--primary);
  font-weight: 700;
}

/* Experience Banner */
.experience-banner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background: var(--bg-white);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  box-shadow: 0 4px 20px var(--shadow);
  border-left: 5px solid var(--accent);
}

.experience-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding-right: 2.5rem;
  border-right: 1px solid var(--bg-light);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

.experience-text p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin: 0;
}

@media (max-width: 768px) {
  .intro-statement {
    gap: 1rem;
  }

  .statement-lead {
    font-size: 1.25rem;
  }

  .experience-banner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .experience-stat {
    padding-right: 0;
    padding-bottom: 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--bg-light);
  }
}

/* Capability Cards */
.capability-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.capability-card {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  border-top: 4px solid var(--primary);
  transition: var(--transition);
  box-shadow: 0 2px 10px var(--shadow);
}

.capability-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-lg);
  border-top-color: var(--primary-light);
}

.capability-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.capability-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

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

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

@media (max-width: 480px) {
  .capability-cards {
    grid-template-columns: 1fr;
  }
}

.intro-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  list-style: none;
}

.intro-list li {
  background: var(--bg-light);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  color: var(--primary);
  border-left: 3px solid var(--accent);
}

.tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* Tagline Banner */
.tagline-banner {
  background: var(--primary);
  padding: 2.5rem 3rem;
  border-radius: 12px;
  text-align: center;
  margin-top: 3rem;
}

.tagline-banner h3 {
  color: var(--text-white);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.tagline-values {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.tagline-values span {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.tagline-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0;
  font-style: italic;
}

/* ===== SERVICES / WHAT WE DO ===== */
.services-section {
  padding-top: 1.5rem;
}

.services-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.services-intro h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.services-intro h2 .highlight {
  color: var(--accent);
  position: relative;
}

.services-intro h2 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.3;
}

.services-intro .audience {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.services-intro .audience span {
  font-weight: 600;
  color: var(--primary);
  position: relative;
  padding-left: 1.75rem;
  font-size: 1.1rem;
}

.services-intro .audience span::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow);
  transition: var(--transition);
  border-top: 4px solid var(--accent);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-lg);
}

.service-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.service-card ul {
  list-style: none;
}

.service-card li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-dark);
}

.service-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.services-footer {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 10px;
}

.services-footer p {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-light);
  margin: 0;
}

/* Outcome Cards */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.outcome-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.outcome-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
}

.outcome-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px var(--shadow-lg);
}

.outcome-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.outcome-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
}

.outcome-header h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin: 0;
}

.outcome-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.outcome-result {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-light);
}

.result-label {
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

.result-text {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}

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

/* ===== BACKGROUND / EXPERIENCE ===== */
.background-section {
  position: relative;
}

.background-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.background-text h2 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.background-text > p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.experience-list {
  list-style: none;
  margin-bottom: 2rem;
}

.experience-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.background-highlights {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.background-highlights h3 {
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.highlight-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.highlight-item h4 {
  color: var(--text-white);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.highlight-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.closing-statement {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.125rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

/* ===== FRANK 1.0 SECTION ===== */
.frank-intro {
  text-align: center;
  padding: 4rem 0;
}

.frank-intro h2 {
  margin-bottom: 1rem;
}

.frank-intro p {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* FRANK Framework Hero Section */
.frank-framework-hero {
  background: var(--bg-light);
  padding: 3rem 0;
}

.frank-framework {
  padding: 5rem 0;
}

.frank-header {
  text-align: center;
  margin-bottom: 4rem;
}

.frank-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.frank-header .subtitle {
  color: var(--text-light);
  font-size: 1.125rem;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.framework-item {
  position: relative;
  text-align: center;
  padding: 1.5rem 1rem;
  padding-top: 2rem;
  background: var(--bg-white);
  border-radius: 10px;
  box-shadow: 0 3px 15px var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.framework-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-lg);
  border-color: var(--accent);
}

.framework-letter {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--text-white);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.framework-item h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.framework-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.4;
}

.framework-item ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-light);
}

.framework-item li {
  padding: 0.25rem 0;
}



/* Platform Metrics in Report Card */
.platform-metrics {
  margin-top: 8px;
}

.platform-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
}

.platform-item:last-child {
  border-bottom: none;
}

.platform-name {
  color: var(--text-dark);
  font-weight: 500;
  flex: 1;
}

.platform-value {
  color: var(--primary);
  font-weight: 600;
  margin-right: 10px;
}

.cost-chart .chart-bar {
  background: linear-gradient(to top, #e74c3c, #f39c12);
}

.cost-chart .chart-bar.highlight {
  background: #27ae60;
}

.metric-change.negative {
  color: #e74c3c;
}

/* Status Badges for Framework Items */
.status-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge.dev {
  background: #ffeaa7;
  color: #856404;
}

.status-badge.active {
  background: #d4edda;
  color: #155724;
}

.status-badge.active-dev {
  background: linear-gradient(90deg, #d4edda 50%, #ffeaa7 50%);
  color: #2d5a3d;
}

/* FRANK Slide-out Panel */
.frank-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, margin-top 0.5s ease;
  margin-top: 0;
}

.frank-panel.expanded {
  max-height: 600px;
  margin-top: 1.5rem;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.panel-card {
  background: var(--bg-white);
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 3px 15px var(--shadow);
  border-top: 3px solid var(--primary);
}

.panel-card h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  color: var(--primary);
}

.panel-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--primary);
  color: var(--text-white);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}

.panel-item {
  margin-bottom: 0.75rem;
}

.panel-item:last-child {
  margin-bottom: 0;
}

.panel-item strong {
  display: block;
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.panel-item span {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* FRANK Panel Visual Elements */
.detail-label {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.mini-metric {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.metric-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.metric-change {
  font-size: 0.75rem;
  font-weight: 600;
}

.metric-change.positive { color: #22c55e; }
.metric-change.negative { color: #ef4444; }
.positive { color: #22c55e; }
.negative { color: #ef4444; }

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
  margin-bottom: 0.75rem;
}

.chart-bar {
  flex: 1;
  background: var(--primary);
  border-radius: 2px;
  opacity: 0.5;
}

.chart-bar.highlight {
  opacity: 1;
  background: #22c55e;
}

.roi-bar {
  height: 8px;
  background: var(--bg-light);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.roi-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #22c55e);
  border-radius: 4px;
}

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

.trend-card {
  background: var(--bg-light);
  padding: 0.5rem;
  border-radius: 6px;
  text-align: center;
}

.trend-label {
  font-size: 0.65rem;
  color: var(--text-light);
  text-transform: uppercase;
}

.trend-value {
  font-size: 1rem;
  font-weight: 700;
}

.trend-value.positive { color: #22c55e; }
.trend-value.negative { color: #ef4444; }

.decision-impact {
  padding: 0.5rem;
  background: var(--bg-light);
  border-radius: 6px;
}

.impact-label {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.impact-bar {
  height: 10px;
  background: rgba(0,0,0,0.1);
  border-radius: 5px;
  overflow: hidden;
}

.impact-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #22c55e);
  border-radius: 5px;
}

.impact-text {
  font-size: 0.65rem;
  color: var(--text-light);
  margin-top: 0.35rem;
  text-align: center;
}

@media (max-width: 1024px) {
  .framework-grid,
  .panel-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .frank-panel.expanded {
    max-height: 1000px;
  }
}

@media (max-width: 768px) {
  .framework-grid,
  .panel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .frank-panel.expanded {
    max-height: 1500px;
  }

  /* Mobile FRANK card expansion - hide desktop panel */
  .frank-panel {
    display: none !important;
  }

  /* Mobile panel content injected under each card */
  .framework-item {
    position: relative;
  }

  .framework-item.mobile-expanded {
    border-color: var(--accent);
  }

  .mobile-panel-content {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    text-align: left;
    border-top: 3px solid var(--accent);
  }

  .mobile-panel-content h4 {
    display: none;
  }

  .mobile-panel-content .panel-item {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
  }

  .mobile-panel-content .panel-item:last-child {
    border-bottom: none;
  }

  .mobile-panel-content .panel-item strong {
    color: var(--primary);
    margin-bottom: 0.25rem;
  }

  .mobile-panel-content .panel-item span {
    font-size: 0.85rem;
    color: var(--text-light);
  }

  .mobile-panel-content .detail-label {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
  }

  .mobile-panel-content .mini-metric {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
  }

  .mobile-panel-content .metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
  }

  .mobile-panel-content .mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 40px;
    margin: 0.5rem 0;
  }

  .mobile-panel-content .chart-bar {
    flex: 1;
    background: var(--primary-light);
    border-radius: 2px;
  }

  .mobile-panel-content .chart-bar.highlight {
    background: var(--accent);
  }

  .mobile-panel-content .platform-metrics {
    margin-top: 0.5rem;
  }

  .mobile-panel-content .platform-item {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--border);
  }

  .mobile-panel-content .roi-bar,
  .mobile-panel-content .impact-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin: 0.25rem 0;
  }

  .mobile-panel-content .roi-fill,
  .mobile-panel-content .impact-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 4px;
  }

  .mobile-panel-content .trend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 0.5rem 0;
  }

  .mobile-panel-content .trend-card {
    text-align: center;
    padding: 0.5rem;
    background: var(--bg-white);
    border-radius: 6px;
  }

  .mobile-panel-content .trend-label {
    font-size: 0.7rem;
    color: var(--text-light);
  }

  .mobile-panel-content .trend-value {
    font-size: 1rem;
    font-weight: 700;
  }

  .mobile-panel-content .trend-value.positive {
    color: #27ae60;
  }

  .mobile-panel-content .know-features {
    margin-top: 0.75rem;
  }
}

@media (max-width: 480px) {
  .framework-grid,
  .panel-grid {
    grid-template-columns: 1fr;
  }
  .frank-panel.expanded {
    max-height: 2500px;
  }
}

.frank-tagline {
  text-align: center;
  margin-top: 4rem;
  padding: 2rem;
  background: var(--primary);
  border-radius: 10px;
}

.frank-tagline p {
  color: var(--text-white);
  font-size: 1.25rem;
  margin: 0;
}

.frank-tagline p:first-child {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.frank-tagline strong {
  color: var(--accent);
}

/* ===== FRANK 1.0 PAGE ===== */
.page-hero {
  padding: 10rem 0 5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  text-align: center;
}

.page-hero h1 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.frank-features {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 10px;
  box-shadow: 0 5px 20px var(--shadow);
  border-left: 4px solid var(--accent);
}

.feature-card h3 {
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
  margin: 0;
}

/* ===== PARTNERSHIPS PAGE ===== */
.partnerships-framework-section {
  padding: 4rem 0 2rem;
}

.how-we-work-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.who-we-help-section {
  padding-top: 1rem;
}

/* Audience Cards */
.audience-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.audience-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

.audience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.audience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px var(--shadow-lg);
}

.audience-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.audience-card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.audience-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.audience-cta {
  text-align: center;
  margin-top: 2rem;
}

.audience-cta p {
  font-size: 1.1rem;
  color: var(--text-dark);
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.audience-cta h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

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

.cta-section {
  padding-top: 2rem;
}

.partnership-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.partnership-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-white);
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  box-shadow: 0 3px 15px var(--shadow);
}

.partnership-item:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-lg);
}

.partnership-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.partnership-item h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.partnership-item p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.4;
}

/* Partnership Detail (individual slide-out) */
.partnership-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, margin-top 0.5s ease, opacity 0.3s ease;
  opacity: 0;
}

.partnership-detail.expanded {
  max-height: 600px;
  margin-top: 1.5rem;
  opacity: 1;
}

.detail-content {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 25px var(--shadow-lg);
  border-left: 5px solid var(--accent);
}

.detail-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--bg-light);
}

.detail-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.detail-header h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 0 0.25rem 0;
}

.detail-usecase {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.detail-body > p:first-child {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

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

.detail-point {
  background: var(--bg-light);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}

.detail-point strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.detail-point span {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
}

.detail-result {
  background: linear-gradient(135deg, var(--primary) 0%, #1a3a5c 100%);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  margin: 0;
}

.detail-result strong {
  color: var(--accent);
}

/* Outcome Pills */
.outcome-section {
  text-align: center;
  margin-top: 3rem;
}

.outcome-section h3 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.outcome-pills {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.outcome-pills span {
  background: var(--primary);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 1200px) {
  .partnership-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  .detail-points {
    grid-template-columns: 1fr;
  }

  .detail-header {
    flex-direction: column;
    text-align: center;
  }

  .detail-content {
    padding: 1.5rem;
  }

  .outcome-pills {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== PARTNERSHIPS ACCORDION ===== */
.partnerships-accordion {
  max-width: 900px;
  margin: 3rem auto;
}

.accordion-item {
  background: var(--bg-white);
  border-radius: 10px;
  box-shadow: 0 3px 15px var(--shadow);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:hover {
  box-shadow: 0 5px 25px var(--shadow-lg);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.accordion-header:hover {
  background: var(--bg-light);
  border-left-color: var(--accent);
}

.accordion-header h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary);
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: var(--transition);
  line-height: 1;
}

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

.accordion-item.active .accordion-header {
  background: var(--bg-light);
  border-left-color: var(--accent);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: var(--bg-light);
}

.accordion-item.active .accordion-content {
  max-height: 800px;
}

.use-case {
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid var(--border);
}

.use-case h5 {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

.use-case > p {
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.use-case ul {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.use-case li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-dark);
}

.use-case li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.use-case-result {
  background: var(--bg-white);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.use-case-result strong {
  color: var(--primary);
}

.outcome-section {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--primary);
  border-radius: 10px;
  margin-top: 4rem;
}

.outcome-section h3 {
  color: var(--text-white);
  margin-bottom: 2rem;
}

.outcome-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.outcome-list li {
  color: var(--text-white);
  font-size: 1.25rem;
  font-weight: 500;
}

.outcome-list li::after {
  content: '.';
  color: var(--accent);
  font-weight: 700;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 5rem 0;
}

.contact-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-content h2 {
  margin-bottom: 1rem;
}

.contact-content > p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.contact-form {
  text-align: left;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

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

.contact-form .btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.125rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  padding: 3rem 0 1.5rem;
}

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

.footer-brand .logo {
  color: var(--text-white);
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer h4 {
  color: var(--text-white);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Contact block in the footer. An <address> matches neither .footer-brand p nor
   .footer-links a, so without this it inherits the body colour and disappears
   into the dark footer. */
.footer-contact {
  font-style: normal;
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-contact a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.footer-contact .footer-street {
  display: block;
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin: 0;
}

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

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

.cta-section p {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .framework-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .background-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subline {
    font-size: 1.125rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 0;
    box-shadow: 0 5px 20px var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle {
    display: flex;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }
}

@media (max-width: 480px) {
  .framework-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 100px;
  }

  .btn {
    display: block;
    width: 100%;
    margin-right: 0;
  }

  .outcome-list {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Mobile Partnership Card Expansion */
@media (max-width: 768px) {
  .partnership-detail {
    display: none !important;
  }
  
  .partnership-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .partnership-item {
    position: relative;
    cursor: pointer;
    width: 100%;
  }
  
  .partnership-item.mobile-expanded {
    border-color: var(--accent);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 1.5rem;
    border-radius: 0;
    background: white;
  }
  
  .mobile-detail-content {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    text-align: left;
    border-top: 3px solid var(--accent);
    width: 100%;
  }
  
  .mobile-detail-content .detail-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .mobile-detail-content .detail-icon {
    font-size: 2rem;
    flex-shrink: 0;
  }
  
  .mobile-detail-content h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
  }
  
  .mobile-detail-content .detail-usecase {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
  }
  
  .mobile-detail-content .detail-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  
  .mobile-detail-content .detail-points {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .mobile-detail-content .detail-point {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    background: white;
    border-radius: 6px;
    border-left: 3px solid var(--accent);
  }
  
  .mobile-detail-content .detail-point strong {
    color: var(--text-dark);
    font-size: 0.9rem;
  }
  
  .mobile-detail-content .detail-point span {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .mobile-detail-content .detail-result {
    background: #1a365d;
    color: white !important;
    padding: 1rem 1.25rem;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .mobile-detail-content .detail-result * {
    color: white !important;
  }
  
  .mobile-detail-content .detail-result strong {
    color: white;
  }
}

/* How We Work - single column on mobile */
@media (max-width: 768px) {
  .services-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .service-card {
    width: 100% !important;
  }
}


/* ===== BLOG STYLES ===== */
.blog-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.blog-filter-chip {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.blog-filter-chip:hover,
.blog-filter-chip.active {
  background: var(--accent);
  color: var(--text-white);
  border-color: var(--accent);
}

.blog-search-results {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: 0 8px 25px var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card-image {
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
}

.blog-card-placeholder {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-placeholder span {
  font-size: 3rem;
  opacity: 0.3;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-categories {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.blog-category-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  background: rgba(230, 126, 34, 0.1);
  color: var(--accent);
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-category-tag:hover {
  background: var(--accent);
  color: var(--text-white);
}

.blog-card-title-link {
  text-decoration: none;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title:hover {
  color: var(--accent);
}

.blog-card-excerpt {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.blog-card-date {
  font-size: 0.85rem;
  color: var(--text-light);
}

.blog-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.blog-card-link:hover {
  color: var(--accent-hover);
}

.blog-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-white);
  border-radius: 8px;
  box-shadow: 0 2px 10px var(--shadow);
}

.blog-empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.blog-empty h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.blog-empty p {
  color: var(--text-light);
}

.blog-newsletter {
  margin-top: 3rem;
}

.blog-rss {
  text-align: center;
  margin-top: 2rem;
}

.blog-rss-link {
  color: var(--text-light);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-rss-link:hover {
  color: var(--accent);
}

/* Newsletter in Blog - simpler style */
.blog-newsletter .newsletter-box {
  background: var(--primary);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
}

.blog-newsletter .newsletter-box h3 {
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.blog-newsletter .newsletter-box p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-filters {
    justify-content: center;
  }
}
