/*
Theme Name: TFGCyber
Theme URI: https://tfgcyber.com
Author: The Fowler Group, LLC
Author URI: https://thefowlergroupllc.com
Description: Corporate website theme for TFGCyber — cybersecurity consulting, vCISO services, TPRM, and incident response. Professional design with dark mode support.
Version: 1.7.3
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: Proprietary
License URI: https://tfgcyber.com/license
Text Domain: tfgcyber
Tags: dark-mode, cybersecurity, business, corporate, consulting, custom-colors, custom-logo, featured-images

TFGCyber — Cybersecurity Consulting & Advisory
Brand Colors: Navy #1C2E3F / Teal #22B0B8
*/

/* ==========================================================================
   1. GOOGLE FONTS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,500;0,8..60,600;0,8..60,700;1,8..60,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ==========================================================================
   2. CSS VARIABLES
   ========================================================================== */
:root {
  /* Brand Navy Scale */
  --navy-900: #0D1B26;
  --navy-800: #142433;
  --navy-700: #1C2E3F;
  --navy-600: #2A4558;
  --navy-500: #3A5A70;
  --navy-400: #5A7A8F;
  --navy-300: #8BA3B5;
  --navy-200: #B8CAD6;
  --navy-100: #DDE6EC;
  --navy-50: #EFF3F6;

  /* Brand Teal Scale */
  --teal-700: #178589;
  --teal-600: #1C9CA1;
  --teal-500: #22B0B8;
  --teal-400: #3DC4CB;
  --teal-300: #6DD6DB;
  --teal-200: #A3E5E8;
  --teal-100: #D4F3F4;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F8F9FB;
  --gray-100: #F1F3F6;
  --gray-200: #E2E6EB;
  --gray-300: #CDD3DA;
  --gray-400: #9BA5B1;
  --gray-500: #6B7684;
  --gray-600: #4A5463;
  --gray-700: #343D49;

  /* Status Colors */
  --red-600: #B91C1C;
  --red-500: #C53030;
  --red-100: #FEE2E2;
  --amber-600: #B45309;
  --amber-500: #D97706;
  --amber-100: #FEF3C7;
  --green-600: #047857;
  --green-500: #059669;
  --green-100: #D1FAE5;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-100: #DBEAFE;
  --purple-600: #7C3AED;
  --purple-100: #EDE9FE;
  --indigo-600: #4F46E5;
  --indigo-100: #E0E7FF;

  /* Typography */
  --font-heading: 'DM Sans', 'Helvetica Neue', Helvetica, sans-serif;
  --font-body: 'Source Serif 4', 'Georgia', serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;
  --font-ui: 'DM Sans', 'Helvetica Neue', Helvetica, sans-serif;

  /* Layout */
  --max-width: 1200px;
  --content-width: 720px;
  --wide-width: 960px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(13,27,38,0.06);
  --shadow-md: 0 4px 12px rgba(13,27,38,0.08);
  --shadow-lg: 0 8px 30px rgba(13,27,38,0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: 0.2s ease;

  /* Semantic Variables (Light Mode) */
  --theme-bg-primary: var(--white);
  --theme-bg-secondary: var(--gray-50);
  --theme-bg-tertiary: var(--gray-100);
  --theme-bg-header: rgba(255,255,255,0.95);
  --theme-bg-card: var(--white);
  --theme-bg-code: var(--gray-100);
  
  --theme-text-primary: var(--navy-800);
  --theme-text-secondary: var(--navy-600);
  --theme-text-tertiary: var(--navy-500);
  --theme-text-muted: var(--gray-500);
  --theme-text-inverse: var(--white);
  
  --theme-border-primary: var(--gray-200);
  --theme-border-secondary: var(--gray-300);
  
  --theme-link: var(--teal-600);
  --theme-link-hover: var(--teal-700);
  
  --theme-shadow: rgba(13,27,38,0.08);
}

/* Dark Mode */
[data-theme="dark"] {
  --theme-bg-primary: var(--navy-900);
  --theme-bg-secondary: var(--navy-800);
  --theme-bg-tertiary: var(--navy-700);
  --theme-bg-header: rgba(13,27,38,0.95);
  --theme-bg-card: var(--navy-800);
  --theme-bg-code: var(--navy-700);
  
  --theme-text-primary: var(--gray-100);
  --theme-text-secondary: var(--gray-200);
  --theme-text-tertiary: var(--gray-300);
  --theme-text-muted: var(--gray-400);
  --theme-text-inverse: var(--navy-900);
  
  --theme-border-primary: var(--navy-700);
  --theme-border-secondary: var(--navy-600);
  
  --theme-link: var(--teal-400);
  --theme-link-hover: var(--teal-300);
  
  --theme-shadow: rgba(0,0,0,0.3);
}

/* ==========================================================================
   3. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--theme-text-primary); background: var(--theme-bg-primary); line-height: 1.7; transition: background-color 0.3s ease, color 0.3s ease; }
a { color: var(--theme-link); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--theme-link-hover); }
img { max-width: 100%; height: auto; }

/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--theme-text-primary); line-height: 1.25; font-weight: 600; }
h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.015em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--theme-text-muted); }
p { margin-bottom: 1.5rem; }

blockquote {
  border-left: 3px solid var(--teal-500);
  padding: 1rem 0 1rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--theme-text-secondary);
  font-size: 1.125rem;
}

code { font-family: var(--font-mono); font-size: 0.875em; background: var(--theme-bg-code); padding: 0.15em 0.4em; border-radius: var(--radius-sm); }
pre { background: var(--navy-900); color: var(--gray-200); padding: 1.5rem; border-radius: var(--radius-md); overflow-x: auto; margin: 2rem 0; font-size: 0.875rem; line-height: 1.6; }
pre code { background: none; padding: 0; color: inherit; }
hr { border: none; height: 1px; background: var(--theme-border-primary); margin: 3rem 0; }

/* ==========================================================================
   5. LAYOUT
   ========================================================================== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.content-width { max-width: var(--content-width); margin: 0 auto; }
.wide-width { max-width: var(--wide-width); margin: 0 auto; }
.site-main { min-height: 60vh; }

/* Section Spacing */
.section { padding: 5rem 0; }
.section--sm { padding: 3rem 0; }
.section--lg { padding: 7rem 0; }
.section--alt { background: var(--theme-bg-secondary); }
.section--dark { background: var(--navy-800); color: var(--white); }
[data-theme="dark"] .section--dark { background: var(--navy-900); }

/* ==========================================================================
   6. SITE HEADER
   ========================================================================== */
.site-header {
  background: var(--theme-bg-header);
  border-bottom: 1px solid var(--theme-border-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-branding a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
}

.site-branding img,
.custom-logo {
  height: 48px;
  width: auto;
}

.site-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--theme-text-primary);
  letter-spacing: -0.01em;
  margin: 0;
}

