/*
 Theme Name: House Cat Living Refresh Child
 Template: generatepress
 Version: 1.0.4
 Description: Fresh diagnostic child theme for House Cat Living.
*/

:root {
  --hcl-color-bg: #fcfbf8;
  --hcl-color-surface: #ffffff;
  --hcl-color-text: #27302a;
  --hcl-color-accent: #5d7d5f;
  --hcl-color-accent-strong: #3f6141;
  --hcl-color-border: #dde5dc;
  --hcl-muted: #5d675f;
  --hcl-radius-md: 14px;
  --hcl-radius-lg: 22px;
  --hcl-space-1: 0.5rem;
  --hcl-space-2: 0.75rem;
  --hcl-space-3: 1rem;
  --hcl-space-4: 1.5rem;
  --hcl-space-5: 2rem;
  --hcl-space-6: 3rem;
  --hcl-content-width: 760px;
  --hcl-wide-width: 1180px;
}

body {
  background: var(--hcl-color-bg);
  color: var(--hcl-color-text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body, button, input, select, textarea {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1f281f;
}

p, li {
  line-height: 1.75;
}

a {
  color: var(--hcl-color-accent-strong);
}

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

.hcl-shell {
  width: min(100% - 2rem, var(--hcl-wide-width));
  margin-inline: auto;
}

.hcl-eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hcl-color-accent-strong);
}

.entry-content > *,
.hcl-homepage-body > * {
  max-width: var(--hcl-content-width);
  margin-inline: auto;
}

.hcl-homepage-body > .wp-block-group,
.hcl-homepage-body > .wp-block-columns,
.hcl-homepage-body > .wp-block-cover,
.hcl-homepage-body > .wp-block-query,
.hcl-homepage-body > .wp-block-latest-posts,
.hcl-homepage-body > .wp-block-media-text {
  max-width: var(--hcl-wide-width);
}

.hcl-card,
.separate-containers .inside-article,
.separate-containers .comments-area,
.separate-containers .page-header,
.separate-containers .paging-navigation {
  background: var(--hcl-color-surface);
  border: 1px solid var(--hcl-color-border);
  border-radius: var(--hcl-radius-md);
  padding: var(--hcl-space-4);
  box-shadow: 0 12px 30px rgba(28, 45, 31, 0.05);
}

.hcl-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: var(--hcl-space-4);
}

.hcl-button,
a.hcl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: var(--hcl-color-accent-strong);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.hcl-button--secondary,
a.hcl-button--secondary {
  background: transparent;
  color: var(--hcl-color-accent-strong);
  border: 1px solid var(--hcl-color-border);
}

.hcl-text-link {
  font-weight: 700;
  text-decoration: none;
}

.hcl-cta {
  display: grid;
  gap: 1rem;
  align-items: center;
  grid-template-columns: 1.6fr auto;
  background: linear-gradient(135deg, #eef5ee, #f8fbf7);
  border: 1px solid #d8e4d7;
  border-radius: var(--hcl-radius-lg);
  padding: var(--hcl-space-5);
}

.hcl-disclosure {
  max-width: var(--hcl-content-width);
  margin: 0 auto 1.5rem;
  padding: 1rem 1.125rem;
  border-left: 4px solid var(--hcl-color-accent);
  background: #f4f8f3;
  color: #39453b;
  border-radius: 10px;
}

.hcl-commercial-summary {
  max-width: var(--hcl-content-width);
  margin: 0 auto 1.5rem;
}

.hcl-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.hcl-post-card {
  padding: 0;
  overflow: hidden;
}

.hcl-post-card__media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hcl-post-card__body {
  padding: 1.25rem;
}

.hcl-post-card__meta {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #667268;
}

.hcl-post-card__title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.hcl-pagination {
  margin-top: 2rem;
}

.hcl-quick-picks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: var(--hcl-content-width);
  margin: 0 auto 1.5rem;
}

.hcl-quick-pick__value {
  font-size: 1rem;
  font-weight: 700;
}

.hcl-pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: var(--hcl-content-width);
  margin: 0 auto 1.5rem;
}

.hcl-comparison-table {
  max-width: var(--hcl-content-width);
  margin: 0 auto 1.5rem;
}

.hcl-comparison-table__scroll {
  overflow-x: auto;
}

.hcl-comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.hcl-comparison-table th,
.hcl-comparison-table td {
  padding: 0.85rem;
  border-bottom: 1px solid var(--hcl-color-border);
  text-align: left;
  vertical-align: top;
}

.hcl-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hcl-topic-card {
  text-decoration: none;
}

.hcl-topic-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: #eef5ee;
  font-size: 1.2rem;
}

.hcl-newsletter-box {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.hcl-newsletter-box__embed {
  background: #f8faf7;
  border: 1px solid var(--hcl-color-border);
  border-radius: var(--hcl-radius-md);
  padding: 1rem;
}

.hcl-about-box {
  max-width: 760px;
}

.hcl-homepage {
  padding-block: 1rem 4rem;
}

.hcl-homepage-header,
.hcl-article__header,
.hcl-commercial-intro,
.hcl-article__after-content {
  max-width: var(--hcl-content-width);
  margin-inline: auto;
}

.hcl-homepage-header {
  margin-bottom: 2rem;
  padding-top: 1rem;
}

.hcl-homepage-featured-image,
.hcl-article__featured-image {
  max-width: 960px;
  margin: 0 auto 2rem;
  overflow: hidden;
  border-radius: var(--hcl-radius-lg);
}

.hcl-homepage-featured-image img,
.hcl-article__featured-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hcl-site-frame {
  min-height: 100vh;
}

.hcl-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--hcl-color-border);
  background: rgba(255,255,255,.96);
}

