/*
Theme Name:   Kadence Child — chrisparente.com
Description:  Child theme for chrisparente.com
Template:     kadence
Version:      1.0
*/

/* ── Global typography ────────────────────────────────────── */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #1a1a1a;
}

/* ── Navigation ───────────────────────────────────────────── */
.site-header .header-navigation a {
  font-size: 14px;
  font-weight: 400;
  color: #555;
  text-transform: none;
  letter-spacing: 0;
}

.site-header .header-navigation a:hover {
  color: #111;
}

/* ── Front page: full-width, no sidebar ───────────────────── */
.home .widget-area,
.home #secondary {
  display: none !important;
}

.home #primary,
.home .content-area {
  width: 100% !important;
  max-width: 900px;
  margin: 0 auto;
  float: none !important;
  padding: 0 1.5rem;
}

/* ── Hide dates on front page only ───────────────────────── */
.home .entry-date,
.home .post-date,
.home time.entry-date,
.home .posted-on,
.home .entry-meta {
  display: none !important;
}

/* ── Hero: latest post ────────────────────────────────────── */
.cp-hero {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 2.5rem;
}

.cp-cat-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: #f5f5f5;
  color: #666;
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
  margin-bottom: 14px;
}

.cp-cat-badge a {
  color: inherit;
  text-decoration: none;
}

.cp-hero-title {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin: 0 0 14px;
}

.cp-hero-title a {
  color: #1a1a1a;
  text-decoration: none;
}

.cp-hero-title a:hover { color: #555; }

.cp-hero-excerpt {
  font-size: 16px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.cp-hero-excerpt p { margin: 0; }

.cp-read-more {
  font-size: 14px;
  color: #666;
  text-decoration: none;
}

.cp-read-more:hover { color: #111; }

.cp-hero-image a { display: block; }

.cp-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* ── Three category columns ───────────────────────────────── */
.cp-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.cp-col {
  padding: 0 1.5rem;
  border-right: 1px solid #ebebeb;
}

.cp-col:first-child { padding-left: 0; }
.cp-col:last-child  { padding-right: 0; border-right: none; }

.cp-col-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.cp-col-title {
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  color: #1a1a1a;
}

.cp-col-more {
  font-size: 12px;
  color: #999;
  text-decoration: none;
}

.cp-col-more:hover { color: #333; }

.cp-col-desc {
  font-size: 12px;
  color: #aaa;
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.cp-post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cp-post-item {
  padding: 0.875rem 0;
  border-top: 1px solid #ebebeb;
}



.cp-post-title {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 4px;
}

.cp-post-title:hover { color: #555; }

.cp-post-excerpt {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
  margin: 0;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer,
#colophon {
  border-top: 1px solid #ebebeb !important;
  background: #fff !important;
  font-size: 13px;
  color: #888;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .cp-hero {
    grid-template-columns: 1fr;
  }

  .cp-hero-image { display: none; }

  .cp-columns {
    grid-template-columns: 1fr;
  }

  .cp-col {
    padding: 0 0 1.5rem;
    border-right: none;
    border-bottom: 1px solid #ebebeb;
    margin-bottom: 1.5rem;
  }

  .cp-col:last-child { border-bottom: none; }
}
/* ── Search bar (compact) ─────────────────────────────────── */
.cp-search { margin-bottom: 1.5rem; }
.cp-search .search-form { display: flex; gap: 6px; }
.cp-search .search-field {
  width: 220px;
  padding: 5px 10px;
  font-size: 13px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-family: inherit;
}
.cp-search .search-submit {
  padding: 5px 12px;
  font-size: 13px;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.cp-search .search-submit:hover { background: #444; }