.site-title a { color: inherit; }

.site-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--teal-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
}

/* ==========================================================================
   7. NAVIGATION
   ========================================================================== */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-menu li { margin: 0; padding: 0; position: relative; }

.nav-menu a {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--theme-text-secondary);
  letter-spacing: 0.01em;
  transition: color var(--transition);
  padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a { color: var(--theme-text-primary); }

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--theme-bg-card);
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}

.nav-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu .sub-menu a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
}

.nav-menu .sub-menu a:hover {
  background: var(--theme-bg-secondary);
}

/* Nav Buttons */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background: var(--teal-500);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: var(--teal-700);
  transform: translateY(-1px);
}

/* Theme Toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  color: var(--theme-text-secondary);
  border: 1.5px solid var(--theme-border-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.theme-toggle:hover {
  background: var(--theme-bg-tertiary);
  border-color: var(--theme-text-muted);
  color: var(--theme-text-primary);
}

.theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: block; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  padding: 0.5rem;
  background: none;
  border: 1.5px solid var(--theme-border-secondary);
  border-radius: var(--radius-sm);
  color: var(--theme-text-secondary);
  cursor: pointer;
}

/* ==========================================================================
   8. HERO SECTION
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(34, 176, 184, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero__content {
  max-width: 650px;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 176, 184, 0.15);
  color: var(--teal-400);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  color: var(--white);
  font-size: 3.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero__subtitle {
  color: var(--gray-300);
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

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

.hero__credentials {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero__credential {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-300);
  font-family: var(--font-ui);
  font-size: 0.875rem;
}

.hero__credential svg {
  color: var(--teal-400);
}

/* ==========================================================================
   9. SERVICES SECTION
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--theme-bg-card);
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  border-color: var(--teal-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 176, 184, 0.1);
  color: var(--teal-500);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
}

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

.service-card p {
  color: var(--theme-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-500);
}

.service-card__link:hover {
  gap: 0.75rem;
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

/* Featured Service (larger card) */
.service-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem;
}