.hcl-site-header__inner,
.hcl-site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
}

.hcl-site-branding__link {
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  text-decoration: none;
}

.hcl-site-branding__logo img,
.hcl-custom-logo-link img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.hcl-site-branding__logo--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #eef5ee;
  color: var(--hcl-color-accent-strong);
  font-weight: 800;
}

.hcl-site-branding__text {
  display: flex;
  flex-direction: column;
}

.hcl-site-branding__title,
.hcl-site-footer__title {
  font-weight: 800;
  color: #1f281f;
}

.hcl-site-branding__tagline,
.hcl-site-footer__copy {
  color: #5d675f;
  font-size: 0.95rem;
}

.hcl-nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--hcl-color-border);
  background: #fff;
  border-radius: 999px;
  padding: .65rem .9rem;
  font: inherit;
  color: #1f281f;
}

.hcl-primary-nav {
  margin-left: auto;
}

.hcl-primary-nav__list {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hcl-primary-nav__list a,
.hcl-site-footer__links a {
  text-decoration: none;
  font-weight: 600;
}

.hcl-site-footer {
  border-top: 1px solid var(--hcl-color-border);
  margin-top: 4rem;
  background: #f8faf7;
}

.hcl-site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hcl-home {
  display: block;
}

.hcl-container {
  width: min(100%, var(--hcl-wide-width));
  margin-inline: auto;
}

.hcl-hero {
  padding: 3rem 0 2.5rem;
}

.hcl-hero__eyebrow {
  display: inline-block;
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--hcl-color-accent-strong);
}

.hcl-hero__title,
.hcl-section-title {
  color: #1f281f;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hcl-hero__title {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  margin: 0 0 1rem;
}

.hcl-hero__subtitle,
.hcl-section-subtitle {
  font-size: 1.125rem;
  color: #4b564c;
}

.hcl-hero__subtitle {
  max-width: 48rem;
  margin-bottom: 1.25rem;
}

.hcl-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-top: 1.25rem;
}

.a, .hcl-btn {
  text-decoration: none;
}

.hcl-btn,
.hcl-btn-primary,
.hcl-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .85rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.hcl-btn-primary {
  background: var(--hcl-color-accent-strong);
  color: #fff;
}

.hcl-btn-secondary {
  background: transparent;
  color: var(--hcl-color-accent-strong);
  border: 1px solid var(--hcl-color-border);
}

.hcl-section {
  padding-block: 2.5rem;
}

.hcl-section--soft {
  background: #f8faf7;
}

.hcl-section--accent {
  background: linear-gradient(135deg, #eef5ee, #f8fbf7);
}

.hcl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.hcl-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #eef5ee;
  color: var(--hcl-color-accent-strong);
  font-size: 0.8rem;
  font-weight: 700;
}

.hcl-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: #eef5ee;
  font-size: 1.25rem;
}

.hcl-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  line-height: 1.2;
  color: #1f281f;
}

.hcl-card__desc {
  margin: 0 0 1rem;
  color: var(--hcl-muted);
}

.hcl-card__link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--hcl-color-accent-strong);
}

.hcl-trust {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--hcl-color-surface);
  border: 1px solid var(--hcl-color-border);
  border-radius: var(--hcl-radius-lg);
  text-align: center;
  box-shadow: 0 12px 30px rgba(28, 45, 31, 0.05);
}

.hcl-divider {
  width: 72px;
  height: 3px;
  margin: 1rem auto 1.25rem;
  background: var(--hcl-color-accent);
  border-radius: 999px;
}

@media (max-width:1024px) {
  .hcl-post-grid,
  .hcl-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:768px) {
  .hcl-post-grid,
  .hcl-quick-picks,
  .hcl-pros-cons,
  .hcl-newsletter-box,
  .hcl-topic-grid,
  .hcl-grid {
    grid-template-columns:1fr;
    display:grid;
  }

  .hcl-hero {
    padding: 1.5rem 0 2rem;
  }

  .hcl-hero__title {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .hcl-hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hcl-cta {
    grid-template-columns:1fr;
    padding:1.5rem;
  }

  .hcl-site-header__inner {
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
  }

  .hcl-nav-toggle {
    display:inline-flex;
    justify-self:end;
  }

  .hcl-primary-nav {
    grid-column:1/-1;
    width:100%;
    display:none;
    margin-top:.75rem;
  }

  .hcl-primary-nav.is-open {
    display:block;
  }

  .hcl-primary-nav__list {
    flex-direction:column;
    gap:.25rem;
    padding:.5rem;
    border:1px solid var(--hcl-color-border);
    border-radius:16px;
    background:#fff;
  }

  .hcl-primary-nav__list a {
    display:block;
    padding:.85rem .9rem;
    border-radius:12px;
  }

  .hcl-site-footer__inner {
    display:grid;
    grid-template-columns:1fr;
  }
}
oter__inner {
    display:grid;
    grid-template-columns:1fr;
  }
}
