/*
Theme Name: Kensley Astra Child
Theme URI: https://kensleycompany.com
Description: Kensley Company child theme of Astra. Brand styling + navy primary.
Author: Kensley Company
Template: astra
Version: 1.0.1
*/

:root {
  --kensley-navy: #0b1f3a;
  --kensley-navy-2: #15355f;
  --kensley-ink: #1c2840;
  --kensley-paper: #f6f7fa;
  --kensley-line: #d6dbe3;
  --kensley-muted: #5b6a82;
}

body, .ast-container {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--kensley-ink);
}

.site-header,
header.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--kensley-line);
}

.ast-site-identity .site-title a,
.site-title a {
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  color: var(--kensley-navy) !important;
}
.site-description { color: var(--kensley-muted); }

.main-header-menu a {
  color: var(--kensley-ink) !important;
  font-weight: 500;
}
.main-header-menu a:hover { color: var(--kensley-navy) !important; }

h1, h2, h3, h4 { color: var(--kensley-navy); letter-spacing: -0.005em; }

.wp-block-button__link, .wp-element-button {
  background: var(--kensley-navy);
  color: #fff !important;
}

a { color: #1b4ea3; }
a:hover { color: #0d2f6f; }

.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content table th, .entry-content table td { border: 1px solid var(--kensley-line); padding: 10px 12px; vertical-align: top; }
.entry-content table th { background: var(--kensley-paper); text-align: left; }

.entry-content .wp-block-separator { border-color: var(--kensley-line); margin: 36px 0; }

.entry-content blockquote {
  border-left: 4px solid var(--kensley-navy);
  background: var(--kensley-paper);
  padding: 16px 20px;
  margin: 24px 0;
}

.kensley-form fieldset.kensley-consent { background: #fdfefe; }
/* === FIX: home page H1 duplicate (entry-title injected by Astra clashes with hero block H1) === */
body.home .entry-title { display: none !important; }
body.home .ast-archive-description,
body.home .ast-content-title-area { display: none !important; }

/* === FIX: visually hide site-title text — logo image carries the wordmark visually,
   but keep the text in the accessibility tree for screen readers (sr-only pattern) === */
.site-title,
.ast-site-title-wrap .site-title,
.ast-site-identity .site-title {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