.service-card--featured .service-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==========================================================================
   10. CREDENTIALS & TRUST
   ========================================================================== */
.credentials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.credential {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.credential__badge {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-bg-card);
  border: 2px solid var(--theme-border-primary);
  border-radius: 50%;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-500);
}

.credential__name {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--theme-text-primary);
}

.credential__org {
  font-size: 0.75rem;
  color: var(--theme-text-muted);
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat {
  padding: 1.5rem;
}

.stat__value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal-500);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--theme-text-secondary);
}

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

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--theme-text-secondary);
  font-size: 1.0625rem;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 100%;
  height: 100%;
  background: var(--teal-500);
  border-radius: var(--radius-lg);
  opacity: 0.1;
  z-index: -1;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-member {
  text-align: center;
}

.team-member__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--theme-bg-secondary);
  box-shadow: var(--shadow-md);
}

.team-member__name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-member__title {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--teal-500);
  margin-bottom: 0.75rem;
}

.team-member__bio {
  font-size: 0.9375rem;
  color: var(--theme-text-secondary);
  line-height: 1.6;
}

.team-member__certs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.team-member__cert {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: var(--theme-bg-secondary);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--theme-text-secondary);
  letter-spacing: 0.03em;
}

/* ==========================================================================
   12. TESTIMONIALS
   ========================================================================== */
.testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial__quote {
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--theme-text-primary);
  margin-bottom: 2rem;
  position: relative;
}

.testimonial__quote::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--teal-500);
  opacity: 0.3;
  position: absolute;
  top: -1.5rem;
  left: -2rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__info {
  text-align: left;
}

.testimonial__name {
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--theme-text-primary);
}

.testimonial__role {
  font-size: 0.875rem;
  color: var(--theme-text-muted);
}

/* ==========================================================================
   13. CTA SECTION
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-800) 100%);
  padding: 5rem 0;
  text-align: center;
}

[data-theme="dark"] .cta-section {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

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

.cta-section .btn-primary {
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

/* ==========================================================================
   14. CONTACT FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--theme-text-secondary);
  margin-bottom: 2rem;
}

.contact-methods {
  list-style: none;
}

.contact-methods li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-methods svg {
  width: 24px;
  height: 24px;
  color: var(--teal-500);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.contact-methods strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--theme-text-primary);
  margin-bottom: 0.25rem;
}

.contact-methods span {
  font-size: 0.9375rem;
  color: var(--theme-text-secondary);
}

.contact-form {
  background: var(--theme-bg-card);
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

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

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--theme-text-primary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--theme-text-primary);
  background: var(--theme-bg-primary);
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(34, 176, 184, 0.15);
}

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

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

/* ==========================================================================
   15. BLOG / RESOURCES
   ========================================================================== */

/* Resources page search & filters */
.resources-search {
  margin-top: 1.5rem;
  max-width: 500px;
}

.resources-search .search-form {
  margin: 0;
}

.resources-filter-group {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.resources-filter-group + .resources-filter-group {
  margin-top: 0.75rem;
}

.resources-filter-label {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--theme-text-tertiary);
  min-width: 3rem;
}

.resources-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.resources-filter {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--theme-text-secondary);
  background: transparent;
  border: 1px solid var(--theme-border-primary);
  border-radius: 100px;
  text-decoration: none;
  transition: all var(--transition);
}

.resources-filter:hover {
  border-color: var(--teal-500);
  color: var(--teal-500);
}

.resources-filter--active {
  background: var(--teal-500);
  border-color: var(--teal-500);
  color: #FFFFFF !important;
}

.resources-filter--active:hover {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: #FFFFFF !important;
}

