/*
Theme Name: Take Care Nest
Theme URI: https://www.takecarenest.com/
Description: Editorial child theme for Take Care Nest home-exterior guides.
Author: Take Care Nest
Template: generatepress
Version: 1.0.0
Text Domain: takecarenest
*/

:root {
  --tcm-paper: #f3eee4;
  --tcm-card: #fffbf5;
  --tcm-ink: #241c16;
  --tcm-muted: #5e5348;
  --tcm-line: #e4d8c8;
  --tcm-sage: #243f34;
  --tcm-sage-deep: #1b3128;
  --tcm-clay: #a24b32;
  --tcm-clay-deep: #7d3824;
}

body.tcm {
  background: var(--tcm-paper);
  color: var(--tcm-ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}

body.tcm h1,
body.tcm h2,
body.tcm h3,
body.tcm h4,
body.tcm .main-title {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.tcm-bar {
  background: var(--tcm-sage-deep);
  color: #e7dccb;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tcm-bar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
}

.site-header {
  border-bottom: 0;
}

.site-header .inside-header {
  padding-top: 1.35rem;
  padding-bottom: 1.2rem;
}

.main-title {
  letter-spacing: -0.03em;
}

.main-title a {
  text-decoration: none;
}

.site-description {
  margin-top: 0.15rem;
  font-size: 1rem;
}

.main-navigation .main-nav ul li a {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.tcm-home,
.tcm-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.tcm-intro {
  padding: 2.4rem 0 1.4rem;
  max-width: 40rem;
}

.tcm-eyebrow {
  color: var(--tcm-clay);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.6rem;
}

.tcm-intro .tcm-display {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.02em;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 0.8rem;
  color: var(--tcm-ink);
}

.tcm-intro p {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--tcm-muted);
  margin: 0;
}

.tcm-hero {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 16px;
  margin-bottom: 2.5rem;
}

.tcm-feature,
.tcm-side a,
.tcm-card a {
  display: block;
  background: var(--tcm-card);
  border: 1px solid var(--tcm-line);
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.tcm-feature {
  padding: 1.6rem 1.5rem 1.4rem;
  border-top: 6px solid var(--tcm-clay);
}

.tcm-feature a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.tcm-feature h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
  margin: 0.45rem 0 0.8rem;
}

.tcm-feature p,
.tcm-card p,
.tcm-side p {
  color: var(--tcm-muted);
  line-height: 1.5;
}

.tcm-side {
  display: grid;
  gap: 16px;
}

.tcm-side a {
  padding: 1.15rem 1.15rem 1rem;
  border-top: 6px solid var(--tcm-sage);
}

.tcm-side h3,
.tcm-card h3 {
  margin: 0.4rem 0 0.45rem;
  line-height: 1.2;
  font-size: 1.28rem;
}

.tcm-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tcm-clay-deep);
}

.tcm-more {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 700;
  color: var(--tcm-clay);
}

.tcm-section {
  margin: 0.4rem 0 2.2rem;
}

.tcm-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid var(--tcm-line);
  margin-bottom: 1rem;
}

.tcm-section-head h2 {
  margin: 0 0 0.45rem;
  font-size: 1.7rem;
}

.tcm-section-head a {
  color: var(--tcm-sage);
  font-weight: 700;
  text-decoration: none;
}

.tcm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tcm-card a {
  padding: 1.15rem 1.1rem 1rem;
  border-top: 5px solid var(--tcm-clay);
}

.tcm-card.cat-gutters a { border-top-color: #3d6b8c; }
.tcm-card.cat-windows a { border-top-color: #b0893e; }
.tcm-card.cat-siding a { border-top-color: #6b4c7a; }
.tcm-card.cat-insulation a { border-top-color: #2f6b57; }
.tcm-card.cat-maintenance a { border-top-color: #8a5a44; }
.tcm-card.cat-roofing a { border-top-color: var(--tcm-clay); }

.tcm-note,
.entry-content .tcm-note {
  background: #f6efe4;
  border-left: 4px solid var(--tcm-sage);
  padding: 0.85rem 1rem;
  margin: 1.4rem 0;
}

.single .site-content,
.page .site-content,
.archive .site-content,
.blog .site-content,
.search .site-content {
  padding-top: 1.6rem;
}

.single .inside-article,
.page .inside-article {
  background: var(--tcm-card);
  border: 1px solid var(--tcm-line);
  padding: 1.6rem 1.5rem 2rem;
}

.single .entry-header,
.single .entry-content,
.page .entry-content,
.page .entry-header {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.entry-content {
  font-size: 1.08rem;
  line-height: 1.7;
}

.entry-content h2 {
  margin-top: 1.6em;
  font-size: 1.65rem;
}

.entry-content h3 {
  margin-top: 1.2em;
  font-size: 1.25rem;
}

.entry-content a {
  color: var(--tcm-clay-deep);
}

.entry-meta {
  color: var(--tcm-muted);
}

.archive .page-header,
.search .page-header {
  max-width: 1120px;
  margin: 0 auto 1rem;
  padding: 0 1.25rem;
}

.separate-containers .inside-article,
.one-container .site-content {
  background: transparent;
}

.site-footer {
  margin-top: 1rem;
}

.fleet-reader-links {
  background: #efe6d8 !important;
  color: var(--tcm-ink) !important;
}

.fleet-reader-links a {
  color: var(--tcm-sage) !important;
}

.fleet-contact button,
.tcm-home button {
  background: var(--tcm-clay);
  color: #fff;
  border: 0;
  border-radius: 4px;
}

@media (max-width: 860px) {
  .tcm-hero,
  .tcm-grid {
    grid-template-columns: 1fr;
  }
  .single .inside-article,
  .page .inside-article {
    padding: 1.1rem 1rem 1.4rem;
  }
}
