/*
Theme Name:   RKLCMA Child Theme
Theme URI:    https://rklcma.com
Description:  Child theme for RKLCMA — Randhir Kumar Lal & Associates. McKinsey-inspired design system for Astra parent theme.
Author:       RKLCMA
Author URI:   https://rklcma.com
Template:     astra
Version:      1.0.0
Text Domain:  rklcma
*/

/* ============================================================
   RKLCMA CUSTOM DESIGN SYSTEM
   Deep Navy · Warm White · Gold
   ============================================================ */

/* --- DESIGN TOKENS ----------------------------------------- */
:root {
  --navy:        #0D1F3C;
  --navy-deep:   #071529;
  --navy-mid:    #162847;
  --gold:        #B8963E;
  --gold-light:  #D4AF6A;
  --gold-pale:   #F5EDD8;
  --white:       #FFFFFF;
  --off-white:   #F8F6F1;
  --warm-gray:   #EAE7E0;
  --mid-gray:    #9B9589;
  --dark-gray:   #3A3630;
  --text-body:   #2C2A26;
  --text-muted:  #6B6660;
  --border:      rgba(13, 31, 60, 0.12);
  --border-gold: rgba(184, 150, 62, 0.35);
  --rule:        rgba(13, 31, 60, 0.08);

  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body:    'Source Serif 4', 'Georgia', serif;
  --font-ui:      'Inter', 'Helvetica Neue', sans-serif;

  --max-width:     1200px;
  --content-width: 780px;
  --section-pad:   96px;
  --radius-sm:     3px;
  --radius-md:     6px;
  --transition:    0.22s ease;

  --shadow-card:  0 1px 3px rgba(13,31,60,0.08), 0 8px 24px rgba(13,31,60,0.06);
  --shadow-hover: 0 4px 16px rgba(13,31,60,0.14), 0 16px 48px rgba(13,31,60,0.10);
}

/* --- GLOBAL RESET ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* --- TYPOGRAPHY -------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); }
h4 { font-size: 1.125rem; font-weight: 500; }
h5 {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

p { margin: 0 0 1.35em; }

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

strong, b { font-weight: 600; }

.lead {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 300;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--gold);
  background: var(--gold-pale);
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-style: italic;
  color: var(--navy);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold);
}

/* --- LAYOUT ------------------------------------------------ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .container { padding: 0 24px; } }

.section { padding: var(--section-pad) 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h1,
.section--navy h2,
.section--navy h3 { color: var(--white); }
.section--off-white { background: var(--off-white); }
.section--warm { background: var(--gold-pale); }

/* --- ASTRA OVERRIDES --------------------------------------- */
.ast-container { max-width: var(--max-width) !important; }

/* Remove Astra's default header padding */
.site-header,
.ast-primary-header-bar {
  background: var(--navy) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  padding: 0 !important;
}

.ast-site-header-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* Logo */
.site-branding .site-title a,
.ast-site-identity .site-title a {
  font-family: var(--font-display) !important;
  font-size: 1.375rem !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  letter-spacing: -0.01em !important;
}

/* Primary nav links */
.ast-nav-menu > li > a,
.main-navigation ul li a {
  color: rgba(255,255,255,0.82) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  font-family: var(--font-ui) !important;
  padding: 28px 18px !important;
  transition: color var(--transition) !important;
}

.ast-nav-menu > li > a:hover,
.ast-nav-menu > li.current-menu-item > a {
  color: var(--gold-light) !important;
}

/* Dropdown */
.ast-nav-menu .sub-menu,
.main-navigation .sub-menu {
  background: var(--navy-deep) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-top: 2px solid var(--gold) !important;
  border-radius: 0 0 var(--radius-md) var(--radius-md) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35) !important;
  min-width: 220px !important;
}

.ast-nav-menu .sub-menu li a {
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.8125rem !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  padding: 10px 20px !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

.ast-nav-menu .sub-menu li a:hover {
  color: var(--gold-light) !important;
  background: rgba(255,255,255,0.04) !important;
}

/* Gold CTA button in nav — add CSS class "menu-cta" to the menu item */
.menu-item.menu-cta > a {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-sm) !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  font-size: 0.625rem !important;
  letter-spacing: 0.10em !important;
  margin-left: 12px;
}