.resources-filter--sector {
  border-style: dashed;
}

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

.post-card {
  background: var(--theme-bg-card);
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.post-card:hover {
  border-color: var(--teal-500);
  box-shadow: var(--shadow-md);
}

.post-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.post-card:hover .post-card__image img {
  transform: scale(1.05);
}

.post-card__content {
  padding: 1.5rem;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.post-card__category {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: rgba(34, 176, 184, 0.1);
  color: var(--teal-600);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Per-category pill colors */
.post-card__category--threat-intel { background: rgba(239, 68, 68, 0.1); color: #DC2626; }
.post-card__category--grc { background: rgba(59, 130, 246, 0.1); color: #2563EB; }
.post-card__category--insights { background: rgba(139, 92, 246, 0.1); color: #7C3AED; }
.post-card__category--news { background: rgba(245, 158, 11, 0.1); color: #D97706; }

[data-theme="dark"] .post-card__category--threat-intel { background: rgba(239, 68, 68, 0.15); color: #F87171; }
[data-theme="dark"] .post-card__category--grc { background: rgba(59, 130, 246, 0.15); color: #60A5FA; }
[data-theme="dark"] .post-card__category--insights { background: rgba(139, 92, 246, 0.15); color: #A78BFA; }
[data-theme="dark"] .post-card__category--news { background: rgba(245, 158, 11, 0.15); color: #FBBF24; }

.post-card__date {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--theme-text-muted);
}

.post-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.post-card__title a {
  color: var(--theme-text-primary);
}

.post-card__title a:hover {
  color: var(--theme-link);
}

.post-card__excerpt {
  color: var(--theme-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: var(--gray-300);
  padding: 4rem 0 2rem;
}

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

.footer-brand img,
.footer-brand .custom-logo {
  height: 48px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--navy-800);
  color: var(--gray-400);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--teal-500);
  color: var(--white);
}

.footer-nav h4 {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}

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

.footer-nav li {
  margin-bottom: 0.75rem;
}

.footer-nav a {
  color: var(--gray-300);
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--white);
}

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

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin: 0;
}

.footer-bottom a {
  color: var(--gray-400);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ==========================================================================
   17. BUTTONS
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--teal-500);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: var(--teal-700);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--theme-text-primary);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1.5px solid var(--theme-border-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--theme-bg-secondary);
  border-color: var(--theme-text-muted);
}

/* ==========================================================================
   18. PAGE HEADER
   ========================================================================== */
.page-header {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  padding: 4rem 0;
  text-align: center;
}

[data-theme="dark"] .page-header {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--gray-300);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--gray-400);
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs span {
  margin: 0 0.5rem;
}

/* ==========================================================================
   19. SINGLE POST
   ========================================================================== */
.single-post .entry-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--theme-border-primary);
  margin-bottom: 2rem;
}

.entry-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.entry-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.entry-content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.entry-content h2 { margin-top: 3rem; margin-bottom: 1.25rem; }
.entry-content h3 { margin-top: 2.5rem; margin-bottom: 1rem; }

/* Share section */
.share-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--theme-border-primary);
}

.share-section__title {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--theme-text-tertiary);
  margin-bottom: 1.25rem;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.375rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.share-btn span {
  line-height: 1;
}

.share-btn--linkedin {
  background: #0A66C2 !important;
  color: #FFFFFF !important;
}

.share-btn--linkedin:hover {
  background: #004182 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.5);
}

.share-btn--x {
  background: #14171A !important;
  color: #FFFFFF !important;
}

[data-theme="dark"] .share-btn--x {
  background: #E7E9EA !important;
  color: #14171A !important;
}

.share-btn--x:hover {
  background: #000000 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .share-btn--x:hover {
  background: #FFFFFF !important;
  color: #000000 !important;
}

.share-btn--facebook {
  background: #1877F2 !important;
  color: #FFFFFF !important;
}

.share-btn--facebook:hover {
  background: #0C5DC7 !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.5);
}

.share-btn--email {
  background: #EA4335 !important;
  color: #FFFFFF !important;
}

.share-btn--email:hover {
  background: #C5221F !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(234, 67, 53, 0.5);
}

