/* Verified dog/cat hub pages. */

.kc-pet-hub {
  background: var(--kc-cream);
  color: var(--kc-cocoa);
}

.kc-pet-hub__shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.kc-pet-hub__hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 56px;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 225, 189, .72), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(232, 221, 242, .78), transparent 34%),
    linear-gradient(180deg, #fffaf5 0%, #fff7f0 100%);
}

.kc-pet-hub--cat .kc-pet-hub__hero {
  background:
    radial-gradient(circle at 15% 18%, rgba(232, 221, 242, .82), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(220, 235, 221, .8), transparent 34%),
    linear-gradient(180deg, #fffaf8 0%, #faf7ff 100%);
}

.kc-pet-hub__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr);
  gap: clamp(36px, 6vw, 78px);
  align-items: center;
}

.kc-pet-hub__hero-copy {
  max-width: 680px;
}

.kc-pet-hub__eyebrow {
  margin: 0 0 12px;
  color: #a95748;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .11em;
  line-height: 1.4;
}

.kc-pet-hub--cat .kc-pet-hub__eyebrow {
  color: #6f5b9b;
}

.kc-pet-hub__hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.65rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.kc-pet-hub__lead {
  max-width: 670px;
  margin: 24px 0 0;
  color: #685956;
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.7;
}

.kc-pet-hub__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.kc-pet-hub__button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid var(--kc-coral);
  border-radius: 999px;
  background: var(--kc-coral);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.kc-pet-hub__button:hover,
.kc-pet-hub__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 115, 92, .22);
}

.kc-pet-hub__button--ghost {
  background: rgba(255, 255, 255, .7);
  color: #9a4f42;
}

.kc-pet-hub__trust {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 22px 0 0;
  color: #6d605c;
  font-size: .9rem;
  line-height: 1.5;
}

.kc-pet-hub__trust span {
  flex: 0 0 auto;
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #dcebdd;
  color: #315b3e;
  font-weight: 900;
}

.kc-pet-hub__hero-visual {
  position: relative;
  min-height: 360px;
}

.kc-pet-hub__hero-visual::before {
  position: absolute;
  inset: 6% -5% -4% 8%;
  border-radius: 42% 58% 48% 52% / 50% 40% 60% 50%;
  background: rgba(255, 225, 189, .58);
  content: "";
  transform: rotate(-4deg);
}

.kc-pet-hub--cat .kc-pet-hub__hero-visual::before {
  background: rgba(232, 221, 242, .72);
}

.kc-pet-hub__hero-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 9px solid rgba(255, 255, 255, .86);
  border-radius: 44px;
  box-shadow: 0 26px 70px rgba(79, 55, 48, .16);
}

.kc-pet-hub__hero-badge {
  position: absolute;
  right: -14px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 7px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: var(--kc-mint);
  box-shadow: 0 16px 32px rgba(74, 56, 51, .14);
  font-size: 2rem;
  transform: rotate(7deg);
}

.kc-pet-hub__section {
  padding: 68px 0;
}

.kc-pet-hub__section--tools {
  padding-top: 54px;
  padding-bottom: 52px;
  background: #fff;
}

.kc-pet-hub__section--soft {
  background: linear-gradient(180deg, #fff 0%, #faf4ee 100%);
}

.kc-pet-hub--cat .kc-pet-hub__section--soft {
  background: linear-gradient(180deg, #fff 0%, #f8f4fb 100%);
}

.kc-pet-hub__section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 30px;
}

.kc-pet-hub__section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.08;
}

.kc-pet-hub__section-heading > p {
  margin: 0;
  color: #746763;
  line-height: 1.7;
}

.kc-pet-hub__tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.kc-pet-hub__tool {
  display: grid;
  min-height: 186px;
  align-content: start;
  gap: 9px;
  padding: 25px;
  border: 1px solid rgba(59, 42, 33, .08);
  border-radius: 26px;
  color: var(--kc-cocoa);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(79, 55, 48, .07);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.kc-pet-hub__tool:hover,
.kc-pet-hub__tool:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(79, 55, 48, .11);
}

.kc-pet-hub__tool > span {
  font-size: 2rem;
  line-height: 1;
}

.kc-pet-hub__tool strong {
  font-family: Fredoka, Nunito, system-ui, sans-serif;
  font-size: 1.28rem;
}

.kc-pet-hub__tool small {
  color: #6d605c;
  font-size: .92rem;
  line-height: 1.55;
}

