/* ==========================================================================
   AnimalsCell — ac-terms.css
   Loaded only on the Terms of Use page (post ID 5399). Same premium
   editorial legal-page layout as ac-privacy.css: text-led hero, a
   restrained "at a glance" summary, a dedicated veterinary-disclaimer
   box, and a single reading column. Font-family intentionally unset —
   the theme's global typography (Manrope) already applies.
   ========================================================================== */

/* 1. Hero ------------------------------------------------------------ */
.ac-terms-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 24px 40px;
  background: #F7FAF9;
  text-align: left;
}
.ac-terms-hero__eyebrow {
  display: block;
  margin-bottom: 14px;
  color: var(--ac-teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ac-terms-hero__title {
  margin: 0 0 20px;
  font-size: clamp(42px, 4vw, 60px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -1px;
  color: #102A43;
}
.ac-terms-hero__intro {
  margin: 0 0 14px;
  font-size: 19px;
  line-height: 1.6;
  color: #486581;
  max-width: 780px;
}
.ac-terms-hero__meta {
  margin: 0;
  font-size: 14px;
  color: #7A96A8;
}

/* 2. "At a glance" summary ------------------------------------------- */
.ac-terms-glance {
  max-width: 820px;
  margin: 0 auto 8px;
  padding: 26px 28px;
  background: #EEF6F3;
  border-left: 3px solid #0F766E;
  border-radius: 8px;
}
.ac-terms-glance__label {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #0B5D56;
}
.ac-terms-glance ul {
  margin: 0;
  padding-left: 20px;
}
.ac-terms-glance li {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.6;
  color: #334E68;
}
.ac-terms-glance li:last-child {
  margin-bottom: 0;
}

/* 3. Editorial body ---------------------------------------------------- */
.ac-terms-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 24px 80px;
}
.ac-terms-body h2 {
  max-width: 820px;
  margin: 46px auto 18px;
  font-size: clamp(28px, 2.4vw, 34px);
  line-height: 1.18;
  font-weight: 700;
  color: #102A43;
}
.ac-terms-body > h2:first-child {
  margin-top: 0;
}
.ac-terms-body h3 {
  max-width: 820px;
  margin: 30px auto 12px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 650;
  color: #102A43;
}
.ac-terms-body p {
  max-width: 820px;
  margin: 0 auto 16px;
  font-size: 17px;
  line-height: 1.72;
  color: #334E68;
}
.ac-terms-body ul {
  max-width: 820px;
  margin: 0 auto 18px;
  padding-left: 22px;
}
.ac-terms-body li {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.65;
  color: #334E68;
}
.ac-terms-body p a,
.ac-terms-body li a {
  color: #0F766E;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ac-terms-body p a:hover,
.ac-terms-body li a:hover {
  color: #0B5D56;
}
.ac-terms-body a:focus-visible {
  outline: 2px solid var(--ac-teal);
  outline-offset: 2px;
}

/* 4. Veterinary disclaimer box ------------------------------------------ */
.ac-terms-disclaimer {
  max-width: 820px;
  margin: 0 auto 16px;
  padding: 26px 28px;
  background: #EEF6F3;
  border-left: 3px solid #0F766E;
  border-radius: 8px;
}
.ac-terms-disclaimer h3 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  color: #0B5D56;
}
.ac-terms-disclaimer p {
  margin: 0 0 12px;
  font-size: 16.5px;
  line-height: 1.7;
  color: #334E68;
}
.ac-terms-disclaimer p:last-child {
  margin-bottom: 0;
}
.ac-terms-disclaimer ul {
  margin: 0 0 12px;
  padding-left: 20px;
}
.ac-terms-disclaimer li {
  margin: 0 0 6px;
  font-size: 16.5px;
  line-height: 1.6;
  color: #334E68;
}

/* 5. Responsive ---------------------------------------------------------- */
@media (max-width: 767px) {
  .ac-terms-hero {
    padding: 44px 20px 28px;
  }
  .ac-terms-hero__title {
    font-size: clamp(34px, 9vw, 40px);
  }
  .ac-terms-hero__intro {
    font-size: 16.5px;
  }
  .ac-terms-glance {
    padding: 20px 18px;
  }
  .ac-terms-disclaimer {
    padding: 20px 18px;
  }
  .ac-terms-body {
    padding: 32px 20px 56px;
  }
  .ac-terms-body h2 {
    font-size: 23px;
    margin: 36px auto 14px;
  }
  .ac-terms-body h3 {
    font-size: 18px;
  }
  .ac-terms-body p,
  .ac-terms-body li {
    font-size: 16.5px;
  }
}