.share-btn--copy {
  background: transparent !important;
  color: var(--theme-text-primary) !important;
  border: 2px solid var(--theme-border-primary);
}

.share-btn--copy:hover {
  border-color: var(--teal-500);
  color: var(--teal-500) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 176, 184, 0.3);
}

/* WordPress editor color palette — front-end classes */
.has-navy-900-color { color: #0D1B26 !important; }
.has-navy-700-color { color: #1C2E3F !important; }
.has-teal-500-color { color: #22B0B8 !important; }
.has-teal-700-color { color: #178589 !important; }
.has-white-color { color: #FFFFFF !important; }
.has-gray-100-color { color: #F1F3F6 !important; }

.has-navy-900-background-color { background-color: #0D1B26 !important; }
.has-navy-700-background-color { background-color: #1C2E3F !important; }
.has-teal-500-background-color { background-color: #22B0B8 !important; }
.has-teal-700-background-color { background-color: #178589 !important; }
.has-white-background-color { background-color: #FFFFFF !important; }
.has-gray-100-background-color { background-color: #F1F3F6 !important; }
.entry-content ul, .entry-content ol { margin: 1.5rem 0; padding-left: 1.5rem; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content img { border-radius: var(--radius-md); margin: 2rem 0; }

/* ==========================================================================
   20. UTILITIES
   ========================================================================== */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header h6 {
  color: var(--teal-500);
  margin-bottom: 0.75rem;
}

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

.section-header p {
  color: var(--theme-text-secondary);
  font-size: 1.125rem;
}

/* ==========================================================================
   21. SHARED SERVICE PAGE COMPONENTS (vCISO, TPRM)
   ========================================================================== */

/* --- Intro Paragraph --- */
.svc-intro {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--theme-text-secondary);
}

.svc-intro p {
  margin: 0;
}

.svc-intro strong {
  color: var(--theme-text-primary);
  font-weight: 600;
}

/* --- Engagement Model Cards (side-by-side with left border accent) --- */
.svc-models {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.svc-model-card {
  padding: 1.75rem 1.75rem 1.75rem 2rem;
  position: relative;
}

.svc-model-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 3px;
  border-radius: 2px;
}

.svc-model-card--teal {
  background: var(--teal-100);
}

.svc-model-card--teal::before {
  background: var(--teal-500);
}

.svc-model-card--navy {
  background: var(--theme-bg-secondary);
}

.svc-model-card--navy::before {
  background: var(--navy-700);
}

[data-theme="dark"] .svc-model-card--teal {
  background: rgba(34, 176, 184, 0.08);
}

[data-theme="dark"] .svc-model-card--navy {
  background: var(--theme-bg-secondary);
}

.svc-model-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--theme-text-primary);
  margin-bottom: 0.25rem;
}

.svc-model-card__subtitle {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.svc-model-card--teal .svc-model-card__subtitle {
  color: var(--teal-700);
}

.svc-model-card--navy .svc-model-card__subtitle {
  color: var(--theme-text-tertiary);
}

[data-theme="dark"] .svc-model-card--teal .svc-model-card__subtitle {
  color: var(--teal-400);
}

.svc-model-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.svc-model-list li {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--theme-text-primary);
  padding: 0.3rem 0 0.3rem 1rem;
  position: relative;
  line-height: 1.4;
}

.svc-model-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 1px;
}

.svc-model-card--teal .svc-model-list li::before {
  background: var(--teal-500);
}

.svc-model-card--navy .svc-model-list li::before {
  background: var(--navy-700);
}

[data-theme="dark"] .svc-model-card--navy .svc-model-list li::before {
  background: var(--gray-400);
}

/* --- Scope Table (alternating row style) --- */
.svc-scope-table {
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.svc-scope-row {
  display: flex;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--theme-border-primary);
}

.svc-scope-row:last-child {
  border-bottom: none;
}

.svc-scope-row:nth-child(even) {
  background: var(--theme-bg-secondary);
}

.svc-scope-row__title {
  width: 200px;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--theme-text-primary);
  line-height: 1.5;
}

.svc-scope-row__desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--theme-text-secondary);
  line-height: 1.55;
}

/* --- Shared Service Page Responsive --- */
@media (max-width: 768px) {
  .svc-models { grid-template-columns: 1fr; }
  .svc-scope-row { flex-direction: column; gap: 0.25rem; }
  .svc-scope-row__title { width: auto; }
}

/* ==========================================================================
   22. TPRM PAGE SPECIFIC
   ========================================================================== */

/* --- Sticky Sidebar --- */
.tprm-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  transition: opacity 0.3s ease;
}

.tprm-sidebar__inner {
  background: var(--theme-bg-primary);
  border: 1px solid var(--theme-border-primary);
  border-right: none;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
  width: 200px;
}

.tprm-sidebar__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--theme-text-tertiary);
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--theme-border-primary);
}

.tprm-sidebar__header svg {
  color: var(--teal-500);
}

.tprm-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--transition);
}