.kc-pet-hub__tool--peach { background: #fff0df; }
.kc-pet-hub__tool--mint { background: #eaf5eb; }
.kc-pet-hub__tool--lavender { background: #f0eafb; }

.kc-pet-hub__article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.kc-pet-hub__article-card {
  overflow: hidden;
  border: 1px solid rgba(59, 42, 33, .09);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(79, 55, 48, .08);
}

.kc-pet-hub__article-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 19 / 13;
  object-fit: cover;
}

.kc-pet-hub__article-body {
  display: flex;
  min-height: 375px;
  flex-direction: column;
  padding: 24px;
}

.kc-pet-hub__card-kicker {
  margin: 0 0 8px !important;
  color: #a95748 !important;
  font-size: .72rem !important;
  font-weight: 900;
  letter-spacing: .09em;
}

.kc-pet-hub__article-body h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.kc-pet-hub__article-body h3 a,
.kc-pet-hub__knowledge-card h4 a {
  color: inherit;
  text-decoration: none;
}

.kc-pet-hub__article-body h3 a:hover,
.kc-pet-hub__article-body h3 a:focus-visible,
.kc-pet-hub__knowledge-card h4 a:hover,
.kc-pet-hub__knowledge-card h4 a:focus-visible {
  color: #b25d4d;
}

.kc-pet-hub__article-body > p:not(.kc-pet-hub__card-kicker) {
  margin: 13px 0 17px;
  color: #70635f;
  line-height: 1.62;
}

.kc-pet-hub__sources {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid rgba(59, 42, 33, .09);
}

.kc-pet-hub__sources strong {
  display: block;
  margin-bottom: 6px;
  color: #584b48;
  font-size: .76rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.kc-pet-hub__sources ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kc-pet-hub__sources li {
  margin: 0;
  font-size: .78rem;
  line-height: 1.35;
}

.kc-pet-hub__sources a {
  color: #6d5f8f;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.kc-pet-hub__read,
.kc-pet-hub__more {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  color: #a34f41;
  font-weight: 900;
  text-decoration: none;
}

.kc-pet-hub__read:hover,
.kc-pet-hub__read:focus-visible,
.kc-pet-hub__more:hover,
.kc-pet-hub__more:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kc-pet-hub__safety-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.kc-pet-hub__safety-group {
  padding: 26px;
  border: 1px solid rgba(59, 42, 33, .08);
  border-radius: 30px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 15px 40px rgba(79, 55, 48, .07);
}

.kc-pet-hub__safety-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.kc-pet-hub__safety-title > span {
  font-size: 1.65rem;
  line-height: 1;
}

.kc-pet-hub__safety-title h3 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.25;
}

.kc-pet-hub__knowledge-list {
  display: grid;
  gap: 14px;
}

.kc-pet-hub__knowledge-card {
  padding: 19px;
  border: 1px solid rgba(59, 42, 33, .08);
  border-radius: 20px;
  background: #fff;
}

.kc-pet-hub__knowledge-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.kc-pet-hub__knowledge-card h4 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.kc-pet-hub__knowledge-card > p {
  margin: 11px 0 13px;
  color: #71635f;
  font-size: .9rem;
  line-height: 1.55;
}

.kc-pet-hub__status {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e8f3e8;
  color: #355d3f;
  font-size: .68rem;
  font-weight: 900;
  line-height: 1.2;
}

.kc-pet-hub__status--warning {
  background: #fff0df;
  color: #8e493d;
}

.kc-pet-hub__sources--compact {
  margin-top: 0;
  padding-top: 12px;
}

.kc-pet-hub__sources--compact li {
  font-size: .73rem;
}

.kc-pet-hub__disclaimer,
.kc-pet-hub__empty {
  margin-top: 30px;
  padding: 20px 22px;
  border: 1px solid rgba(59, 42, 33, .09);
  border-radius: 20px;
  background: #fff;
  color: #665a56;
  line-height: 1.65;
}

.kc-pet-hub__empty {
  margin-top: 0;
}

@media (max-width: 980px) {
  .kc-pet-hub__hero-grid {
    grid-template-columns: 1fr;
  }

  .kc-pet-hub__hero-copy {
    max-width: 780px;
  }

  .kc-pet-hub__hero-visual {
    width: min(680px, 100%);
    min-height: 0;
  }

  .kc-pet-hub__article-grid,
  .kc-pet-hub__tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kc-pet-hub__article-card:last-child,
  .kc-pet-hub__tool:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .kc-pet-hub__shell {
    width: min(100% - 28px, 680px);
  }

  .kc-pet-hub__hero {
    padding: 36px 0 42px;
  }

  .kc-pet-hub__hero h1 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .kc-pet-hub__hero-visual img {
    border-width: 6px;
    border-radius: 30px;
  }

  .kc-pet-hub__hero-badge {
    right: 8px;
    bottom: 12px;
    width: 62px;
    height: 62px;
    border-width: 5px;
    font-size: 1.55rem;
  }

  .kc-pet-hub__section {
    padding: 48px 0;
  }

  .kc-pet-hub__section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .kc-pet-hub__article-grid,
  .kc-pet-hub__tools-grid,
  .kc-pet-hub__safety-columns {
    grid-template-columns: 1fr;
  }

  .kc-pet-hub__article-card:last-child,
  .kc-pet-hub__tool:last-child {
    grid-column: auto;
  }

  .kc-pet-hub__article-body {
    min-height: 0;
  }

  .kc-pet-hub__sources {
    margin-top: 18px;
  }
}

@media (max-width: 420px) {
  .kc-pet-hub__hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .kc-pet-hub__button {
    width: 100%;
  }

  .kc-pet-hub__safety-group,
  .kc-pet-hub__tool,
  .kc-pet-hub__article-body {
    padding: 20px;
  }

  .kc-pet-hub__knowledge-top {
    display: grid;
  }

  .kc-pet-hub__status {
    width: fit-content;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kc-pet-hub__button,
  .kc-pet-hub__tool {
    transition: none;
  }
}
