/* ==========================================================================
   AnimalsCell — ac-homepage.css (PRODUCTION, front page only)
   Loaded only when is_front_page() is true. Scoped under body.home (the
   WordPress-standard body class for whatever page is currently set as the
   front page) rather than a hardcoded page ID, so this file keeps working
   if the homepage post ever changes.

   Targets the stable ac-home-* semantic classes carried over verbatim from
   the approved preview (page 8419) — no Kadence auto-generated per-instance
   selectors (.kb-row-layout-id*, .kadence-column*, .kt-adv-heading*) appear
   here as primary targets.

   Structure: 1 base, 2 hero, 3 trust, 4 start, 5 featured guides,
   6 dogs, 7 cats, 8 food safety, 9 health discovery, 10 standards,
   11 responsive.
   ========================================================================== */

body.home {

  /* 1. Base ------------------------------------------------------------ */
  background:#fff;

  .entry-content {
    overflow:hidden;
    color:var(--ac-body);
  }
  .entry-content h1,
  .entry-content h2,
  .entry-content h3,
  .entry-content h4 {
    color:var(--ac-navy);
    text-wrap:balance;
  }
  .entry-content img {
    border-radius:6px;
  }
  .entry-content .kt-row-column-wrap {
    max-width:var(--ac-content-max)!important;
  }

  /* 2. Hero -------------------------------------------------------------- */
  .ac-home-hero {
    background:#FAFBFA!important;
    border-bottom:1px solid var(--ac-line);
  }
  .ac-home-hero .kt-row-column-wrap {
    grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr)!important;
    align-items:center;
    gap:58px;
    padding-top:56px!important;
    padding-bottom:52px!important;
  }
  .ac-home-hero__copy .kt-inside-inner-col {
    max-width:640px;
  }
  .ac-home-hero__eyebrow {
    display:block;
    margin:0 0 14px;
    padding:0;
    border:0;
    background:none;
    color:var(--ac-teal);
    font-size:12px;
    font-weight:800;
    letter-spacing:.14em;
    text-transform:uppercase;
  }
  .ac-home-hero__title {
    max-width:620px;
    margin:0 0 20px!important;
    font-size:clamp(38px,3.4vw,54px)!important;
    line-height:1.14!important;
    letter-spacing:-1.6px!important;
    font-weight:720!important;
  }
  .ac-home-hero__subtitle {
    max-width:560px;
    margin:0 0 24px;
    color:#405A6E;
    font-size:17.5px;
    line-height:1.65;
  }
  .ac-home-hero__search {
    max-width:560px;
    margin:0 0 16px;
    display:block;
  }
  .ac-home-hero__search .wp-block-search__inside-wrapper {
    min-height:54px;
    overflow:hidden;
    border:1px solid #D8E2DF;
    border-radius:8px;
    background:#fff;
  }
  .ac-home-hero__search .wp-block-search__input {
    padding:0 16px;
    border:0!important;
    background:#fff;
    font-size:15.5px;
    color:var(--ac-navy);
  }
  .ac-home-hero__search .wp-block-search__button {
    min-width:54px;
    margin:0;
    border:0;
    border-radius:0;
    background:var(--ac-teal);
    color:#fff;
  }
  .ac-home-hero__quicklinks {
    margin:2px 0 0;
    color:#6A7B88;
    font-size:13.5px;
  }
  .ac-home-hero__quicklinks a {
    color:var(--ac-navy);
    font-weight:700;
    text-decoration:none;
  }
  .ac-home-hero__media figure {
    margin:0;
  }
  .ac-home-hero__media img {
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
    border-radius:8px!important;
    box-shadow:none;
  }

  /* 3. Trust strip ------------------------------------------------------- */
  .ac-home-trust {
    background:#fff;
    border-bottom:1px solid var(--ac-line);
  }
  .ac-home-trust .kt-row-column-wrap {
    padding-top:15px!important;
    padding-bottom:15px!important;
  }
  .ac-home-trust__item p {
    margin:0;
    color:#526877;
    font-size:13.5px;
  }
  .ac-home-trust__item:last-child {
    text-align:right;
  }

  /* 4. Start with your question ------------------------------------------ */
  .ac-home-start__head .kt-row-column-wrap {
    padding-top:52px!important;
    padding-bottom:2px!important;
  }
  .ac-home-start__title {
    margin:0!important;
    font-size:clamp(24px,2.3vw,32px)!important;
    letter-spacing:-.9px!important;
  }
  .ac-home-start__list .kt-row-column-wrap {
    padding-top:6px!important;
    padding-bottom:48px!important;
  }
  .ac-home-start__list .kt-inside-inner-col {
    border-top:1px solid var(--ac-line);
  }
  .ac-home-start__list p {
    margin:0;
    padding:16px 0;
    font-size:16px;
    line-height:1.6;
    color:var(--ac-navy);
  }
  .ac-home-start__list p strong:first-child {
    color:var(--ac-muted);
    font-weight:700;
    font-size:12.5px;
    letter-spacing:.04em;
    margin-right:6px;
  }
  .ac-home-start__list p a {
    color:var(--ac-navy);
    text-decoration:none;
  }
  .ac-home-start__list p a:last-child {
    color:var(--ac-teal);
    font-weight:700;
    font-size:14px;
  }
  .ac-home-start__list hr {
    margin:0;
    border-color:var(--ac-line);
  }

  /* 5. Featured guides ----------------------------------------------------- */
  .ac-home-featured__head,
  .ac-home-featured__main {
    background:#fff!important;
  }
  .ac-home-featured__head .kt-row-column-wrap {
    padding-top:56px!important;
    padding-bottom:14px!important;
  }
  .ac-home-featured__head h2 {
    margin:0 0 6px!important;
    font-size:clamp(24px,2.3vw,32px)!important;
    letter-spacing:-.9px!important;
  }
  .ac-home-featured__head p {
    margin:0;
    color:var(--ac-muted);
    font-size:14.5px;
  }
  .ac-home-featured__main .kt-row-column-wrap {
    grid-template-columns:minmax(0,1.5fr) minmax(300px,.5fr)!important;
    gap:52px;
    align-items:start;
    border-top:1px solid var(--ac-line);
    padding-top:34px!important;
  }
  .ac-home-featured__lead-image img {
    width:100%;
    aspect-ratio:16/9;
    object-fit:cover;
    border-radius:6px;
    margin-bottom:20px;
  }
  .ac-home-featured__lead > .kt-inside-inner-col > p:first-of-type {
    margin-bottom:8px!important;
    color:var(--ac-teal);
    font-size:11px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
  }
  .ac-home-featured__lead-title {
    margin-top:0!important;
    margin-bottom:12px!important;
    font-size:27px!important;
    line-height:1.2!important;
    letter-spacing:-.6px!important;
  }
  .ac-home-featured__lead-title a {
    color:var(--ac-navy);
    text-decoration:none;
  }
  .ac-home-featured__lead-excerpt {
    color:#536B7B;
    font-size:15px;
    line-height:1.65;
    max-width:52ch;
  }
  .ac-home-featured__list-title {
    margin:0 0 4px!important;
    font-size:12px!important;
    font-weight:800!important;
    letter-spacing:.08em!important;
    text-transform:uppercase!important;
    color:var(--ac-muted)!important;
  }
  .ac-home-featured__list p {
    margin:0;
    padding:16px 0;
    color:#4A606F;
    font-size:13.5px;
    line-height:1.5;
    border-bottom:1px solid var(--ac-line);
  }
  .ac-home-featured__list p:last-of-type {
    border-bottom:0;
  }
  .ac-home-featured__list p strong {
    display:inline-block;
    margin-bottom:5px;
    color:var(--ac-teal);
    font-size:10.5px;
    letter-spacing:.1em;
  }
  .ac-home-featured__list p a {
    color:var(--ac-navy);
    font-size:16px;
    font-weight:700;
    text-decoration:none;
    line-height:1.35;
  }
  .ac-home-featured__list hr {
    display:none;
  }

  /* 6. Dogs ---------------------------------------------------------------- */
  .ac-home-dogs {
    background:#fff;
  }
  .ac-home-dogs .kt-row-column-wrap {
    gap:48px;
    align-items:center;
    padding-top:56px!important;
    padding-bottom:32px!important;
  }
  .ac-home-dogs__media img {
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
    border-radius:6px;
    box-shadow:none;
  }
  .ac-home-dogs__copy p:first-child {
    margin:0 0 10px;
    color:var(--ac-teal);
    font-size:11px;
    font-weight:800;
    letter-spacing:.14em;
  }
  .ac-home-dogs__title {
    margin:0 0 14px!important;
    font-size:clamp(25px,2.4vw,32px)!important;
    line-height:1.2!important;
    letter-spacing:-.8px!important;
  }
  .ac-home-dogs__copy p {
    color:#4F6878;
    line-height:1.65;
    font-size:15.5px;
  }
  .ac-home-dogs__copy > .kt-inside-inner-col > p:nth-of-type(3) {
    margin-top:16px;
    line-height:2;
  }
  .ac-home-dogs__copy p a {
    color:var(--ac-navy);
    text-decoration:none;
    font-weight:650;
  }
  .ac-home-dogs__copy p a:hover {
    color:var(--ac-teal);
  }
  .ac-home-dogs__copy p:last-child a {
    color:var(--ac-teal);
  }

  /* 7. Cats ---------------------------------------------------------------- */
  .ac-home-cats {
    background:var(--ac-mint);
  }
  .ac-home-cats .kt-row-column-wrap {
    gap:40px;
    align-items:center;
    padding-top:32px!important;
    padding-bottom:56px!important;
  }
  .ac-home-cats__copy p:first-child {
    margin:0 0 10px;
    color:var(--ac-teal);
    font-size:11px;
    font-weight:800;
    letter-spacing:.14em;
  }
  .ac-home-cats__title {
    margin:0 0 14px!important;
    font-size:clamp(25px,2.4vw,32px)!important;
    line-height:1.2!important;
    letter-spacing:-.8px!important;
  }
  .ac-home-cats__copy p {
    color:#4F6878;
    line-height:1.65;
    font-size:15.5px;
  }
  .ac-home-cats__copy > .kt-inside-inner-col > p:nth-of-type(3) {
    margin-top:16px;
    line-height:2;
  }
  .ac-home-cats__copy p a {
    color:var(--ac-navy);
    text-decoration:none;
    font-weight:650;
  }
  .ac-home-cats__copy p a:hover {
    color:var(--ac-teal);
  }
  .ac-home-cats__copy p:last-child a {
    color:var(--ac-teal);
  }
  .ac-home-cats__media img {
    width:100%;
    aspect-ratio:3/4;
    object-fit:cover;
    border-radius:6px;
    box-shadow:none;
  }

  /* 8. Food safety (signature module) --------------------------------- */
  .ac-home-food {
    background:#fff!important;
  }
  .ac-home-food .kt-row-column-wrap {
    margin-top:0;
    margin-bottom:0;
    padding:44px!important;
    gap:44px;
    align-items:center;
    border-radius:12px;
    background:var(--ac-navy);
  }
  .ac-home-food__copy p:first-child {
    margin:0 0 8px;
    color:#79D2C5!important;
    font-size:11px;
    font-weight:800;
    letter-spacing:.14em;
  }
  .ac-home-food__title {
    margin:0 0 12px!important;
    color:#fff!important;
    font-size:clamp(28px,2.6vw,38px)!important;
    letter-spacing:-1.1px!important;
  }
  .ac-home-food__copy p {
    color:#D7E3EA!important;
  }
  .ac-home-food__copy p a {
    color:#fff!important;
  }
  .ac-home-food__search {
    margin:22px 0 16px;
    display:block;
  }
  .ac-home-food__search .wp-block-search__inside-wrapper {
    min-height:52px;
    overflow:hidden;
    border:0;
    border-radius:8px;
    background:#fff;
  }
  .ac-home-food__search .wp-block-search__input {
    border:0!important;
    padding:0 16px;
    font-size:15px;
  }
  .ac-home-food__search .wp-block-search__button {
    min-width:52px;
    margin:0;
    border:0;
    border-radius:0;
    background:#1C9B8C;
    color:#fff;
  }
  .ac-home-food__media img {
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
    border-radius:8px;
  }

  /* 9. Health discovery — compact two-column editorial index ----------- */
  .ac-home-health-index__head .kt-row-column-wrap {
    padding-top:52px!important;
    padding-bottom:2px!important;
  }
  .ac-home-health-index__head h2 {
    margin:0 0 6px!important;
    font-size:clamp(24px,2.3vw,32px)!important;
    letter-spacing:-.9px!important;
  }
  .ac-home-health-index__head p {
    margin:0;
    color:var(--ac-muted);
    font-size:14.5px;
  }
  .ac-home-health-index__list {
    background:#fff;
  }
  .ac-home-health-index__list .kt-row-column-wrap {
    padding-top:14px!important;
    padding-bottom:52px!important;
    gap:0 56px;
    border-top:1px solid var(--ac-line);
  }
  .ac-home-health-index__col {
    border-left:0;
  }
  .ac-home-health-index__col--secondary {
    border-left:1px solid var(--ac-line);
    padding-left:0!important;
  }
  .ac-home-health-index__col--secondary > .kt-inside-inner-col {
    padding-left:32px;
  }
  .ac-home-health-index__col h4 {
    margin:18px 0 2px!important;
    font-size:12.5px!important;
    font-weight:800!important;
    letter-spacing:.04em!important;
    text-transform:uppercase!important;
    color:var(--ac-navy)!important;
  }
  .ac-home-health-index__col > .kt-inside-inner-col > h4:first-child {
    margin-top:0!important;
  }
  .ac-home-health-index__col p {
    margin:0;
    padding:4px 0 14px;
    font-size:14.5px;
    line-height:1.85;
    color:var(--ac-navy);
  }
  .ac-home-health-index__col p a {
    color:var(--ac-navy);
    text-decoration:none;
    font-weight:650;
  }
  .ac-home-health-index__col p a:hover {
    color:var(--ac-teal);
  }
  .ac-home-health-index__col--secondary p em {
    display:block;
    margin-top:6px;
    color:var(--ac-muted);
    font-size:12.5px;
    font-style:normal;
  }
  .ac-home-health-index__col hr {
    margin:6px 0 0;
    border-color:var(--ac-line);
  }

  /* 10. Editorial standards — flattened, full-width mint, minimal radius */
  .ac-home-standards .kt-row-column-wrap {
    gap:48px;
    align-items:center;
  }
  .ac-home-standards__copy p,
  .ac-home-standards__links p {
    color:#4A606F!important;
  }
  .ac-home-standards__copy p:first-child {
    color:var(--ac-teal)!important;
    font-size:11px;
    font-weight:800;
    letter-spacing:.14em;
  }
  .ac-home-standards__title {
    color:var(--ac-navy)!important;
    font-size:clamp(24px,2.3vw,32px)!important;
    line-height:1.24!important;
    letter-spacing:-.8px!important;
  }
  .ac-home-standards__links a {
    color:var(--ac-navy)!important;
    text-decoration:none;
  }
  .ac-home-standards__links p {
    margin:0;
    padding:11px 0;
    border-bottom:1px solid #D9E6E2;
    text-align:right;
  }
  .ac-home-standards__links p:last-child {
    border-bottom:0;
  }

  /* 11. Responsive ---------------------------------------------------- */
  @media (max-width:1024px) {
    .ac-home-hero .kt-row-column-wrap {
      grid-template-columns:minmax(0,1fr) minmax(0,.9fr)!important;
      gap:36px;
    }
    .ac-home-featured__main .kt-row-column-wrap {
      grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr)!important;
      gap:36px;
    }
    .ac-home-health-index__col--secondary > .kt-inside-inner-col {
      padding-left:24px;
    }
  }
  @media (max-width:900px) {
    .ac-home-health-index__list .kt-row-column-wrap {
      grid-template-columns:1fr!important;
      gap:0;
    }
    .ac-home-health-index__col--secondary {
      border-left:0;
      border-top:1px solid var(--ac-line);
      margin-top:8px;
    }
    .ac-home-health-index__col--secondary > .kt-inside-inner-col {
      padding-left:0;
    }
  }
  @media (max-width:767px) {
    .entry-content .kt-row-column-wrap {
      padding-left:18px!important;
      padding-right:18px!important;
    }
    .ac-home-hero .kt-row-column-wrap {
      grid-template-columns:1fr!important;
      gap:28px;
      padding-top:40px!important;
      padding-bottom:36px!important;
    }
    .ac-home-hero__title {
      font-size:38px!important;
      line-height:1.12!important;
      letter-spacing:-1.2px!important;
    }
    .ac-home-hero__media img {
      aspect-ratio:16/10;
    }
    .ac-home-trust__item:last-child {
      text-align:left;
    }
    .ac-home-featured__main .kt-row-column-wrap {
      grid-template-columns:1fr!important;
      gap:28px;
      padding-top:24px!important;
    }
    .ac-home-dogs .kt-row-column-wrap,
    .ac-home-cats .kt-row-column-wrap {
      grid-template-columns:1fr!important;
      gap:20px;
      padding-top:36px!important;
      padding-bottom:36px!important;
    }
    .ac-home-cats__media img {
      aspect-ratio:16/10;
    }
    .ac-home-food .kt-row-column-wrap {
      grid-template-columns:1fr!important;
      padding:28px!important;
      border-radius:10px;
    }
    .ac-home-standards .kt-row-column-wrap {
      grid-template-columns:1fr!important;
      gap:20px;
    }
    .ac-home-standards__links p {
      text-align:left;
    }
  }

}