.tprm-sidebar__link:hover {
  background: var(--theme-bg-secondary);
}

.tprm-sidebar__link + .tprm-sidebar__link {
  margin-top: 0.25rem;
}

.tprm-sidebar__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-100);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  color: var(--teal-500);
}

[data-theme="dark"] .tprm-sidebar__icon {
  background: rgba(34, 176, 184, 0.12);
}

.tprm-sidebar__text {
  flex: 1;
  min-width: 0;
}

.tprm-sidebar__text strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--theme-text-primary);
  line-height: 1.2;
}

.tprm-sidebar__text small {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  color: var(--theme-text-tertiary);
  line-height: 1.2;
}

.tprm-sidebar__arrow {
  flex-shrink: 0;
  color: var(--theme-text-tertiary);
  transition: color var(--transition);
}

.tprm-sidebar__link:hover .tprm-sidebar__arrow {
  color: var(--teal-500);
}

/* --- Stats Banner --- */
.tprm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.tprm-stat {
  padding: 2rem 1.5rem;
  background: var(--theme-bg-secondary);
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.tprm-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tprm-stat__value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal-500);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.tprm-stat__value span {
  font-size: 1.5rem;
  font-weight: 500;
}

.tprm-stat__label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--theme-text-secondary);
  line-height: 1.4;
}

/* --- Regulatory Context --- */
.tprm-context {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--theme-bg-secondary);
  border: 1px solid var(--theme-border-primary);
  border-left: 4px solid var(--teal-500);
  border-radius: var(--radius-lg);
}

.tprm-context__icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.tprm-context p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--theme-text-secondary);
  margin: 0;
}

/* --- Engagement Model Cards --- */
.tprm-models {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.tprm-model-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--theme-bg-primary);
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition);
}

.tprm-model-card:hover {
  box-shadow: var(--shadow-lg);
}

.tprm-model-card--featured {
  border-color: var(--teal-500);
  border-width: 2px;
}

.tprm-model-card__badge {
  position: absolute;
  top: -12px;
  left: 2rem;
  background: var(--teal-500);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 1rem;
  border-radius: 100px;
}

.tprm-model-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-100);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

[data-theme="dark"] .tprm-model-card__icon {
  background: rgba(34, 176, 184, 0.12);
}

.tprm-model-card h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--theme-text-primary);
  margin-bottom: 0.375rem;
}

.tprm-model-card__subtitle {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--theme-text-secondary);
  margin-bottom: 1.5rem;
}

/* --- Checklist (shared) --- */
.tprm-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tprm-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--theme-text-secondary);
  line-height: 1.4;
}

.tprm-checklist li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Service Scope Grid --- */
.tprm-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tprm-scope-card {
  padding: 2rem;
  background: var(--theme-bg-secondary);
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.tprm-scope-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tprm-scope-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-100);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  color: var(--teal-500);
}

[data-theme="dark"] .tprm-scope-card__icon {
  background: rgba(34, 176, 184, 0.12);
}

.tprm-scope-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--theme-text-primary);
  margin-bottom: 0.75rem;
}

.tprm-scope-card p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--theme-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* --- Implementation Callout --- */
.tprm-implementation {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background: var(--theme-bg-primary);
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-lg);
}

.tprm-implementation__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-100);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}

[data-theme="dark"] .tprm-implementation__icon {
  background: rgba(34, 176, 184, 0.12);
}