.menu-item.menu-cta > a:hover {
  background: var(--gold-light) !important;
}

/* --- HERO SECTION ------------------------------------------ */
.rklcma-hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
  min-height: 82vh;
  display: flex;
  align-items: center;
}

.rklcma-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(184,150,62,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(184,150,62,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.rklcma-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.rklcma-hero .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.rklcma-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.rklcma-hero .hero-overline {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.rklcma-hero .hero-overline::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.rklcma-hero h1 {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  font-weight: 700;
}

.rklcma-hero h1 em { color: var(--gold-light); font-style: italic; }

.rklcma-hero .hero-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
  margin-bottom: 44px;
  max-width: 540px;
  font-weight: 300;
  font-family: var(--font-ui);
}

.rklcma-hero .hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.rklcma-hero .hero-credentials {
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.rklcma-hero .credential-item {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.rklcma-hero .credential-item strong {
  display: block;
  font-size: 1.375rem;
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

/* --- BUTTONS ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui) !important;
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase !important;
  border-radius: var(--radius-sm) !important;
  cursor: pointer;
  transition: all var(--transition) !important;
  text-decoration: none !important;
  border: none;
}

.btn-primary {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  padding: 14px 28px !important;
}
.btn-primary:hover {
  background: var(--gold-light) !important;
  color: var(--navy-deep) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,150,62,0.35) !important;
}

.btn-outline {
  background: transparent !important;
  color: var(--white) !important;
  padding: 13px 27px !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.7) !important;
  color: var(--white) !important;
  background: rgba(255,255,255,0.06) !important;
}

.btn-navy {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 14px 28px !important;
}
.btn-navy:hover { background: var(--navy-mid) !important; color: var(--white) !important; }

/* --- SECTION HEADERS --------------------------------------- */
.section-header { max-width: 640px; margin-bottom: 56px; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }

.section-rule {
  width: 40px; height: 2px;
  background: var(--gold);
  margin: 20px 0 0;
  display: block;
}
.section-header.centered .section-rule { margin-left: auto; margin-right: auto; }

/* --- SERVICE CARDS ----------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.service-card {
  background: var(--white);
  padding: 44px 40px;
  position: relative;
  transition: all var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { box-shadow: var(--shadow-hover); z-index: 1; }

.service-card .service-icon {
  width: 44px; height: 44px;
  margin-bottom: 24px;
  color: var(--gold);
}

.service-card h3 { font-size: 1.1875rem; margin-bottom: 12px; }

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-card .service-link {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}
.service-card .service-link::after { content: '→'; transition: transform var(--transition); }
.service-card:hover .service-link { color: var(--gold); }
.service-card:hover .service-link::after { transform: translateX(3px); }

/* Service / page hero bar */
.service-hero {
  background: var(--navy);
  padding: 80px 0 72px;
  border-bottom: 1px solid rgba(184,150,62,0.25);
}
.service-hero h1 { color: var(--white); font-size: clamp(2rem, 3.5vw, 3rem); }

/* --- STATS BAR --------------------------------------------- */
.stats-bar {
  background: var(--navy-deep);
  padding: 48px 0;
  border-top: 1px solid rgba(184,150,62,0.2);
  border-bottom: 1px solid rgba(184,150,62,0.2);
}

.stats-bar .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}

.stats-bar .stat-item {
  padding: 24px 32px;
  text-align: center;
  background: var(--navy-deep);
}

.stats-bar .stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.stats-bar .stat-label {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* --- CREDENTIALS / ABOUT ----------------------------------- */
.credentials-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}

.credentials-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.credentials-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.credentials-list strong {
  color: var(--navy);
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 1px;
}

/* --- BLOG / INSIGHT CARDS ---------------------------------- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.insight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.insight-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.insight-card .card-image {
  height: 200px;
  overflow: hidden;
  background: var(--navy);
}

.insight-card .card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  opacity: 0.85;
}

.insight-card:hover .card-image img { transform: scale(1.04); }

.insight-card .card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.insight-card .card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.insight-card .card-category {
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.insight-card .card-date {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.insight-card h3 {
  font-size: 1.0625rem;
  line-height: 1.35;
  margin-bottom: 12px;
}

.insight-card h3 a { color: var(--navy); }
.insight-card h3 a:hover { color: var(--gold); }

.insight-card .card-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
  font-family: var(--font-ui);
}

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

.read-more {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition), gap var(--transition);
}
.read-more:hover { color: var(--gold); gap: 10px; }

.read-time {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Featured card (first in grid spans 2 cols) */
.insights-grid.has-featured .insight-card:first-child {
  grid-column: span 2;
  flex-direction: row;
}
.insights-grid.has-featured .insight-card:first-child .card-image {
  width: 45%; height: auto; flex-shrink: 0;
}

/* --- SINGLE POST (blog-single class) ----------------------- */
.blog-single {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 60px 40px;
}

.executive-summary {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  padding: 28px 32px;
  margin: 0 0 48px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.executive-summary .es-label {
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.executive-summary ul {
  margin: 0;
  padding: 0 0 0 20px;
}

.executive-summary ul li {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  color: var(--dark-gray);
  line-height: 1.65;
  margin-bottom: 6px;
}

.editor-byline {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  margin-bottom: 40px;
  font-family: var(--font-ui);
}

.editor-byline .byline-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.editor-byline .byline-text .name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.editor-byline .byline-text .title {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.editor-byline .byline-text .note {
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.5;
}

.article-body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-body);
}

.article-body h2 {
  font-size: 1.5625rem;
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.article-body h3 {
  font-size: 1.1875rem;
  margin: 2rem 0 0.75rem;
}

.article-body .key-point {
  background: var(--navy);
  color: var(--white);
  padding: 24px 32px;
  margin: 2rem 0;
  border-radius: var(--radius-md);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-style: italic;
}

/* Post tags */
.post-tags {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.post-tags .tag-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.tag-pill {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  background: var(--warm-gray);
  color: var(--navy);
  border-radius: 20px;
  transition: background var(--transition);
}

.tag-pill:hover { background: var(--gold-pale); color: var(--gold); }

/* --- FORMS ------------------------------------------------- */
.rklcma-form { font-family: var(--font-ui); }

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea,
.wpcf7 input:not([type=submit]),
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui) !important;
  font-size: 0.9375rem !important;
  color: var(--text-body) !important;
  background: var(--white) !important;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: var(--navy) !important;
  box-shadow: 0 0 0 3px rgba(13,31,60,0.08) !important;
}

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

.wpcf7 input[type=submit],
.form-submit-btn {
  background: var(--navy) !important;
  color: var(--white) !important;
  border: none !important;
  padding: 14px 32px !important;
  font-family: var(--font-ui) !important;
  font-size: 0.6875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase !important;
  border-radius: var(--radius-sm) !important;
  cursor: pointer !important;
  transition: all var(--transition) !important;
  width: 100%;
}

.wpcf7 input[type=submit]:hover,
.form-submit-btn:hover {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
}

/* --- CONTACT PAGE ------------------------------------------ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
}

.contact-details {
  list-style: none; padding: 0; margin: 32px 0;
}

.contact-details li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
}

.contact-details .detail-icon { width: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-details .detail-label { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 2px; }

.contact-panel { background: var(--navy); padding: 44px 40px; border-radius: var(--radius-md); }
.contact-panel h3 { color: var(--white); }
.contact-panel p { color: rgba(255,255,255,0.65); font-family: var(--font-ui); font-size: 0.9375rem; }
.contact-panel label { color: rgba(255,255,255,0.75) !important; }
.contact-panel input,
.contact-panel select,
.contact-panel textarea {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.15) !important;
  color: var(--white) !important;
}
.contact-panel input:focus,
.contact-panel textarea:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(184,150,62,0.15) !important;
}

/* --- CTA BANNER -------------------------------------------- */
.cta-banner {
  background: var(--navy);
  padding: 72px 0;
  text-align: center;
  border-top: 1px solid var(--border-gold);
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.6); font-family: var(--font-ui); margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* --- FOOTER ------------------------------------------------ */
.site-footer,
#colophon {
  background: var(--navy-deep) !important;
  color: rgba(255,255,255,0.55) !important;
  font-family: var(--font-ui) !important;
  padding-top: 72px !important;
  border-top: 1px solid rgba(184,150,62,0.2) !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 240px 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { padding: 5px 0; }
.footer-col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

.cert-badge {
  font-family: var(--font-ui);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid rgba(184,150,62,0.35);
  color: var(--gold);
  border-radius: var(--radius-sm);
}

/* --- UTILITY ----------------------------------------------- */
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--text-muted); }
.bg-navy { background: var(--navy); }
.bg-off-white { background: var(--off-white); }

.divider-gold {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.35;
  margin: 48px 0;
}

/* --- RESPONSIVE -------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid.has-featured .insight-card:first-child { grid-column: span 2; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px; }
  .stats-bar .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .insights-grid { grid-template-columns: 1fr; }
  .insights-grid.has-featured .insight-card:first-child { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .rklcma-hero { padding: 80px 0 72px; min-height: auto; }
  .blog-single { padding: 40px 20px; }
}


/* ============================================================
   RKLCMA — ASTRA LAYOUT FIX PATCH
   Add this to the BOTTOM of child theme style.css
   OR paste into Appearance > Customize > Additional CSS
   ============================================================ */

/* ── 1. Remove Astra's boxed/contained page wrapper ──────── */
body,
.ast-page-builder-template,
.ast-full-width-layout,
.hfeed,
#page {
  background-color: var(--white) !important;
}

/* Force full-width stretch — removes the 140px white columns */
.site-content,
.ast-container,
#content,
#primary,
.ast-article-post,
.entry-content,
.ast-full-width-primary-content-area {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Remove Astra's inner content padding on full-width pages */
.ast-page-builder-template .entry-content,
.page .entry-content,
.ast-full-width-layout .entry-content {
  padding: 0 !important;
  margin: 0 !important;
}

/* Remove Astra's default article padding */
.ast-article-post,
.ast-post-format- ,
article.post,
article.page {
  padding: 0 !important;
}

/* ── 2. Fix the site-width wrapper Astra adds ─────────────── */
.ast-container.site-content-focus {
  max-width: 100% !important;
  padding: 0 !important;
}

.ast-row,
.ast-flex,
#ast-fixed-footer {
  max-width: var(--max-width) !important;
}

/* ── 3. Fix header — remove Astra's green/default header ──── */
#masthead,
.site-header,
.ast-primary-header-bar,
.ast-desktop-header,
.ast-above-header-bar,
.ast-below-header-bar {
  background-color: var(--navy) !important;
  background: var(--navy) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

/* Remove any Astra background image on header */
.ast-primary-header-bar {
  background-image: none !important;
}

/* ── 4. Remove Astra's default page title / breadcrumb bar ── */
/* This is the bar that sometimes shows "Home > Page Name" */
.ast-breadcrumbs-wrapper,
.entry-header.ast-no-thumbnail,
.ast-page-title-bar {
  display: none !important;
}

/* ── 5. Remove extra top padding Astra adds after header ──── */
.site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* For pages using Full Width / Page Builder template */
.ast-page-builder-template #primary,
.ast-page-builder-template #main {
  padding-top: 0 !important;
}

/* ── 6. Fix white sides on sections ──────────────────────── */
/* Astra wraps content in a max-width container.
   Our sections need to break out of it. */
.rklcma-hero,
.stats-bar,
.cta-banner,
.service-hero,
.testimonials-section {
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

/* ── 7. Astra logo text override ─────────────────────────── */
/* If using text logo (no image uploaded) */
.ast-site-identity .site-title,
.ast-site-identity .site-title a {
  font-family: var(--font-display) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  text-shadow: none !important;
}

/* If using image logo — ensure it renders on dark header */
.ast-site-identity .custom-logo {
  filter: brightness(0) invert(1); /* makes dark logos white */
  max-height: 48px !important;
  width: auto !important;
}

/* ── 8. Nav menu alignment fix ───────────────────────────── */
.main-header-bar .ast-container {
  max-width: var(--max-width) !important;
  padding: 0 40px !important;
  margin: 0 auto !important;
}

/* ── 9. Footer full width ────────────────────────────────── */
.site-footer,
#colophon,
.ast-small-footer {
  background: var(--navy-deep) !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* ── 10. Remove Astra's post navigation (prev/next) ────────  */
/* Optional — comment out if you want to keep it */
.ast-article-post .nav-links,
.post-navigation {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 32px 40px;
  font-family: var(--font-ui);
}