.tprm-implementation h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--theme-text-primary);
  margin-bottom: 1rem;
}

.tprm-implementation p {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--theme-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* --- Audience List --- */
.tprm-audience {
  max-width: 800px;
  margin: 0 auto;
}

.tprm-audience__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--theme-text-secondary);
  line-height: 1.5;
  border-bottom: 1px solid var(--theme-border-primary);
}

.tprm-audience__item:last-child {
  border-bottom: none;
}

.tprm-audience__item svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* --- Differentiator Cards --- */
.tprm-diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tprm-diff-card {
  padding: 2rem;
  background: var(--theme-bg-primary);
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.tprm-diff-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tprm-diff-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-100);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  color: var(--teal-500);
}

[data-theme="dark"] .tprm-diff-card__icon {
  background: rgba(34, 176, 184, 0.12);
}

.tprm-diff-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--theme-text-primary);
  margin-bottom: 0.75rem;
}

.tprm-diff-card p {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--theme-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   22b. TFGBRIEFS PAGE
   ========================================================================== */

/* --- Industry Verticals List --- */
.tfgb-verticals {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.tfgb-vertical {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--theme-border-primary);
}

.tfgb-vertical:nth-last-child(-n+2) {
  border-bottom: none;
}

.tfgb-vertical__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.35rem;
}

.tfgb-vertical__text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.tfgb-vertical__text strong {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--theme-text-primary);
}

.tfgb-vertical__text span {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--theme-text-tertiary);
}

/* --- Pricing Cards --- */
.tfgb-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.tfgb-plan {
  position: relative;
  padding: 2rem;
  background: var(--theme-bg-primary);
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition);
}

.tfgb-plan:hover {
  box-shadow: var(--shadow-lg);
}

.tfgb-plan--featured {
  border-color: var(--teal-500);
  border-width: 2px;
  transform: scale(1.03);
}

.tfgb-plan__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal-500);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.tfgb-plan__header {
  margin-bottom: 1rem;
}

.tfgb-plan__header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--theme-text-primary);
  margin-bottom: 0.5rem;
}

.tfgb-plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.tfgb-plan__amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-500);
}

.tfgb-plan__period {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--theme-text-tertiary);
}

.tfgb-plan__desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--theme-text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--theme-border-primary);
}

.tfgb-plan__features {
  flex: 1;
  margin-bottom: 1.5rem;
}

.tfgb-plan__features li::before {
  background: var(--teal-500);
}

.tfgb-plan__cta {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* --- White-Label Platform Section --- */
.tfgb-whitelabel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.tfgb-whitelabel__content h6 {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin-bottom: 0.5rem;
}

.tfgb-whitelabel__content h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--theme-text-primary);
  margin-bottom: 1rem;
}

.tfgb-whitelabel__content p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--theme-text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.tfgb-whitelabel__content .svc-model-list {
  margin-bottom: 1.5rem;
}

.tfgb-whitelabel__content .svc-model-list li::before {
  background: var(--teal-500);
}

/* Mock browser window */
.tfgb-whitelabel__mockup {
  background: var(--theme-bg-secondary);
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.tfgb-whitelabel__mockup-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--theme-bg-primary);
  border-bottom: 1px solid var(--theme-border-primary);
}

.tfgb-whitelabel__mockup-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--theme-border-primary);
}

.tfgb-whitelabel__mockup-body {
  padding: 1.5rem;
}

.tfgb-whitelabel__mockup-logo {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--teal-500);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--teal-500);
}

.tfgb-whitelabel__mockup-line {
  height: 8px;
  background: var(--theme-border-primary);
  border-radius: 4px;
  margin-bottom: 0.625rem;
}

.tfgb-whitelabel__mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 1rem;
}

.tfgb-whitelabel__mockup-grid div {
  height: 48px;
  background: var(--theme-border-primary);
  border-radius: var(--radius-sm);
}

/* --- TFGBriefs Responsive --- */
@media (max-width: 1024px) {
  .tfgb-pricing { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .tfgb-plan--featured { transform: none; }
  .tfgb-whitelabel { grid-template-columns: 1fr; }
  .tfgb-whitelabel__visual { order: -1; }
}

@media (max-width: 768px) {
  .tfgb-verticals { grid-template-columns: 1fr; }
  .tfgb-vertical:last-child { border-bottom: none; }
  .tfgb-vertical:nth-last-child(2) { border-bottom: 1px solid var(--theme-border-primary); }
}

/* --- TPRM Responsive --- */
@media (max-width: 1024px) {
  .tprm-scope-grid { grid-template-columns: repeat(2, 1fr); }
  .tprm-diff-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .tprm-stats { grid-template-columns: 1fr; gap: 1rem; }
  .tprm-stat__value { font-size: 2rem; }
  .tprm-models { grid-template-columns: 1fr; }
  .tprm-scope-grid { grid-template-columns: 1fr; }
  .tprm-diff-grid { grid-template-columns: 1fr; }
  .tprm-context { flex-direction: column; }
  .tprm-sidebar { display: none; }
}

/* ==========================================================================
   23. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .container { padding: 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .about-grid { gap: 3rem; }
  .contact-grid { gap: 3rem; }
  .service-card--featured { grid-column: span 1; grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  
  .site-header .container { height: 64px; }
  .nav-menu { display: none; }
  .menu-toggle { display: flex; }
  
  .hero { padding: 4rem 0; }
  .hero h1 { font-size: 2.25rem; }
  .hero__subtitle { font-size: 1.125rem; }
  .hero__actions { flex-direction: column; }
  .hero__credentials { flex-direction: column; gap: 1rem; text-align: center; }
  
  .section { padding: 3rem 0; }
  
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  
  .page-header h1 { font-size: 2rem; }
  .entry-title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .credentials { gap: 2rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   22. WORDPRESS ADMIN BAR
   ========================================================================== */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* Block Editor */
.alignwide { max-width: var(--wide-width); margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }

/* ==========================================================================
   23. MOBILE NAVIGATION
   ========================================================================== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--theme-bg-primary);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 0;
    border-top: 1px solid var(--theme-border-primary);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    z-index: 99;
  }

  .nav-menu--open {
    display: flex;
    transform: translateX(0);
  }

  .nav-menu li {
    border-bottom: 1px solid var(--theme-border-primary);
  }

  .nav-menu a {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .nav-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--theme-bg-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu .sub-menu--open {
    max-height: 500px;
  }

  .nav-menu .sub-menu a {
    padding-left: 2.5rem;
  }

  .submenu-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--theme-text-secondary);
    cursor: pointer;
    transition: transform 0.2s ease;
  }

  .submenu-toggle[aria-expanded="true"] {
    transform: translateY(-50%) rotate(180deg);
  }

  .menu-item-has-children {
    position: relative;
  }

  body.nav-open {
    overflow: hidden;
  }

  .admin-bar .nav-menu {
    top: 110px;
  }
}

@media (min-width: 769px) {
  .submenu-toggle {
    display: none;
  }
}

/* ==========================================================================
   24. SOLUTIONS PAGE
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.solution-card {
  background: var(--theme-bg-card);
  border: 1px solid var(--theme-border-primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.solution-card:hover {
  border-color: var(--teal-500);
  box-shadow: var(--shadow-md);
}

.solution-card__logo {
  height: 48px;
  margin-bottom: 1.5rem;
}

.solution-card__logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.solution-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 176, 184, 0.1);
  color: var(--teal-500);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.solution-card__icon svg {
  width: 28px;
  height: 28px;
}

.solution-card__category {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: var(--theme-bg-secondary);
  color: var(--theme-text-muted);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.solution-card__content {
  flex: 1;
}

.solution-card__content h3 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.solution-card__content p {
  color: var(--theme-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.solution-card__features {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
}

.solution-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--theme-text-secondary);
  margin-bottom: 0.5rem;
}

.solution-card__features svg {
  color: var(--teal-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.solution-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--theme-border-primary);
  margin-top: auto;
}

.solution-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--theme-text-secondary);
}

.solution-card__link:hover {
  color: var(--theme-link);
}

.solution-card__link svg {
  transition: transform var(--transition);
}

.solution-card__link:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .solution-card__footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  
  .solution-card__footer .btn-primary {
    width: 100%;
    justify-content: center;
  }
}
