/*
Theme Name: myhealthyhappypets-website (WPConvert)
Theme URI: https://wpconvert.ai
Author: WPConvert.ai
Author URI: https://wpconvert.ai
Description: This theme was automatically generated from your original site design using WPConvert.ai. It preserves your layout, colors, typography, header, footer, and page content, and makes it editable in WordPress.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpconvert
Tags: landing page, responsive, custom header, custom footer
*/

/* External Stylesheets - @import statements MUST come before any CSS rules */

/* CSS Variables */
:root {
}

/* Inline Styles */

/* Extracted CSS from page */
:root {
  --green: #244d3f;
  --deep: #1c3d32;
  --ink: #263d34;
  --muted: #647167;
  --cream: #fbf8f0;
  --paper: #fffdf8;
  --sage: #e9efe4;
  --line: #d9dfd2;
  --coral: #d98b73;
  --peach: #f5dfd0;
  --butter: #f4ebc8;
  --lilac: #e8e3ed;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}
body {
  margin: 0px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button:disabled {
  cursor: default;
}
h1,
h2,
h3,
p {
  margin: 0px;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -1.6px;
  line-height: 1.08;
}
h2 {
  font-size: 44px;
}
h3 {
  line-height: 1.25;
}
p {
  color: var(--muted);
}
svg.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  stroke: currentcolor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wrap {
  width: min(1192px, 100% - 64px);
  margin-inline: auto;
}
.section-pad {
  padding-block: 82px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}
.little-line {
  height: 1px;
  width: 26px;
  background: var(--coral);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 16px 23px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  min-height: 52px;
  transition:
    background 0.15s,
    transform 0.15s;
  white-space: nowrap;
}
.button:hover {
  transform: translateY(-2px);
}
.button .icon {
  width: 20px;
  height: 20px;
}
.primary {
  background: var(--green);
  color: rgb(255, 253, 246);
}
.primary:hover,
.dark:hover {
  background: rgb(22, 55, 43);
}
.dark {
  background: var(--deep);
  color: rgb(255, 253, 246);
}
.outline {
  border-color: rgb(174, 187, 172);
  background: transparent;
}
.outline:hover {
  background: var(--sage);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 14px;
  font-weight: 650;
  background: none;
  border: 0px;
  padding: 8px 0px;
  line-height: 1.45;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-link .icon {
  width: 19px;
  height: 19px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  border: 1px solid;
  border-radius: 30px;
  padding: 5px 11px;
  line-height: 1.4;
}
.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-button:hover {
  background: var(--sage);
}
.sr-only {
  position: absolute;
  clip: rect(0px, 0px, 0px, 0px);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 16px;
  background: var(--green);
  color: white;
  padding: 12px 20px;
}
.skip-link:focus {
  top: 10px;
}
:focus-visible {
  outline: rgb(178, 97, 67) solid 3px;
  outline-offset: 4px;
}
section[id] {
  scroll-margin-top: 20px;
}
[hidden] {
  display: none !important;
}
.announcement {
  height: 33px;
  background: var(--green);
  color: rgb(244, 242, 228);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.6px;
}
.announcement .icon {
  width: 13px;
  height: 13px;
}
.site-header {
  background: rgba(251, 248, 240, 0.98);
  position: sticky;
  top: 0px;
  z-index: 20;
  border-bottom: 1px solid rgb(232, 232, 220);
}
.nav-wrap {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -0.4px;
  white-space: nowrap;
}
.brand b {
  font-weight: 700;
}
.brand-dot {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0px;
}
.brand-mark {
  display: flex;
}
.brand-mark .icon {
  width: 49px;
  height: 55px;
  stroke-width: 1;
}
.brand-mark svg {
  color: var(--green);
}
#main-nav {
  display: flex;
  gap: 27px;
  align-items: center;
  margin-left: auto;
}
#main-nav a {
  font-size: 13px;
  position: relative;
  padding: 14px 0px;
}
#main-nav a:hover::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0px;
  width: 100%;
  height: 2px;
  background: var(--coral);
}
.saved-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border-top: 0px;
  border-right: 0px;
  border-bottom: 0px;
  border-image: none;
  border-left: 1px solid var(--line);
  padding: 8px 0px 8px 23px;
  font-size: 13px;
  white-space: nowrap;
}
.saved-button .icon {
  width: 19px;
  height: 19px;
}
#saved-count {
  font-size: 10px;
  background: rgb(230, 235, 223);
  border-radius: 50%;
  padding: 2px 5px;
  margin-left: 3px;
}
.menu-button {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 61px;
  padding-bottom: 66px;
}
.hero h1 {
  font-size: 78px;
  line-height: 1.04;
  letter-spacing: -2.8px;
}
.hero h1 em {
  font-weight: 400;
  color: var(--green);
}
.hero-copy > p {
  font-size: 17px;
  line-height: 1.8;
  max-width: 400px;
  margin-top: 24px;
}
.hero-actions {
  margin-top: 29px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
}
.hero-foot {
  font-size: 11px;
  margin-top: 26px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: rgb(104, 115, 97);
}
.hero-foot .icon {
  width: 17px;
  height: 17px;
}
.hero-visual {
  position: relative;
  padding-bottom: 15px;
}
.hero-visual > img {
  width: 100%;
  height: 462px;
  object-fit: cover;
  object-position: 48% 50%;
  border-radius: 180px 180px 20px 20px;
}
.photo-sticker {
  position: absolute;
  bottom: 0px;
  left: -27px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgb(255, 252, 244);
  box-shadow: rgba(41, 75, 51, 0.07) 0px 7px 20px;
  transform: rotate(-4deg);
  padding: 15px 24px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.photo-sticker > .icon {
  width: 32px;
  height: 32px;
  color: rgb(188, 110, 86);
}
.photo-sticker b {
  font-weight: 650;
}
.hero-spark {
  font-size: 74px;
  position: absolute;
  right: -23px;
  top: 14px;
  color: var(--coral);
  line-height: 1;
}
.finder-section {
  background: var(--sage);
  border: 1px solid rgb(218, 226, 209);
  border-radius: 16px;
  padding: 35px 41px 24px;
}
.finder-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.finder-heading .eyebrow {
  margin-bottom: 10px;
}
.finder-heading h2 {
  font-size: 35px;
  letter-spacing: -1px;
}
.finder-heading p {
  font-size: 14px;
  margin-top: 9px;
}
.finder-flower {
  transform: rotate(14deg);
  opacity: 0.4;
}
.finder-flower .icon {
  width: 65px;
  height: 65px;
  stroke-width: 1.2;
}
fieldset {
  border: 0px;
  padding: 0px;
  margin: 0px;
  min-width: 0px;
}
legend,
label {
  font-size: 13px;
  font-weight: 650;
}
.step-number {
  font-size: 10px;
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-right: 8px;
  border: 1px solid rgb(159, 172, 152);
  border-radius: 50%;
  font-weight: 500;
}
.pet-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.pet-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgb(203, 214, 197);
  padding: 13px 18px;
  border-radius: 8px;
  background: rgb(249, 250, 244);
  cursor: pointer;
  font-size: 14px;
  min-height: 62px;
}
.pet-option .icon {
  width: 30px;
  height: 30px;
  stroke-width: 1.4;
}
.pet-option input {
  accent-color: var(--green);
  width: 15px;
  height: 15px;
  margin: 0px 0px 0px auto;
  order: 3;
}
.pet-option:has(input:checked) {
  background: var(--green);
  color: rgb(255, 255, 255);
  border-color: var(--green);
}
.pet-option:has(input:checked) input {
  accent-color: rgb(217, 233, 183);
}
.pet-option:has(input:focus-visible) {
  outline: rgb(178, 97, 67) solid 3px;
  outline-offset: 4px;
}
.finder-bottom {
  display: flex;
  align-items: end;
  gap: 18px;
  margin-top: 24px;
}
.need-field {
  flex: 1 1 0%;
}
.need-field label {
  display: block;
  margin-bottom: 12px;
}
select {
  background: var(--paper);
  border: 1px solid rgb(203, 212, 197);
  border-radius: 7px;
  padding: 14px 40px 14px 15px;
  color: var(--ink);
  min-height: 52px;
  max-width: 100%;
  cursor: pointer;
}
#pet-need {
  width: 100%;
}
.finder-bottom .button {
  min-width: 230px;
  margin-bottom: 1px;
}
.finder-note {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  margin-top: 20px;
}
.finder-note .icon {
  width: 14px;
  height: 14px;
}
.finder-results {
  border-top: 1px solid rgb(202, 214, 195);
  margin-top: 29px;
  padding-top: 23px;
  outline: 0px;
}
.results-overline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 15px;
}
.results-overline h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 27px;
  letter-spacing: -0.6px;
}
.results-overline p {
  font-size: 12px;
  margin-top: 5px;
}
.result-cards {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 15px;
}
.result-card {
  padding: 22px;
  background: var(--paper);
  border: 1px solid rgb(219, 225, 213);
  border-radius: 8px;
}
.result-card .eyebrow {
  font-size: 9px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.result-card h4 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0px 0px 9px;
}
.result-card p {
  font-size: 13px;
  line-height: 1.65;
}
.result-card .text-link {
  margin-top: 10px;
}
.finder-help {
  padding: 12px 0px 0px;
  font-size: 12px;
  color: rgb(78, 96, 81);
  display: flex;
  gap: 8px;
}
.finder-help .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.promise-strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 29px 36px;
}
.promise-strip > span {
  font-size: 11px;
  color: rgb(89, 104, 82);
  display: flex;
  align-items: center;
  gap: 8px;
}
.promise-strip .icon {
  width: 19px;
  height: 19px;
  stroke-width: 1.4;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 33px;
}
.section-heading .eyebrow {
  margin-bottom: 13px;
}
.section-heading p {
  font-size: 14px;
  margin-top: 14px;
}
.section-heading .text-link {
  flex-shrink: 0;
}
.dog-section {
  background: rgb(241, 240, 229);
  padding-top: 66px;
  padding-bottom: 71px;
}
.dog-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
}
.featured-guide {
  display: grid;
  grid-template-columns: 170px 1fr;
  overflow: hidden;
  border-radius: 12px;
  background: rgb(242, 218, 201);
}
.featured-top {
  padding: 24px 20px;
  position: relative;
  background: rgb(239, 211, 189);
  display: flex;
  align-items: start;
  justify-content: center;
}
.featured-top .pill {
  position: relative;
  z-index: 1;
  color: rgb(100, 76, 61);
  white-space: nowrap;
  font-size: 9px;
}
.bone-art {
  position: absolute;
  inset: 70px 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(143, 94, 72);
  transform: rotate(-30deg);
}
.bone-art .icon {
  width: 148px;
  height: 148px;
  stroke-width: 1;
  fill: rgb(249, 238, 225);
  filter: drop-shadow(rgba(163, 120, 98, 0.2) 4px 7px 0px);
}
.art-spark {
  position: absolute;
  top: 5px;
  right: 1px;
  font-size: 34px;
  color: rgb(177, 117, 83);
  transform: rotate(30deg);
}
.featured-body {
  padding: 32px 27px;
}
.card-meta {
  font-size: 9px;
  letter-spacing: 1.4px;
  font-weight: 650;
  display: flex;
  gap: 20px;
  color: rgb(119, 90, 74);
  margin-bottom: 17px;
}
.card-meta span {
  font-weight: 400;
  letter-spacing: 0.5px;
}
.featured-guide h3 {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -0.7px;
  line-height: 1.17;
}
.featured-guide p {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 15px;
  color: rgb(119, 95, 80);
}
.featured-guide .button {
  font-size: 12px;
  margin-top: 22px;
  padding: 13px 16px;
  gap: 14px;
  min-height: 46px;
}
.dog-guide-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dog-list-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 19px 21px;
  background: rgb(255, 252, 244);
  border: 1px solid rgb(223, 223, 210);
  border-radius: 10px;
  width: 100%;
  text-align: left;
  flex: 1 1 0%;
  transition: border-color 0.15s;
}
.dog-list-card:hover {
  border-color: var(--green);
}
.dog-list-card .mini-art {
  display: grid;
  place-items: center;
  background: rgb(233, 236, 218);
  width: 59px;
  height: 59px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dog-list-card:nth-child(2) .mini-art {
  background: rgb(237, 227, 215);
}
.dog-list-card:nth-child(3) .mini-art {
  background: rgb(231, 228, 237);
}
.mini-art .icon {
  width: 29px;
  height: 29px;
  stroke-width: 1.3;
}
.dog-list-card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.dog-list-card p {
  font-size: 12px;
  margin-top: 6px;
}
.dog-list-card > .icon {
  margin-left: auto;
  width: 19px;
  height: 19px;
}
.small-note {
  font-size: 11px;
  white-space: nowrap;
  color: var(--muted);
  padding-bottom: 5px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}
.category-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
  text-align: left;
  padding: 0px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: rgb(163, 178, 154);
}
.category-art {
  height: 146px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.sage {
  background: var(--sage);
}
.peach {
  background: var(--peach);
}
.butter {
  background: var(--butter);
}
.lilac {
  background: var(--lilac);
}
.category-art::before,
.category-art::after {
  content: '';
  position: absolute;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 1px solid rgba(38, 78, 59, 0.09);
}
.category-art::before {
  left: 20px;
  top: -30px;
  width: 140px;
  height: 140px;
}
.category-art::after {
  right: 15px;
  bottom: -33px;
}
.category-art .icon {
  width: 65px;
  height: 65px;
  stroke-width: 1;
  transform: rotate(-10deg);
}
.category-card:nth-child(2) .icon {
  transform: rotate(10deg);
}
.category-body {
  padding: 21px;
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
}
.category-body h3 {
  font-size: 16px;
  line-height: 1.4;
}
.category-body p {
  font-size: 12px;
  margin-top: 9px;
  line-height: 1.7;
  flex: 1 1 0%;
}
.category-body .text-link {
  font-size: 12px;
  margin-top: 17px;
  justify-content: space-between;
}
.category-body .text-link .icon {
  width: 17px;
  height: 17px;
  transform: none;
}
.resource-section {
  background: rgb(241, 243, 233);
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgb(253, 253, 247);
  border: 1px solid rgb(205, 213, 198);
  border-radius: 7px;
  min-width: 270px;
  height: 47px;
  padding-inline: 14px;
  margin-bottom: 1px;
}
.search-field .icon {
  width: 18px;
  height: 18px;
  color: rgb(114, 127, 109);
}
.search-field input {
  width: 100%;
  min-width: 0px;
  outline: 0px;
  border: 0px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}
.search-field:focus-within {
  outline: rgb(178, 97, 67) solid 2px;
  outline-offset: 3px;
}
.resource-controls {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(212, 220, 204);
  padding-bottom: 17px;
}
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-tab {
  font-size: 12px;
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 8px 17px;
  background: transparent;
}
.filter-tab:hover {
  background: rgb(229, 234, 219);
}
.filter-tab[aria-pressed='true'] {
  background: var(--green);
  color: rgb(255, 255, 255);
}
.topic-filter select {
  min-height: 37px;
  padding: 7px 30px 7px 11px;
  background: transparent;
  font-size: 12px;
}
.result-count {
  font-size: 11px;
  padding: 17px 0px 15px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.resource-card {
  background: var(--paper);
  border: 1px solid rgb(220, 224, 211);
  border-radius: 11px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.resource-art {
  height: 110px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 22px;
  gap: 13px;
  background: rgb(229, 234, 219);
}
.resource-art > .icon {
  width: 44px;
  height: 44px;
  stroke-width: 1.1;
  transform: rotate(-10deg);
}
.resource-art::after {
  content: '';
  width: 100px;
  height: 100px;
  border: 1px solid rgba(82, 109, 66, 0.133);
  border-radius: 50%;
  position: absolute;
  right: 27px;
  top: 37px;
}
.resource-art.food {
  background: rgb(232, 226, 236);
}
.resource-art.toys {
  background: rgb(240, 231, 199);
}
.resource-art.training {
  background: rgb(240, 221, 207);
}
.resource-art .pet-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 1;
}
.save-card {
  position: absolute;
  right: 14px;
  top: 13px;
  z-index: 2;
  background: rgba(255, 252, 245, 0.79);
  border: 0px;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.save-card .icon {
  width: 16px;
  height: 16px;
  transform: none;
}
.save-card[aria-pressed='true'] .icon {
  fill: var(--green);
  color: var(--green);
}
.resource-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1 1 0%;
}
.resource-meta {
  font-size: 9px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgb(123, 130, 111);
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.resource-body h3 {
  font-size: 20px;
  font-weight: 400;
  font-family: var(--serif);
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.title-button {
  text-align: left;
  background: transparent;
  border: 0px;
  padding: 0px;
  font: inherit;
}
.title-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.resource-body p {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 12px;
  flex: 1 1 0%;
}
.resource-body .text-link {
  justify-content: space-between;
  font-size: 12px;
  margin-top: 17px;
}
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 29px;
}
.load-more-wrap .button {
  font-size: 12px;
  min-height: 44px;
  padding: 12px 22px;
}
.empty-state {
  grid-column: 1 / -1;
  padding: 43px;
  text-align: center;
  background: rgb(253, 253, 247);
  border: 1px dashed rgb(171, 187, 163);
  border-radius: 12px;
}
.empty-state h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  margin-bottom: 12px;
}
.empty-state p {
  font-size: 14px;
}
.empty-state .button {
  margin-top: 20px;
}
.routine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  padding-block: 91px;
}
.routine-copy h2 {
  font-size: 47px;
  line-height: 1.14;
}
.routine-copy > p {
  font-size: 14px;
  line-height: 1.85;
  margin-top: 21px;
  max-width: 365px;
}
.routine-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgb(106, 117, 99);
  font-size: 11px;
  margin-top: 24px;
}
.routine-note .icon {
  width: 15px;
  height: 15px;
}
.routine-card {
  background: rgb(253, 251, 244);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 28px 29px;
  box-shadow: rgb(233, 236, 223) 6px 7px 0px;
}
.routine-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.routine-top h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.5px;
}
.routine-top > span {
  font-size: 12px;
  color: var(--muted);
}
.progress-track {
  height: 4px;
  border-radius: 8px;
  background: rgb(224, 230, 216);
  margin-top: 18px;
  overflow: hidden;
}
.progress-track > span {
  height: 100%;
  display: block;
  background: var(--green);
  width: 0px;
  transition: width 0.2s;
}
#routine-checks {
  margin-top: 11px;
}
.routine-check {
  display: flex;
  gap: 13px;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  padding-block: 12px;
  border-bottom: 1px solid rgb(231, 232, 221);
}
.routine-check input {
  width: 19px;
  height: 19px;
  accent-color: var(--green);
  flex-shrink: 0;
  margin: 0px;
}
.routine-check:has(input:checked) {
  color: rgb(109, 124, 99);
}
.routine-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 13px;
}
.routine-end p {
  font-size: 11px;
}
.routine-end .text-link {
  font-size: 11px;
}
.support-banner {
  background: rgb(232, 237, 222);
  border: 1px solid rgb(217, 225, 203);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 33px;
  margin-bottom: 80px;
}
.support-icon > .icon {
  width: 43px;
  height: 43px;
  stroke-width: 1.2;
}
.support-banner h2 {
  font-size: 26px;
  letter-spacing: -0.6px;
}
.support-banner p {
  font-size: 12px;
  margin-top: 9px;
  max-width: 570px;
  line-height: 1.8;
}
.support-banner .button {
  margin-left: auto;
  font-size: 12px;
  flex-shrink: 0;
  padding-inline: 16px;
  gap: 13px;
}
footer {
  background: var(--green);
  color: rgb(242, 240, 227);
  padding-top: 48px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 0.9fr;
  gap: 45px;
  padding-bottom: 38px;
}
.footer-main .brand-mark .icon {
  color: rgb(237, 241, 217);
}
.footer-main p {
  font-size: 12px;
  color: rgb(184, 200, 182);
  line-height: 1.8;
  margin-top: 19px;
}
.footer-main h3 {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.2px;
  margin-block: 8px 18px;
}
.footer-main > div > a:not(.brand),
.footer-main button {
  display: block;
  font-size: 12px;
  padding: 5px 0px;
  background: none;
  border: 0px;
  color: rgb(214, 222, 205);
  text-align: left;
}
.footer-main button:hover,
.footer-main > div > a:not(.brand):hover {
  text-decoration: underline;
}
.footer-note .pill {
  font-size: 8px;
  color: rgb(209, 220, 184);
  padding-block: 5px;
  margin-top: 7px;
}
.footer-note p {
  margin-top: 16px;
}
.footer-bottom {
  border-top: 1px solid rgba(114, 144, 121, 0.333);
  padding-block: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: rgb(175, 194, 171);
}
dialog {
  color: var(--ink);
  border: 0px;
  border-radius: 16px;
  max-width: 760px;
  width: calc(100% - 32px);
  max-height: 88dvh;
  padding: 0px;
  background: var(--cream);
  box-shadow: rgba(12, 39, 29, 0.267) 0px 24px 100px;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: rgba(20, 43, 36, 0.667);
  backdrop-filter: blur(4px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 24px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0px;
  z-index: 3;
}
.dialog-brand {
  font-size: 12px;
  font-weight: 600;
}
.dialog-top .icon-button {
  width: 34px;
  height: 34px;
}
.dialog-top .icon {
  width: 18px;
  height: 18px;
}
#dialog-content {
  padding: 32px 39px 39px;
}
#dialog-title {
  font-size: 39px;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.dialog-kicker {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.dialog-kicker .icon {
  width: 20px;
  height: 20px;
}
.dialog-intro {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 27px;
}
.guide-step {
  display: flex;
  align-items: start;
  gap: 17px;
  padding-block: 21px;
  border-top: 1px solid var(--line);
}
.guide-step .step-number {
  width: 27px;
  height: 27px;
  min-width: 27px;
  margin: 0px;
}
.guide-step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 9px;
}
.guide-step p {
  font-size: 14px;
  line-height: 1.8;
}
.help-note {
  background: rgb(239, 232, 218);
  border-left: 3px solid rgb(180, 135, 96);
  padding: 17px 19px;
  font-size: 13px;
  line-height: 1.8;
  margin-block: 10px 25px;
}
.help-note strong {
  display: block;
  color: rgb(87, 76, 55);
  margin-bottom: 4px;
}
.source-links {
  border-top: 1px solid var(--line);
  padding-top: 21px;
}
.source-links h3 {
  font-size: 12px;
  letter-spacing: 0.7px;
  margin-bottom: 10px;
}
.source-links a {
  display: block;
  font-size: 13px;
  padding-block: 7px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--green);
}
.source-links p {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 8px;
}
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 25px 28px;
}
.dialog-actions .button {
  font-size: 12px;
  min-height: 46px;
  padding: 12px 16px;
}
.related-box {
  background: var(--sage);
  padding: 19px 21px;
  border-radius: 8px;
  margin-top: 25px;
}
.related-box .eyebrow {
  font-size: 9px;
  margin-bottom: 7px;
}
.related-box .text-link {
  text-align: left;
  font-size: 15px;
}
.checklist-item {
  display: flex;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  font-weight: 400;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.checklist-item input {
  margin-top: 5px;
  width: 19px;
  height: 19px;
  accent-color: var(--green);
  flex-shrink: 0;
}
.checklist-item b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.checklist-item span {
  color: var(--muted);
  line-height: 1.8;
}
.checklist-item b {
  color: var(--ink);
}
.checklist-finish {
  font-size: 12px;
  padding: 12px 0px;
}
.saved-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 17px;
  border-top: 1px solid var(--line);
}
.saved-row > div {
  flex: 1 1 0%;
}
.saved-row .title-button {
  font-size: 17px;
  font-family: var(--serif);
}
.saved-row p {
  font-size: 11px;
  margin-top: 7px;
}
.saved-row > .icon-button {
  flex-shrink: 0;
}
.content-paragraph {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 18px;
}
.info-heading {
  font-size: 20px;
  font-family: var(--serif);
  font-weight: 400;
  margin: 24px 0px 12px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 12px 23px;
  background: var(--deep);
  color: rgb(255, 253, 245);
  border: 1px solid rgb(119, 136, 113);
  border-radius: 9px;
  font-size: 12px;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: calc(100% - 30px);
  text-align: center;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0px);
}
.noscript {
  padding: 22px;
  background: var(--peach);
  text-align: center;
}
@media (min-width: 1450px) {
  .hero {
    gap: 90px;
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .hero-visual > img {
    height: 483px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .nav-wrap {
    gap: 16px;
  }
  #main-nav {
    gap: 19px;
  }
  .brand {
    font-size: 17px;
  }
  .brand-mark .icon {
    width: 43px;
    height: 48px;
  }
  .saved-button {
    padding-left: 16px;
  }
  .hero {
    gap: 42px;
  }
  .hero h1 {
    font-size: 66px;
  }
  .hero-visual > img {
    height: 430px;
  }
  .hero-spark {
    right: -15px;
    font-size: 60px;
  }
  .hero-foot {
    font-size: 10px;
  }
  .dog-layout {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .featured-guide {
    grid-template-columns: 110px 1fr;
  }
  .featured-top {
    padding: 22px 9px;
  }
  .bone-art .icon {
    width: 105px;
    height: 105px;
  }
  .featured-body {
    padding: 27px 22px;
  }
  .featured-guide h3 {
    font-size: 26px;
  }
  .card-meta {
    gap: 10px;
    font-size: 8px;
  }
  .category-body {
    padding: 18px;
  }
  .category-body h3 {
    font-size: 14px;
  }
  .routine {
    gap: 60px;
  }
  .support-banner {
    padding: 27px;
    gap: 16px;
  }
  .support-banner h2 {
    font-size: 23px;
  }
  .footer-main {
    gap: 28px;
  }
  .small-note {
    font-size: 10px;
  }
}
@media (max-width: 850px) {
  h2 {
    font-size: 37px;
  }
  .nav-wrap {
    height: 81px;
    position: relative;
    justify-content: flex-start;
  }
  .menu-button {
    display: flex;
    order: 3;
    margin-left: 3px;
    border: 0px;
  }
  .saved-button {
    margin-left: auto;
    border: 0px;
  }
  .brand {
    font-size: 18px;
  }
  #main-nav {
    position: absolute;
    top: 81px;
    left: -24px;
    right: -24px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: rgba(36, 77, 63, 0.05) 0px 8px 10px;
    display: none;
    padding: 15px 24px 20px;
    margin: 0px;
  }
  #main-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 0px;
    align-items: stretch;
  }
  #main-nav a {
    font-size: 15px;
    padding: 12px 0px;
  }
  #main-nav a:hover::after {
    display: none;
  }
  .hero {
    gap: 30px;
    padding-top: 42px;
    padding-bottom: 49px;
  }
  .hero h1 {
    font-size: 55px;
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.4px;
  }
  .hero-visual > img {
    height: 380px;
    border-radius: 150px 150px 15px 15px;
  }
  .hero-actions .button {
    font-size: 13px;
    padding-inline: 16px;
  }
  .hero-actions .text-link {
    font-size: 11px;
  }
  .hero-foot {
    line-height: 1.5;
    max-width: 250px;
  }
  .photo-sticker {
    left: -13px;
    padding: 13px 18px;
    font-size: 12px;
  }
  .photo-sticker > .icon {
    width: 26px;
    height: 26px;
  }
  .hero-spark {
    font-size: 49px;
    right: -11px;
    top: 5px;
  }
  .finder-section {
    padding: 29px;
  }
  .finder-heading h2 {
    font-size: 30px;
  }
  .pet-option {
    gap: 8px;
    padding: 13px;
    font-size: 12px;
  }
  .pet-option .icon {
    width: 25px;
    height: 25px;
  }
  .finder-bottom .button {
    min-width: 205px;
    font-size: 12px;
    padding-inline: 15px;
  }
  .promise-strip {
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 28px;
    gap: 14px 23px;
  }
  .promise-strip > span {
    font-size: 10px;
  }
  .section-pad {
    padding-block: 60px;
  }
  .section-heading {
    gap: 25px;
  }
  .section-heading p {
    font-size: 13px;
  }
  .dog-layout {
    grid-template-columns: 1fr;
  }
  .featured-guide {
    grid-template-columns: 31% 1fr;
  }
  .featured-top .pill {
    margin-top: 4px;
  }
  .bone-art .icon {
    width: 155px;
    height: 155px;
  }
  .featured-guide h3 {
    font-size: 31px;
  }
  .featured-body p {
    max-width: 350px;
  }
  .dog-guide-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .dog-list-card {
    flex-direction: column;
    align-items: start;
    padding: 18px;
    gap: 12px;
  }
  .dog-list-card .mini-art {
    width: 45px;
    height: 45px;
  }
  .mini-art .icon {
    width: 24px;
    height: 24px;
  }
  .dog-list-card h3 {
    font-size: 14px;
  }
  .dog-list-card p {
    font-size: 11px;
  }
  .dog-list-card > .icon {
    margin: auto 0px 0px;
    align-self: end;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .category-art {
    height: 130px;
  }
  .category-body h3 {
    font-size: 17px;
  }
  .category-body p {
    font-size: 13px;
  }
  .small-note {
    white-space: normal;
    max-width: 110px;
  }
  .resource-section .section-heading {
    align-items: start;
  }
  .search-field {
    min-width: 210px;
    margin-top: 36px;
    max-width: 240px;
  }
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .routine {
    gap: 38px;
  }
  .routine-copy h2 {
    font-size: 38px;
  }
  .routine-copy > p {
    font-size: 13px;
  }
  .routine-card {
    padding: 22px;
  }
  .routine-top h3 {
    font-size: 20px;
  }
  .routine-check {
    font-size: 12px;
  }
  .routine-note {
    font-size: 10px;
    align-items: start;
  }
  .support-banner {
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
  }
  .support-banner > div:nth-child(2) {
    flex: 1 1 0%;
  }
  .support-banner .button {
    margin-left: 63px;
  }
  .support-banner h2 {
    font-size: 26px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px 60px;
  }
  .footer-note {
    padding-top: 2px;
  }
  .footer-main h3 {
    margin-top: 5px;
  }
  .resource-controls {
    gap: 10px;
  }
  .filter-tabs {
    gap: 3px;
  }
  .filter-tab {
    font-size: 11px;
    padding: 8px 12px;
  }
}
@media (max-width: 580px) {
  html {
    scroll-padding-top: 92px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .announcement {
    font-size: 10px;
    height: 29px;
  }
  .nav-wrap {
    height: 76px;
    gap: 5px;
  }
  .brand {
    font-size: 16px;
    gap: 7px;
  }
  .brand-mark .icon {
    width: 39px;
    height: 43px;
  }
  .brand-dot {
    font-size: 10px;
  }
  .saved-button {
    font-size: 11px;
    padding: 8px;
  }
  .saved-button .icon {
    width: 17px;
    height: 17px;
  }
  .saved-button > span:nth-child(2) {
    font-size: 0px;
  }
  #saved-count {
    font-size: 10px;
    margin-left: 1px;
  }
  .menu-button {
    width: 37px;
    height: 37px;
    margin: 0px;
  }
  #main-nav {
    top: 76px;
    left: -18px;
    right: -18px;
    padding-inline: 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 35px 36px;
  }
  .hero-copy {
    max-width: none;
  }
  .hero h1 {
    font-size: 61px;
    line-height: 1.03;
    letter-spacing: -2px;
  }
  .hero .eyebrow {
    margin-bottom: 17px;
  }
  .hero-copy > p {
    font-size: 15px;
    max-width: 340px;
    margin-top: 19px;
    line-height: 1.8;
  }
  .hero-actions {
    margin-top: 22px;
    gap: 9px;
  }
  .hero-actions .button {
    font-size: 13px;
    padding: 15px 21px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .hero-foot {
    display: none;
  }
  .hero-visual {
    max-width: 420px;
    width: 100%;
    padding-bottom: 10px;
    margin-inline: auto;
  }
  .hero-visual > img {
    height: 306px;
    border-radius: 120px 120px 15px 15px;
    object-position: 50% 45%;
  }
  .photo-sticker {
    left: 10px;
    bottom: -3px;
    font-size: 11px;
    padding: 10px 16px;
    gap: 9px;
  }
  .photo-sticker > .icon {
    width: 23px;
    height: 23px;
  }
  .hero-spark {
    right: 2px;
    top: 5px;
    font-size: 50px;
  }
  .finder-section {
    padding: 25px 20px 19px;
    border-radius: 12px;
  }
  .finder-heading {
    margin-bottom: 23px;
  }
  .finder-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .finder-heading h2 {
    font-size: 29px;
    line-height: 1.15;
    max-width: 240px;
  }
  .finder-heading p {
    font-size: 12px;
    margin-top: 12px;
  }
  .finder-flower {
    display: none;
  }
  .pet-options {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .pet-option {
    min-height: 58px;
    padding: 12px;
    gap: 9px;
    font-size: 12px;
  }
  .pet-option .icon {
    width: 25px;
    height: 25px;
  }
  legend,
  label {
    font-size: 12px;
  }
  .finder-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 23px;
  }
  .finder-bottom .button {
    width: 100%;
    min-height: 50px;
  }
  .finder-note {
    font-size: 10px;
    align-items: start;
    line-height: 1.7;
    margin-top: 16px;
  }
  .finder-note .icon {
    margin-top: 2px;
  }
  .result-cards {
    grid-template-columns: 1fr;
  }
  .results-overline h3 {
    font-size: 24px;
  }
  .results-overline {
    align-items: start;
  }
  .results-overline > .text-link {
    font-size: 10px;
    white-space: nowrap;
  }
  .result-card {
    padding: 18px;
  }
  .finder-help {
    font-size: 11px;
  }
  .promise-strip {
    padding: 25px 0px 29px;
    gap: 13px;
    flex-direction: column;
    align-items: center;
  }
  .promise-strip > span {
    font-size: 10px;
  }
  .promise-strip .icon {
    width: 16px;
    height: 16px;
  }
  .section-pad {
    padding-block: 43px;
  }
  .section-heading {
    display: block;
    margin-bottom: 25px;
  }
  .section-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
    margin-bottom: 13px;
  }
  h2 {
    font-size: 34px;
    letter-spacing: -0.9px;
    line-height: 1.1;
  }
  .section-heading p {
    font-size: 12px;
    line-height: 1.8;
    margin-top: 14px;
    max-width: 300px;
  }
  .section-heading > .text-link {
    margin-top: 17px;
    font-size: 12px;
  }
  .dog-layout {
    gap: 17px;
  }
  .featured-guide {
    grid-template-columns: 1fr;
  }
  .featured-top {
    height: 148px;
    justify-content: start;
    padding: 19px;
  }
  .featured-top .pill {
    margin-top: 0px;
  }
  .bone-art {
    inset: 3px 25px 0px auto;
    width: 155px;
    transform: rotate(-24deg);
  }
  .bone-art .icon {
    width: 124px;
    height: 124px;
  }
  .art-spark {
    top: 11px;
    right: -7px;
    font-size: 30px;
  }
  .featured-body {
    padding: 25px;
  }
  .featured-guide h3 {
    font-size: 29px;
  }
  .featured-guide p {
    font-size: 12px;
  }
  .featured-guide .button {
    font-size: 12px;
  }
  .dog-guide-list {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .dog-list-card {
    flex-direction: row;
    align-items: center;
    gap: 13px;
    padding: 16px;
  }
  .dog-list-card h3 {
    font-size: 13px;
  }
  .dog-list-card p {
    font-size: 11px;
  }
  .dog-list-card .mini-art {
    width: 43px;
    height: 43px;
  }
  .dog-list-card > .icon {
    align-self: center;
    margin-left: auto;
    margin-top: 0px;
    flex-shrink: 0;
    width: 17px;
    height: 17px;
  }
  .small-note {
    display: block;
    max-width: none;
    font-size: 10px;
    margin-top: 15px;
  }
  .category-grid {
    gap: 12px;
  }
  .category-art {
    height: 104px;
  }
  .category-art .icon {
    width: 47px;
    height: 47px;
  }
  .category-body {
    padding: 15px 13px;
  }
  .category-body h3 {
    font-size: 13px;
    line-height: 1.45;
  }
  .category-body p {
    font-size: 11px;
    line-height: 1.65;
    margin-top: 8px;
  }
  .category-body .text-link {
    font-size: 10px;
    gap: 6px;
    margin-top: 12px;
  }
  .category-body .text-link .icon {
    width: 14px;
    height: 14px;
  }
  .search-field {
    margin-top: 23px;
    max-width: none;
    width: 100%;
    height: 45px;
  }
  .resource-controls {
    display: block;
    padding-bottom: 14px;
  }
  .filter-tabs {
    gap: 3px;
    justify-content: space-between;
  }
  .filter-tab {
    padding: 8px 10px;
    font-size: 10px;
  }
  .topic-filter {
    display: block;
    margin-top: 12px;
  }
  .topic-filter select {
    width: 100%;
    font-size: 11px;
    min-height: 36px;
  }
  .resource-grid {
    gap: 14px;
    grid-template-columns: 1fr;
  }
  .resource-card {
    display: grid;
    grid-template-columns: 95px 1fr;
  }
  .resource-art {
    height: 100%;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
  }
  .resource-art > .icon {
    width: 36px;
    height: 36px;
  }
  .resource-art .pet-label {
    font-size: 8px;
    letter-spacing: 0.7px;
  }
  .resource-art::after {
    right: -53px;
    top: auto;
    bottom: -20px;
  }
  .save-card {
    top: 9px;
    right: 9px;
    width: 28px;
    height: 28px;
  }
  .save-card .icon {
    width: 14px;
    height: 14px;
  }
  .resource-body {
    padding: 17px 16px;
  }
  .resource-body h3 {
    font-size: 19px;
  }
  .resource-body p {
    font-size: 11px;
    margin-top: 8px;
  }
  .resource-meta {
    font-size: 8px;
    letter-spacing: 0.7px;
    margin-bottom: 9px;
  }
  .resource-body .text-link {
    font-size: 11px;
    margin-top: 10px;
  }
  .resource-body .text-link .icon {
    width: 16px;
    height: 16px;
  }
  .result-count {
    font-size: 10px;
  }
  .routine {
    grid-template-columns: 1fr;
    gap: 27px;
    padding-block: 46px;
  }
  .routine-copy h2 {
    font-size: 37px;
  }
  .routine-copy h2 br {
    display: none;
  }
  .routine-copy > p {
    font-size: 13px;
    max-width: none;
    margin-top: 16px;
  }
  .routine-note {
    margin-top: 16px;
    font-size: 10px;
  }
  .routine-card {
    padding: 24px 21px;
  }
  .routine-top h3 {
    font-size: 24px;
  }
  .routine-check {
    font-size: 12px;
    padding-block: 13px;
  }
  .support-banner {
    padding: 24px 21px;
    margin-bottom: 45px;
    gap: 13px;
    align-items: start;
  }
  .support-icon > .icon {
    width: 29px;
    height: 29px;
  }
  .support-banner h2 {
    font-size: 24px;
    line-height: 1.2;
  }
  .support-banner p {
    font-size: 11px;
    margin-top: 11px;
  }
  .support-banner .button {
    margin-left: 42px;
    font-size: 11px;
    min-height: 44px;
    padding: 11px 14px;
  }
  .footer-main {
    gap: 30px 22px;
    padding-bottom: 29px;
    grid-template-columns: 1fr 1fr;
  }
  .footer-main > div:first-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .footer-main > div:first-child p {
    margin: 0px;
    font-size: 10px;
    max-width: 145px;
  }
  .footer-main .brand {
    font-size: 15px;
  }
  .footer-main .brand-mark .icon {
    width: 34px;
  }
  .footer-main h3 {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .footer-main button,
  .footer-main > div > a:not(.brand) {
    font-size: 11px;
    line-height: 1.7;
    padding-block: 5px;
  }
  .footer-note {
    grid-column: 1 / -1;
    display: flex;
    gap: 20px;
    align-items: start;
    border-top: 1px solid rgba(114, 144, 121, 0.333);
    padding-top: 18px;
  }
  .footer-note p {
    margin: 3px 0px 0px;
    font-size: 10px;
  }
  .footer-note p br {
    display: none;
  }
  .footer-note .pill {
    white-space: nowrap;
    margin-top: 5px;
    font-size: 7px;
    padding: 5px 8px;
  }
  .footer-bottom {
    font-size: 9px;
    flex-direction: column;
    gap: 6px;
    padding-block: 17px;
  }
  .empty-state {
    padding: 28px 20px;
  }
  dialog {
    max-height: 93dvh;
    width: calc(100% - 20px);
    border-radius: 12px;
  }
  .dialog-top {
    padding: 11px 17px;
  }
  #dialog-content {
    padding: 25px 23px 29px;
  }
  #dialog-title {
    font-size: 32px;
  }
  .dialog-intro {
    font-size: 14px;
  }
  .guide-step {
    gap: 12px;
  }
  .guide-step h3 {
    font-size: 16px;
  }
  .guide-step p {
    font-size: 13px;
  }
  .guide-step .step-number {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }
  .help-note {
    font-size: 12px;
    padding: 14px 16px;
  }
  .source-links a {
    font-size: 12px;
  }
  .dialog-actions {
    gap: 9px;
  }
  .dialog-actions .button {
    font-size: 11px;
    gap: 10px;
  }
  .checklist-item {
    font-size: 13px;
  }
  .checklist-item b {
    font-size: 15px;
  }
  .content-paragraph {
    font-size: 13px;
  }
  .toast {
    font-size: 11px;
    bottom: 16px;
    min-width: 220px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  ::before,
  ::after {
    transition: none !important;
    animation: auto ease 0s 1 normal none running none !important;
  }
  .button:hover,
  .category-card:hover {
    transform: none;
  }
}

/* Source extracted CSS */

/* From styles.css */
:root {
  --green: #244d3f;
  --deep: #1c3d32;
  --ink: #263d34;
  --muted: #647167;
  --cream: #fbf8f0;
  --paper: #fffdf8;
  --sage: #e9efe4;
  --line: #d9dfd2;
  --coral: #d98b73;
  --peach: #f5dfd0;
  --butter: #f4ebc8;
  --lilac: #e8e3ed;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button:disabled {
  cursor: default;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -1.6px;
  line-height: 1.08;
}
h2 {
  font-size: 44px;
}
h3 {
  line-height: 1.25;
}
p {
  color: var(--muted);
}
svg.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wrap {
  width: min(1192px, calc(100% - 64px));
  margin-inline: auto;
}
.section-pad {
  padding-block: 82px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}
.little-line {
  height: 1px;
  width: 26px;
  background: var(--coral);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 16px 23px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  min-height: 52px;
  transition:
    background 0.15s,
    transform 0.15s;
  white-space: nowrap;
}
.button:hover {
  transform: translateY(-2px);
}
.button .icon {
  width: 20px;
  height: 20px;
}
.primary {
  background: var(--green);
  color: #fffdf6;
}
.primary:hover,
.dark:hover {
  background: #16372b;
}
.dark {
  background: var(--deep);
  color: #fffdf6;
}
.outline {
  border-color: #aebbac;
  background: transparent;
}
.outline:hover {
  background: var(--sage);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 14px;
  font-weight: 650;
  background: none;
  border: 0;
  padding: 8px 0;
  line-height: 1.45;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-link .icon {
  width: 19px;
  height: 19px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  border: 1px solid currentColor;
  border-radius: 30px;
  padding: 5px 11px;
  line-height: 1.4;
}
.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-button:hover {
  background: var(--sage);
}
.sr-only {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 16px;
  background: var(--green);
  color: white;
  padding: 12px 20px;
}
.skip-link:focus {
  top: 10px;
}
:focus-visible {
  outline: 3px solid #b26143;
  outline-offset: 4px;
}
section[id] {
  scroll-margin-top: 20px;
}
[hidden] {
  display: none !important;
}
.announcement {
  height: 33px;
  background: var(--green);
  color: #f4f2e4;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.6px;
}
.announcement .icon {
  width: 13px;
  height: 13px;
}
.site-header {
  background: rgba(251, 248, 240, 0.98);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #e8e8dc;
}
.nav-wrap {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -0.4px;
  white-space: nowrap;
}
.brand b {
  font-weight: 700;
}
.brand-dot {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}
.brand-mark {
  display: flex;
}
.brand-mark .icon {
  width: 49px;
  height: 55px;
  stroke-width: 1;
}
.brand-mark svg {
  color: var(--green);
}
#main-nav {
  display: flex;
  gap: 27px;
  align-items: center;
  margin-left: auto;
}
#main-nav a {
  font-size: 13px;
  position: relative;
  padding: 14px 0;
}
#main-nav a:hover:after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--coral);
}
.saved-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line);
  padding: 8px 0 8px 23px;
  font-size: 13px;
  white-space: nowrap;
}
.saved-button .icon {
  width: 19px;
  height: 19px;
}
#saved-count {
  font-size: 10px;
  background: #e6ebdf;
  border-radius: 50%;
  padding: 2px 5px;
  margin-left: 3px;
}
.menu-button {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 61px;
  padding-bottom: 66px;
}
.hero h1 {
  font-size: 78px;
  line-height: 1.04;
  letter-spacing: -2.8px;
}
.hero h1 em {
  font-weight: 400;
  color: var(--green);
}
.hero-copy > p {
  font-size: 17px;
  line-height: 1.8;
  max-width: 400px;
  margin-top: 24px;
}
.hero-actions {
  margin-top: 29px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  align-items: flex-start;
}
.hero-foot {
  font-size: 11px;
  margin-top: 26px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #687361;
}
.hero-foot .icon {
  width: 17px;
  height: 17px;
}
.hero-visual {
  position: relative;
  padding-bottom: 15px;
}
.hero-visual > img {
  width: 100%;
  height: 462px;
  object-fit: cover;
  object-position: 48% 50%;
  border-radius: 180px 180px 20px 20px;
}
.photo-sticker {
  position: absolute;
  bottom: 0;
  left: -27px;
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fffcf4;
  box-shadow: 0 7px 20px #294b3312;
  transform: rotate(-4deg);
  padding: 15px 24px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
}
.photo-sticker > .icon {
  width: 32px;
  height: 32px;
  color: #bc6e56;
}
.photo-sticker b {
  font-weight: 650;
}
.hero-spark {
  font-size: 74px;
  position: absolute;
  right: -23px;
  top: 14px;
  color: var(--coral);
  line-height: 1;
}
.finder-section {
  background: var(--sage);
  border: 1px solid #dae2d1;
  border-radius: 16px;
  padding: 35px 41px 24px;
}
.finder-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.finder-heading .eyebrow {
  margin-bottom: 10px;
}
.finder-heading h2 {
  font-size: 35px;
  letter-spacing: -1px;
}
.finder-heading p {
  font-size: 14px;
  margin-top: 9px;
}
.finder-flower {
  transform: rotate(14deg);
  opacity: 0.4;
}
.finder-flower .icon {
  width: 65px;
  height: 65px;
  stroke-width: 1.2;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
legend,
label {
  font-size: 13px;
  font-weight: 650;
}
.step-number {
  font-size: 10px;
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  margin-right: 8px;
  border: 1px solid #9fac98;
  border-radius: 50%;
  font-weight: 500;
}
.pet-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.pet-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #cbd6c5;
  padding: 13px 18px;
  border-radius: 8px;
  background: #f9faf4;
  cursor: pointer;
  font-size: 14px;
  min-height: 62px;
}
.pet-option .icon {
  width: 30px;
  height: 30px;
  stroke-width: 1.4;
}
.pet-option input {
  accent-color: var(--green);
  width: 15px;
  height: 15px;
  margin: 0 0 0 auto;
  order: 3;
}
.pet-option:has(input:checked) {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.pet-option:has(input:checked) input {
  accent-color: #d9e9b7;
}
.pet-option:has(input:focus-visible) {
  outline: 3px solid #b26143;
  outline-offset: 4px;
}
.finder-bottom {
  display: flex;
  align-items: end;
  gap: 18px;
  margin-top: 24px;
}
.need-field {
  flex: 1;
}
.need-field label {
  display: block;
  margin-bottom: 12px;
}
select {
  background: var(--paper);
  border: 1px solid #cbd4c5;
  border-radius: 7px;
  padding: 14px 40px 14px 15px;
  color: var(--ink);
  min-height: 52px;
  max-width: 100%;
  cursor: pointer;
}
#pet-need {
  width: 100%;
}
.finder-bottom .button {
  min-width: 230px;
  margin-bottom: 1px;
}
.finder-note {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  margin-top: 20px;
}
.finder-note .icon {
  width: 14px;
  height: 14px;
}
.finder-results {
  border-top: 1px solid #cad6c3;
  margin-top: 29px;
  padding-top: 23px;
  outline: 0;
}
.results-overline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 15px;
}
.results-overline h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 27px;
  letter-spacing: -0.6px;
}
.results-overline p {
  font-size: 12px;
  margin-top: 5px;
}
.result-cards {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 15px;
}
.result-card {
  padding: 22px;
  background: var(--paper);
  border: 1px solid #dbe1d5;
  border-radius: 8px;
}
.result-card .eyebrow {
  font-size: 9px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.result-card h4 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 9px;
}
.result-card p {
  font-size: 13px;
  line-height: 1.65;
}
.result-card .text-link {
  margin-top: 10px;
}
.finder-help {
  padding: 12px 0 0;
  font-size: 12px;
  color: #4e6051;
  display: flex;
  gap: 8px;
}
.finder-help .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.promise-strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 29px 36px;
}
.promise-strip > span {
  font-size: 11px;
  color: #596852;
  display: flex;
  align-items: center;
  gap: 8px;
}
.promise-strip .icon {
  width: 19px;
  height: 19px;
  stroke-width: 1.4;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 33px;
}
.section-heading .eyebrow {
  margin-bottom: 13px;
}
.section-heading p {
  font-size: 14px;
  margin-top: 14px;
}
.section-heading .text-link {
  flex-shrink: 0;
}
.dog-section {
  background: #f1f0e5;
  padding-top: 66px;
  padding-bottom: 71px;
}
.dog-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
}
.featured-guide {
  display: grid;
  grid-template-columns: 170px 1fr;
  overflow: hidden;
  border-radius: 12px;
  background: #f2dac9;
}
.featured-top {
  padding: 24px 20px;
  position: relative;
  background: #efd3bd;
  display: flex;
  align-items: start;
  justify-content: center;
}
.featured-top .pill {
  position: relative;
  z-index: 1;
  color: #644c3d;
  white-space: nowrap;
  font-size: 9px;
}
.bone-art {
  position: absolute;
  inset: 70px 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8f5e48;
  transform: rotate(-30deg);
}
.bone-art .icon {
  width: 148px;
  height: 148px;
  stroke-width: 1;
  fill: #f9eee1;
  filter: drop-shadow(4px 7px 0 #a3786233);
}
.art-spark {
  position: absolute;
  top: 5px;
  right: 1px;
  font-size: 34px;
  color: #b17553;
  transform: rotate(30deg);
}
.featured-body {
  padding: 32px 27px;
}
.card-meta {
  font-size: 9px;
  letter-spacing: 1.4px;
  font-weight: 650;
  display: flex;
  gap: 20px;
  color: #775a4a;
  margin-bottom: 17px;
}
.card-meta span {
  font-weight: 400;
  letter-spacing: 0.5px;
}
.featured-guide h3 {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -0.7px;
  line-height: 1.17;
}
.featured-guide p {
  font-size: 13px;
  line-height: 1.7;
  margin-top: 15px;
  color: #775f50;
}
.featured-guide .button {
  font-size: 12px;
  margin-top: 22px;
  padding: 13px 16px;
  gap: 14px;
  min-height: 46px;
}
.dog-guide-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dog-list-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 19px 21px;
  background: #fffcf4;
  border: 1px solid #dfdfd2;
  border-radius: 10px;
  width: 100%;
  text-align: left;
  flex: 1;
  transition: border-color 0.15s;
}
.dog-list-card:hover {
  border-color: var(--green);
}
.dog-list-card .mini-art {
  display: grid;
  place-items: center;
  background: #e9ecda;
  width: 59px;
  height: 59px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dog-list-card:nth-child(2) .mini-art {
  background: #ede3d7;
}
.dog-list-card:nth-child(3) .mini-art {
  background: #e7e4ed;
}
.mini-art .icon {
  width: 29px;
  height: 29px;
  stroke-width: 1.3;
}
.dog-list-card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.dog-list-card p {
  font-size: 12px;
  margin-top: 6px;
}
.dog-list-card > .icon {
  margin-left: auto;
  width: 19px;
  height: 19px;
}
.small-note {
  font-size: 11px;
  white-space: nowrap;
  color: var(--muted);
  padding-bottom: 5px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}
.category-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
  text-align: left;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: #a3b29a;
}
.category-art {
  height: 146px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.sage {
  background: var(--sage);
}
.peach {
  background: var(--peach);
}
.butter {
  background: var(--butter);
}
.lilac {
  background: var(--lilac);
}
.category-art:before,
.category-art:after {
  content: '';
  position: absolute;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 1px solid #264e3b17;
}
.category-art:before {
  left: 20px;
  top: -30px;
  width: 140px;
  height: 140px;
}
.category-art:after {
  right: 15px;
  bottom: -33px;
}
.category-art .icon {
  width: 65px;
  height: 65px;
  stroke-width: 1;
  transform: rotate(-10deg);
}
.category-card:nth-child(2) .icon {
  transform: rotate(10deg);
}
.category-body {
  padding: 21px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.category-body h3 {
  font-size: 16px;
  line-height: 1.4;
}
.category-body p {
  font-size: 12px;
  margin-top: 9px;
  line-height: 1.7;
  flex: 1;
}
.category-body .text-link {
  font-size: 12px;
  margin-top: 17px;
  justify-content: space-between;
}
.category-body .text-link .icon {
  width: 17px;
  height: 17px;
  transform: none;
}
.resource-section {
  background: #f1f3e9;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fdfdf7;
  border: 1px solid #cdd5c6;
  border-radius: 7px;
  min-width: 270px;
  height: 47px;
  padding-inline: 14px;
  margin-bottom: 1px;
}
.search-field .icon {
  width: 18px;
  height: 18px;
  color: #727f6d;
}
.search-field input {
  width: 100%;
  min-width: 0;
  outline: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}
.search-field:focus-within {
  outline: 2px solid #b26143;
  outline-offset: 3px;
}
.resource-controls {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d4dccc;
  padding-bottom: 17px;
}
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-tab {
  font-size: 12px;
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 8px 17px;
  background: transparent;
}
.filter-tab:hover {
  background: #e5eadb;
}
.filter-tab[aria-pressed='true'] {
  background: var(--green);
  color: #fff;
}
.topic-filter select {
  min-height: 37px;
  padding: 7px 30px 7px 11px;
  background: transparent;
  font-size: 12px;
}
.result-count {
  font-size: 11px;
  padding: 17px 0 15px;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.resource-card {
  background: var(--paper);
  border: 1px solid #dce0d3;
  border-radius: 11px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.resource-art {
  height: 110px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 22px;
  gap: 13px;
  background: #e5eadb;
}
.resource-art > .icon {
  width: 44px;
  height: 44px;
  stroke-width: 1.1;
  transform: rotate(-10deg);
}
.resource-art:after {
  content: '';
  width: 100px;
  height: 100px;
  border: 1px solid #526d4222;
  border-radius: 50%;
  position: absolute;
  right: 27px;
  top: 37px;
}
.resource-art.food {
  background: #e8e2ec;
}
.resource-art.toys {
  background: #f0e7c7;
}
.resource-art.training {
  background: #f0ddcf;
}
.resource-art .pet-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 1;
}
.save-card {
  position: absolute;
  right: 14px;
  top: 13px;
  z-index: 2;
  background: #fffcf5c9;
  border: 0;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.save-card .icon {
  width: 16px;
  height: 16px;
  transform: none;
}
.save-card[aria-pressed='true'] .icon {
  fill: var(--green);
  color: var(--green);
}
.resource-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.resource-meta {
  font-size: 9px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #7b826f;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.resource-body h3 {
  font-size: 20px;
  font-weight: 400;
  font-family: var(--serif);
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.title-button {
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  line-height: inherit;
}
.title-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.resource-body p {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 12px;
  flex: 1;
}
.resource-body .text-link {
  justify-content: space-between;
  font-size: 12px;
  margin-top: 17px;
}
.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 29px;
}
.load-more-wrap .button {
  font-size: 12px;
  min-height: 44px;
  padding: 12px 22px;
}
.empty-state {
  grid-column: 1/-1;
  padding: 43px;
  text-align: center;
  background: #fdfdf7;
  border: 1px dashed #abbba3;
  border-radius: 12px;
}
.empty-state h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  margin-bottom: 12px;
}
.empty-state p {
  font-size: 14px;
}
.empty-state .button {
  margin-top: 20px;
}
.routine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  padding-block: 91px;
}
.routine-copy h2 {
  font-size: 47px;
  line-height: 1.14;
}
.routine-copy > p {
  font-size: 14px;
  line-height: 1.85;
  margin-top: 21px;
  max-width: 365px;
}
.routine-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #6a7563;
  font-size: 11px;
  margin-top: 24px;
}
.routine-note .icon {
  width: 15px;
  height: 15px;
}
.routine-card {
  background: #fdfbf4;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 28px 29px;
  box-shadow: 6px 7px 0 #e9ecdf;
}
.routine-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.routine-top h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.5px;
}
.routine-top > span {
  font-size: 12px;
  color: var(--muted);
}
.progress-track {
  height: 4px;
  border-radius: 8px;
  background: #e0e6d8;
  margin-top: 18px;
  overflow: hidden;
}
.progress-track > span {
  height: 100%;
  display: block;
  background: var(--green);
  width: 0;
  transition: width 0.2s;
}
#routine-checks {
  margin-top: 11px;
}
.routine-check {
  display: flex;
  gap: 13px;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  padding-block: 12px;
  border-bottom: 1px solid #e7e8dd;
}
.routine-check input {
  width: 19px;
  height: 19px;
  accent-color: var(--green);
  flex-shrink: 0;
  margin: 0;
}
.routine-check:has(input:checked) {
  color: #6d7c63;
}
.routine-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 13px;
}
.routine-end p {
  font-size: 11px;
}
.routine-end .text-link {
  font-size: 11px;
}
.support-banner {
  background: #e8edde;
  border: 1px solid #d9e1cb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px 33px;
  margin-bottom: 80px;
}
.support-icon > .icon {
  width: 43px;
  height: 43px;
  stroke-width: 1.2;
}
.support-banner h2 {
  font-size: 26px;
  letter-spacing: -0.6px;
}
.support-banner p {
  font-size: 12px;
  margin-top: 9px;
  max-width: 570px;
  line-height: 1.8;
}
.support-banner .button {
  margin-left: auto;
  font-size: 12px;
  flex-shrink: 0;
  padding-inline: 16px;
  gap: 13px;
}
footer {
  background: var(--green);
  color: #f2f0e3;
  padding-top: 48px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 0.9fr;
  gap: 45px;
  padding-bottom: 38px;
}
.footer-main .brand-mark .icon {
  color: #edf1d9;
}
.footer-main p {
  font-size: 12px;
  color: #b8c8b6;
  line-height: 1.8;
  margin-top: 19px;
}
.footer-main h3 {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.2px;
  margin-block: 8px 18px;
}
.footer-main > div > a:not(.brand),
.footer-main button {
  display: block;
  font-size: 12px;
  padding: 5px 0;
  background: none;
  border: 0;
  color: #d6decd;
  text-align: left;
}
.footer-main button:hover,
.footer-main > div > a:not(.brand):hover {
  text-decoration: underline;
}
.footer-note .pill {
  font-size: 8px;
  color: #d1dcb8;
  padding-block: 5px;
  margin-top: 7px;
}
.footer-note p {
  margin-top: 16px;
}
.footer-bottom {
  border-top: 1px solid #72907955;
  padding-block: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #afc2ab;
}
dialog {
  color: var(--ink);
  border: 0;
  border-radius: 16px;
  max-width: 760px;
  width: calc(100% - 32px);
  max-height: 88dvh;
  padding: 0;
  background: var(--cream);
  box-shadow: 0 24px 100px #0c271d44;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #142b24aa;
  backdrop-filter: blur(4px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 24px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 3;
}
.dialog-brand {
  font-size: 12px;
  font-weight: 600;
}
.dialog-top .icon-button {
  width: 34px;
  height: 34px;
}
.dialog-top .icon {
  width: 18px;
  height: 18px;
}
#dialog-content {
  padding: 32px 39px 39px;
}
#dialog-title {
  font-size: 39px;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.dialog-kicker {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.dialog-kicker .icon {
  width: 20px;
  height: 20px;
}
.dialog-intro {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 27px;
}
.guide-step {
  display: flex;
  align-items: start;
  gap: 17px;
  padding-block: 21px;
  border-top: 1px solid var(--line);
}
.guide-step .step-number {
  width: 27px;
  height: 27px;
  min-width: 27px;
  margin: 0;
}
.guide-step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 9px;
}
.guide-step p {
  font-size: 14px;
  line-height: 1.8;
}
.help-note {
  background: #efe8da;
  border-left: 3px solid #b48760;
  padding: 17px 19px;
  font-size: 13px;
  line-height: 1.8;
  margin-block: 10px 25px;
}
.help-note strong {
  display: block;
  color: #574c37;
  margin-bottom: 4px;
}
.source-links {
  border-top: 1px solid var(--line);
  padding-top: 21px;
}
.source-links h3 {
  font-size: 12px;
  letter-spacing: 0.7px;
  margin-bottom: 10px;
}
.source-links a {
  display: block;
  font-size: 13px;
  padding-block: 7px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--green);
}
.source-links p {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 8px;
}
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 25px 28px;
}
.dialog-actions .button {
  font-size: 12px;
  min-height: 46px;
  padding: 12px 16px;
}
.related-box {
  background: var(--sage);
  padding: 19px 21px;
  border-radius: 8px;
  margin-top: 25px;
}
.related-box .eyebrow {
  font-size: 9px;
  margin-bottom: 7px;
}
.related-box .text-link {
  text-align: left;
  font-size: 15px;
}
.checklist-item {
  display: flex;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  font-weight: 400;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.checklist-item input {
  margin-top: 5px;
  width: 19px;
  height: 19px;
  accent-color: var(--green);
  flex-shrink: 0;
}
.checklist-item b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.checklist-item span {
  color: var(--muted);
  line-height: 1.8;
}
.checklist-item b {
  color: var(--ink);
}
.checklist-finish {
  font-size: 12px;
  padding: 12px 0;
}
.saved-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 17px;
  border-top: 1px solid var(--line);
}
.saved-row > div {
  flex: 1;
}
.saved-row .title-button {
  font-size: 17px;
  font-family: var(--serif);
}
.saved-row p {
  font-size: 11px;
  margin-top: 7px;
}
.saved-row > .icon-button {
  flex-shrink: 0;
}
.content-paragraph {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 18px;
}
.info-heading {
  font-size: 20px;
  font-family: var(--serif);
  font-weight: 400;
  margin: 24px 0 12px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 12px 23px;
  background: var(--deep);
  color: #fffdf5;
  border: 1px solid #778871;
  border-radius: 9px;
  font-size: 12px;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: calc(100% - 30px);
  text-align: center;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.noscript {
  padding: 22px;
  background: var(--peach);
  text-align: center;
}
@media (min-width: 1450px) {
  .hero {
    gap: 90px;
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .hero-visual > img {
    height: 483px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .nav-wrap {
    gap: 16px;
  }
  #main-nav {
    gap: 19px;
  }
  .brand {
    font-size: 17px;
  }
  .brand-mark .icon {
    width: 43px;
    height: 48px;
  }
  .saved-button {
    padding-left: 16px;
  }
  .hero {
    gap: 42px;
  }
  .hero h1 {
    font-size: 66px;
  }
  .hero-visual > img {
    height: 430px;
  }
  .hero-spark {
    right: -15px;
    font-size: 60px;
  }
  .hero-foot {
    font-size: 10px;
  }
  .dog-layout {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .featured-guide {
    grid-template-columns: 110px 1fr;
  }
  .featured-top {
    padding: 22px 9px;
  }
  .bone-art .icon {
    width: 105px;
    height: 105px;
  }
  .featured-body {
    padding: 27px 22px;
  }
  .featured-guide h3 {
    font-size: 26px;
  }
  .card-meta {
    gap: 10px;
    font-size: 8px;
  }
  .category-body {
    padding: 18px;
  }
  .category-body h3 {
    font-size: 14px;
  }
  .routine {
    gap: 60px;
  }
  .support-banner {
    padding: 27px;
    gap: 16px;
  }
  .support-banner h2 {
    font-size: 23px;
  }
  .footer-main {
    gap: 28px;
  }
  .small-note {
    font-size: 10px;
  }
}
@media (max-width: 850px) {
  h2 {
    font-size: 37px;
  }
  .nav-wrap {
    height: 81px;
    position: relative;
    justify-content: flex-start;
  }
  .menu-button {
    display: flex;
    order: 3;
    margin-left: 3px;
    border: 0;
  }
  .saved-button {
    margin-left: auto;
    border: 0;
  }
  .brand {
    font-size: 18px;
  }
  #main-nav {
    position: absolute;
    top: 81px;
    left: -24px;
    right: -24px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 10px #244d3f0d;
    display: none;
    padding: 15px 24px 20px;
    margin: 0;
  }
  #main-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  #main-nav a {
    font-size: 15px;
    padding: 12px 0;
  }
  #main-nav a:hover:after {
    display: none;
  }
  .hero {
    gap: 30px;
    padding-top: 42px;
    padding-bottom: 49px;
  }
  .hero h1 {
    font-size: 55px;
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.4px;
  }
  .hero-visual > img {
    height: 380px;
    border-radius: 150px 150px 15px 15px;
  }
  .hero-actions .button {
    font-size: 13px;
    padding-inline: 16px;
  }
  .hero-actions .text-link {
    font-size: 11px;
  }
  .hero-foot {
    line-height: 1.5;
    max-width: 250px;
  }
  .photo-sticker {
    left: -13px;
    padding: 13px 18px;
    font-size: 12px;
  }
  .photo-sticker > .icon {
    width: 26px;
    height: 26px;
  }
  .hero-spark {
    font-size: 49px;
    right: -11px;
    top: 5px;
  }
  .finder-section {
    padding: 29px;
  }
  .finder-heading h2 {
    font-size: 30px;
  }
  .pet-option {
    gap: 8px;
    padding: 13px;
    font-size: 12px;
  }
  .pet-option .icon {
    width: 25px;
    height: 25px;
  }
  .finder-bottom .button {
    min-width: 205px;
    font-size: 12px;
    padding-inline: 15px;
  }
  .promise-strip {
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 28px;
    gap: 14px 23px;
  }
  .promise-strip > span {
    font-size: 10px;
  }
  .section-pad {
    padding-block: 60px;
  }
  .section-heading {
    gap: 25px;
  }
  .section-heading p {
    font-size: 13px;
  }
  .dog-layout {
    grid-template-columns: 1fr;
  }
  .featured-guide {
    grid-template-columns: 31% 1fr;
  }
  .featured-top .pill {
    margin-top: 4px;
  }
  .bone-art .icon {
    width: 155px;
    height: 155px;
  }
  .featured-guide h3 {
    font-size: 31px;
  }
  .featured-body p {
    max-width: 350px;
  }
  .dog-guide-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .dog-list-card {
    flex-direction: column;
    align-items: start;
    padding: 18px;
    gap: 12px;
  }
  .dog-list-card .mini-art {
    width: 45px;
    height: 45px;
  }
  .mini-art .icon {
    width: 24px;
    height: 24px;
  }
  .dog-list-card h3 {
    font-size: 14px;
  }
  .dog-list-card p {
    font-size: 11px;
  }
  .dog-list-card > .icon {
    margin: 0;
    align-self: end;
    margin-top: auto;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .category-art {
    height: 130px;
  }
  .category-body h3 {
    font-size: 17px;
  }
  .category-body p {
    font-size: 13px;
  }
  .small-note {
    white-space: normal;
    max-width: 110px;
  }
  .resource-section .section-heading {
    align-items: start;
  }
  .search-field {
    min-width: 210px;
    margin-top: 36px;
    max-width: 240px;
  }
  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .routine {
    gap: 38px;
  }
  .routine-copy h2 {
    font-size: 38px;
  }
  .routine-copy > p {
    font-size: 13px;
  }
  .routine-card {
    padding: 22px;
  }
  .routine-top h3 {
    font-size: 20px;
  }
  .routine-check {
    font-size: 12px;
  }
  .routine-note {
    font-size: 10px;
    align-items: start;
  }
  .support-banner {
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
  }
  .support-banner > div:nth-child(2) {
    flex: 1;
  }
  .support-banner .button {
    margin-left: 63px;
  }
  .support-banner h2 {
    font-size: 26px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px 60px;
  }
  .footer-note {
    padding-top: 2px;
  }
  .footer-main h3 {
    margin-top: 5px;
  }
  .resource-controls {
    gap: 10px;
  }
  .filter-tabs {
    gap: 3px;
  }
  .filter-tab {
    font-size: 11px;
    padding: 8px 12px;
  }
}
@media (max-width: 580px) {
  html {
    scroll-padding-top: 92px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .announcement {
    font-size: 10px;
    height: 29px;
  }
  .nav-wrap {
    height: 76px;
    gap: 5px;
  }
  .brand {
    font-size: 16px;
    gap: 7px;
  }
  .brand-mark .icon {
    width: 39px;
    height: 43px;
  }
  .brand-dot {
    font-size: 10px;
  }
  .saved-button {
    font-size: 11px;
    padding: 8px;
  }
  .saved-button .icon {
    width: 17px;
    height: 17px;
  }
  .saved-button > span:nth-child(2) {
    font-size: 0;
  }
  #saved-count {
    font-size: 10px;
    margin-left: 1px;
  }
  .menu-button {
    width: 37px;
    height: 37px;
    margin: 0;
  }
  #main-nav {
    top: 76px;
    left: -18px;
    right: -18px;
    padding-inline: 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 35px 36px;
  }
  .hero-copy {
    max-width: none;
  }
  .hero h1 {
    font-size: 61px;
    line-height: 1.03;
    letter-spacing: -2px;
  }
  .hero .eyebrow {
    margin-bottom: 17px;
  }
  .hero-copy > p {
    font-size: 15px;
    max-width: 340px;
    margin-top: 19px;
    line-height: 1.8;
  }
  .hero-actions {
    margin-top: 22px;
    gap: 9px;
  }
  .hero-actions .button {
    font-size: 13px;
    padding: 15px 21px;
  }
  .hero-actions .text-link {
    font-size: 12px;
  }
  .hero-foot {
    display: none;
  }
  .hero-visual {
    max-width: 420px;
    width: 100%;
    padding-bottom: 10px;
    margin-inline: auto;
  }
  .hero-visual > img {
    height: 306px;
    border-radius: 120px 120px 15px 15px;
    object-position: 50% 45%;
  }
  .photo-sticker {
    left: 10px;
    bottom: -3px;
    font-size: 11px;
    padding: 10px 16px;
    gap: 9px;
  }
  .photo-sticker > .icon {
    width: 23px;
    height: 23px;
  }
  .hero-spark {
    right: 2px;
    top: 5px;
    font-size: 50px;
  }
  .finder-section {
    padding: 25px 20px 19px;
    border-radius: 12px;
  }
  .finder-heading {
    margin-bottom: 23px;
  }
  .finder-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .finder-heading h2 {
    font-size: 29px;
    line-height: 1.15;
    max-width: 240px;
  }
  .finder-heading p {
    font-size: 12px;
    margin-top: 12px;
  }
  .finder-flower {
    display: none;
  }
  .pet-options {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .pet-option {
    min-height: 58px;
    padding: 12px;
    gap: 9px;
    font-size: 12px;
  }
  .pet-option .icon {
    width: 25px;
    height: 25px;
  }
  legend,
  label {
    font-size: 12px;
  }
  .finder-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 23px;
  }
  .finder-bottom .button {
    width: 100%;
    min-height: 50px;
  }
  .finder-note {
    font-size: 10px;
    align-items: start;
    line-height: 1.7;
    margin-top: 16px;
  }
  .finder-note .icon {
    margin-top: 2px;
  }
  .result-cards {
    grid-template-columns: 1fr;
  }
  .results-overline h3 {
    font-size: 24px;
  }
  .results-overline {
    align-items: start;
  }
  .results-overline > .text-link {
    font-size: 10px;
    white-space: nowrap;
  }
  .result-card {
    padding: 18px;
  }
  .finder-help {
    font-size: 11px;
  }
  .promise-strip {
    padding: 25px 0 29px;
    gap: 13px;
    flex-direction: column;
    align-items: center;
  }
  .promise-strip > span {
    font-size: 10px;
  }
  .promise-strip .icon {
    width: 16px;
    height: 16px;
  }
  .section-pad {
    padding-block: 43px;
  }
  .section-heading {
    display: block;
    margin-bottom: 25px;
  }
  .section-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
    margin-bottom: 13px;
  }
  h2 {
    font-size: 34px;
    letter-spacing: -0.9px;
    line-height: 1.1;
  }
  .section-heading p {
    font-size: 12px;
    line-height: 1.8;
    margin-top: 14px;
    max-width: 300px;
  }
  .section-heading > .text-link {
    margin-top: 17px;
    font-size: 12px;
  }
  .dog-layout {
    gap: 17px;
  }
  .featured-guide {
    grid-template-columns: 1fr;
  }
  .featured-top {
    height: 148px;
    justify-content: start;
    padding: 19px;
  }
  .featured-top .pill {
    margin-top: 0;
  }
  .bone-art {
    inset: 3px 25px 0 auto;
    width: 155px;
    transform: rotate(-24deg);
  }
  .bone-art .icon {
    width: 124px;
    height: 124px;
  }
  .art-spark {
    top: 11px;
    right: -7px;
    font-size: 30px;
  }
  .featured-body {
    padding: 25px;
  }
  .featured-guide h3 {
    font-size: 29px;
  }
  .featured-guide p {
    font-size: 12px;
  }
  .featured-guide .button {
    font-size: 12px;
  }
  .dog-guide-list {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .dog-list-card {
    flex-direction: row;
    align-items: center;
    gap: 13px;
    padding: 16px;
  }
  .dog-list-card h3 {
    font-size: 13px;
  }
  .dog-list-card p {
    font-size: 11px;
  }
  .dog-list-card .mini-art {
    width: 43px;
    height: 43px;
  }
  .dog-list-card > .icon {
    align-self: center;
    margin-left: auto;
    margin-top: 0;
    flex-shrink: 0;
    width: 17px;
    height: 17px;
  }
  .small-note {
    display: block;
    max-width: none;
    font-size: 10px;
    margin-top: 15px;
  }
  .category-grid {
    gap: 12px;
  }
  .category-art {
    height: 104px;
  }
  .category-art .icon {
    width: 47px;
    height: 47px;
  }
  .category-body {
    padding: 15px 13px;
  }
  .category-body h3 {
    font-size: 13px;
    line-height: 1.45;
  }
  .category-body p {
    font-size: 11px;
    line-height: 1.65;
    margin-top: 8px;
  }
  .category-body .text-link {
    font-size: 10px;
    gap: 6px;
    margin-top: 12px;
  }
  .category-body .text-link .icon {
    width: 14px;
    height: 14px;
  }
  .search-field {
    margin-top: 23px;
    max-width: none;
    width: 100%;
    height: 45px;
  }
  .resource-controls {
    display: block;
    padding-bottom: 14px;
  }
  .filter-tabs {
    gap: 3px;
    justify-content: space-between;
  }
  .filter-tab {
    padding: 8px 10px;
    font-size: 10px;
  }
  .topic-filter {
    display: block;
    margin-top: 12px;
  }
  .topic-filter select {
    width: 100%;
    font-size: 11px;
    min-height: 36px;
  }
  .resource-grid {
    gap: 14px;
    grid-template-columns: 1fr;
  }
  .resource-card {
    display: grid;
    grid-template-columns: 95px 1fr;
  }
  .resource-art {
    height: 100%;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
  }
  .resource-art > .icon {
    width: 36px;
    height: 36px;
  }
  .resource-art .pet-label {
    font-size: 8px;
    letter-spacing: 0.7px;
  }
  .resource-art:after {
    right: -53px;
    top: auto;
    bottom: -20px;
  }
  .save-card {
    top: 9px;
    right: 9px;
    width: 28px;
    height: 28px;
  }
  .save-card .icon {
    width: 14px;
    height: 14px;
  }
  .resource-body {
    padding: 17px 16px;
  }
  .resource-body h3 {
    font-size: 19px;
  }
  .resource-body p {
    font-size: 11px;
    margin-top: 8px;
  }
  .resource-meta {
    font-size: 8px;
    letter-spacing: 0.7px;
    margin-bottom: 9px;
  }
  .resource-body .text-link {
    font-size: 11px;
    margin-top: 10px;
  }
  .resource-body .text-link .icon {
    width: 16px;
    height: 16px;
  }
  .result-count {
    font-size: 10px;
  }
  .routine {
    grid-template-columns: 1fr;
    gap: 27px;
    padding-block: 46px;
  }
  .routine-copy h2 {
    font-size: 37px;
  }
  .routine-copy h2 br {
    display: none;
  }
  .routine-copy > p {
    font-size: 13px;
    max-width: none;
    margin-top: 16px;
  }
  .routine-note {
    margin-top: 16px;
    font-size: 10px;
  }
  .routine-card {
    padding: 24px 21px;
  }
  .routine-top h3 {
    font-size: 24px;
  }
  .routine-check {
    font-size: 12px;
    padding-block: 13px;
  }
  .support-banner {
    padding: 24px 21px;
    margin-bottom: 45px;
    gap: 13px;
    align-items: start;
  }
  .support-icon > .icon {
    width: 29px;
    height: 29px;
  }
  .support-banner h2 {
    font-size: 24px;
    line-height: 1.2;
  }
  .support-banner p {
    font-size: 11px;
    margin-top: 11px;
  }
  .support-banner .button {
    margin-left: 42px;
    font-size: 11px;
    min-height: 44px;
    padding: 11px 14px;
  }
  .footer-main {
    gap: 30px 22px;
    padding-bottom: 29px;
    grid-template-columns: 1fr 1fr;
  }
  .footer-main > div:first-child {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .footer-main > div:first-child p {
    margin: 0;
    font-size: 10px;
    max-width: 145px;
  }
  .footer-main .brand {
    font-size: 15px;
  }
  .footer-main .brand-mark .icon {
    width: 34px;
  }
  .footer-main h3 {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .footer-main button,
  .footer-main > div > a:not(.brand) {
    font-size: 11px;
    line-height: 1.7;
    padding-block: 5px;
  }
  .footer-note {
    grid-column: 1/-1;
    display: flex;
    gap: 20px;
    align-items: start;
    border-top: 1px solid #72907955;
    padding-top: 18px;
  }
  .footer-note p {
    margin: 3px 0 0;
    font-size: 10px;
  }
  .footer-note p br {
    display: none;
  }
  .footer-note .pill {
    white-space: nowrap;
    margin-top: 5px;
    font-size: 7px;
    padding: 5px 8px;
  }
  .footer-bottom {
    font-size: 9px;
    flex-direction: column;
    gap: 6px;
    padding-block: 17px;
  }
  .empty-state {
    padding: 28px 20px;
  }
  dialog {
    max-height: 93dvh;
    width: calc(100% - 20px);
    border-radius: 12px;
  }
  .dialog-top {
    padding: 11px 17px;
  }
  #dialog-content {
    padding: 25px 23px 29px;
  }
  #dialog-title {
    font-size: 32px;
  }
  .dialog-intro {
    font-size: 14px;
  }
  .guide-step {
    gap: 12px;
  }
  .guide-step h3 {
    font-size: 16px;
  }
  .guide-step p {
    font-size: 13px;
  }
  .guide-step .step-number {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }
  .help-note {
    font-size: 12px;
    padding: 14px 16px;
  }
  .source-links a {
    font-size: 12px;
  }
  .dialog-actions {
    gap: 9px;
  }
  .dialog-actions .button {
    font-size: 11px;
    gap: 10px;
  }
  .checklist-item {
    font-size: 13px;
  }
  .checklist-item b {
    font-size: 15px;
  }
  .content-paragraph {
    font-size: 13px;
  }
  .toast {
    font-size: 11px;
    bottom: 16px;
    min-width: 220px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
  .button:hover,
  .category-card:hover {
    transform: none;
  }
}

/* WordPress-specific styles */
.wp-block-group {
  margin-bottom: 1rem;
}

.wp-block-image {
  margin-bottom: 1rem;
}

.wp-block-button {
  margin-bottom: 1rem;
}

/* CRITICAL: Reset WordPress default constraints that break layouts */
/* WordPress adds default max-width to containers which breaks original layouts */
.entry-content,
.site-content,
.content-area {
  max-width: none !important;
  width: 100% !important;
}

/* EC-CONTAIN-001: Only override .container / section max-width when the site's
   own CSS does NOT define them. Tailwind and Bootstrap sites intentionally set
   .container { max-width: … } — blasting it with !important breaks every section. */
section,
.section {
  max-width: none !important;
}

.container {
  max-width: none !important;
}

/* EC-ANIM-008 / EC-ANIM-009: Scroll-reveal utilities (.scroll-fade-up etc.) start at opacity:0
   and transition to visible when an IntersectionObserver adds .visible (injected in functions.php).
   Carousels inside scroll-reveal wrappers must be forced visible immediately so Embla can measure. */
.scroll-fade-up:has([aria-roledescription='carousel']),
.scroll-fade-up:has([data-wpconvert-blog-filter-bar]),
.scroll-fade-left:has([aria-roledescription='carousel']),
.scroll-fade-right:has([aria-roledescription='carousel']),
.scroll-scale-in:has([aria-roledescription='carousel']) {
  opacity: 1 !important;
  transform: none !important;
}

/* EC-SCROLL-001: Auto-scroll marquee CSS (always included - lightweight, no-op if no marquee elements) */

/* EC-SCROLL-001: Auto-scroll gallery marquee animation */
/* Replaces React requestAnimationFrame/scrollLeft with pure CSS animation */
.wpconvert-marquee-container {
  overflow: hidden !important;
}
.wpconvert-marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: wpconvert-marquee 30s linear infinite;
}
@keyframes wpconvert-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* Pause on hover for accessibility */
.wpconvert-marquee-container:hover .wpconvert-marquee-track {
  animation-play-state: paused;
}
/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .wpconvert-marquee-track {
    animation: none;
    overflow-x: auto;
  }
}
/* EC-MARQUEE-OVERFLOW-001: Local clip for a SOURCE marquee/ticker wrapper whose
   over-wide track would otherwise add horizontal page scroll. Applied at build
   time to the track's direct parent (see clipMarqueeOverflow). Works on every
   browser and never touches body/sticky-header behavior. */
.wpc-marquee-clip {
  overflow-x: hidden;
  max-width: 100%;
}

/* EC-ANIM-011: Frozen Framer Motion infinite float/pulse animations replaced with CSS keyframes.
   4 float variants with staggered durations and amplitudes, plus a pulse variant. */
@keyframes wpconvert-float-1 {
  0%,
  100% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(8px);
  }
}
@keyframes wpconvert-float-2 {
  0%,
  100% {
    transform: translateY(6px);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes wpconvert-float-3 {
  0%,
  100% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(12px);
  }
}
@keyframes wpconvert-float-4 {
  0%,
  100% {
    transform: translateY(10px);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes wpconvert-pulse {
  0%,
  100% {
    scale: 1;
  }
  50% {
    scale: 1.05;
  }
}
@keyframes wpconvert-float-tilt {
  0%,
  100% {
    transform: translateY(0%) rotate(0deg);
  }
  50% {
    transform: translateY(4%) rotate(-2deg);
  }
}
.wpconvert-float-1 {
  animation: wpconvert-float-1 5s ease-in-out infinite;
}
.wpconvert-float-2 {
  animation: wpconvert-float-2 6s ease-in-out infinite 0.5s;
}
.wpconvert-float-3 {
  animation: wpconvert-float-3 5.5s ease-in-out infinite 1s;
}
.wpconvert-float-4 {
  animation: wpconvert-float-4 6.5s ease-in-out infinite 1.5s;
}
.wpconvert-pulse {
  animation: wpconvert-pulse 4s ease-in-out infinite;
}
.wpconvert-float-tilt {
  animation: wpconvert-float-tilt 6s ease-in-out infinite;
}
/* EC-ANIM-011c: z-0 override for centered pulse cards whose z-10 was demoted */
.wpconvert-pulse.z-0 {
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
  .wpconvert-float-1,
  .wpconvert-float-2,
  .wpconvert-float-3,
  .wpconvert-float-4,
  .wpconvert-pulse,
  .wpconvert-float-tilt {
    animation: none;
  }
}

/* WPConvert Tabs Component CSS */

/* WPConvert Tabs Component */
.wpconvert-tabs {
  max-width: 64rem;
  margin: 0 auto;
}

.wpconvert-tab-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .wpconvert-tab-nav {
    grid-template-columns: repeat(6, 1fr);
  }
}

.wpconvert-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpconvert-tab-btn:hover {
  border-color: hsl(var(--primary) / 0.5);
  color: hsl(var(--foreground));
}

.wpconvert-tab-btn.active {
  background: hsl(var(--primary) / 0.1);
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

.wpconvert-tab-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.5rem;
}

.wpconvert-tab-icon svg {
  width: 100%;
  height: 100%;
}

.wpconvert-tab-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.wpconvert-tab-viewport {
  position: relative;
  display: flex;
  align-items: center;
}

.wpconvert-tab-content {
  flex: 1;
  position: relative;
}

.wpconvert-tab-panel {
  display: none;
  padding: 2rem;
  border-radius: 0.75rem;
  background: linear-gradient(
    135deg,
    hsl(var(--card)) 0%,
    hsl(var(--muted) / 0.3) 100%
  );
  border: 1px solid hsl(var(--border));
  text-align: center;
  animation: wpconvert-tab-fade-in 0.3s ease;
}

.wpconvert-tab-panel.active {
  display: block;
}

@keyframes wpconvert-tab-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wpconvert-tab-icon-large {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 2rem;
  padding: 1rem;
  border-radius: 1rem;
  background: hsl(var(--primary) / 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wpconvert-tab-icon-large svg {
  width: 100%;
  height: 100%;
  color: hsl(var(--primary));
}

.wpconvert-tab-title {
  font-family: var(--font-display, inherit);
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-title {
    font-size: 1.875rem;
  }
}

.wpconvert-tab-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.wpconvert-tab-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.wpconvert-tab-arrow:hover {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary));
}

.wpconvert-tab-prev {
  left: -1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-prev {
    left: -1.5rem;
  }
}

.wpconvert-tab-next {
  right: -1rem;
}

@media (min-width: 640px) {
  .wpconvert-tab-next {
    right: -1.5rem;
  }
}

.wpconvert-tab-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.wpconvert-tab-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: hsl(var(--muted-foreground) / 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpconvert-tab-dot:hover {
  background: hsl(var(--muted-foreground) / 0.5);
}

.wpconvert-tab-dot.active {
  background: hsl(var(--primary));
  width: 2rem;
  border-radius: 0.375rem;
}

/* EC-MSTEP-001: Multi-step form wizard CSS */

/* EC-MSTEP-001: Multi-step form wizard */
.wpconvert-multistep-form {
  width: 100%;
}
.wpconvert-step-panel {
  display: none;
}
.wpconvert-step-panel.active {
  display: block;
  animation: wpconvert-step-fade-in 0.25s ease;
}
@keyframes wpconvert-step-fade-in {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.wpconvert-step-progress-fill {
  transition: width 0.4s ease-out;
}
/* Signature canvas */
canvas[data-wpc-sig-init] {
  width: 100%;
  min-height: 150px;
  border: 2px solid var(--border, #e5e7eb);
  border-radius: 1rem;
  background: #fff;
  cursor: crosshair;
  touch-action: none;
}

/* EC-CALC-001: Interactive calculator CSS */

/* EC-CALC-001: Interactive calculator */
[data-wpc-calc] input[type='range'] {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
[data-wpc-calc] input[type='range']:focus {
  outline: none;
}
[data-wpc-calc] [data-wpc-calc-toggle].wpc-calc-toggle-active {
  opacity: 1;
}
[data-wpc-calc] [data-wpc-calc-toggle]:not(.wpc-calc-toggle-active) {
  opacity: 0.6;
}

/* CRITICAL FIX: Ensure gradient overlays respect their default hidden state */
/* NOTE: The main fix is in cleanHtmlContent() which corrects captured hover states */
/* These CSS rules are a FALLBACK to ensure overlays stay hidden if any slip through */

/* Keep gradient overlays hidden - they're decorative hover effects */
.group [class*='absolute'][class*='inset-0'][class*='bg-gradient'].opacity-0 {
  opacity: 0 !important;
}

/* Keep bottom accent bars hidden by default */
.group [class*='absolute'][class*='bottom-0'][class*='bg-gradient'].scale-x-0 {
  transform: scaleX(0) !important;
}

/* Reset WordPress default margins that break spacing */
.entry-content > *:first-child,
.site-content > *:first-child {
  margin-top: 0 !important;
}

/* EC-DARK-001: In dark-themed sites (html.dark), containers with explicit bg-white
   backgrounds need dark text. The .dark scope sets --foreground to a light color,
   making text invisible on white cards. Reset to :root-scope (light) variable values. */
.dark .bg-white,
.dark [class*='bg-white'] {
  --foreground: 222.2 84% 4.9%;
  --muted-foreground: 215.4 16.3% 46.9%;
  color: hsl(222.2 84% 4.9%);
}
.dark .bg-white .text-foreground,
.dark [class*='bg-white'] .text-foreground,
.dark .bg-white [class*='text-foreground'],
.dark [class*='bg-white'] [class*='text-foreground'] {
  color: hsl(222.2 84% 4.9%);
}

/* Navigation Menu Styling - Universal for all dropdown patterns */
/* Reset ALL menu items */
.menu-item,
li.menu-item,
li.menu-item-type-post_type,
li.menu-item-type-custom,
li.menu-item-object-page,
li.menu-item-has-children {
  position: relative;
  list-style: none !important;
  margin: 0;
}

/* EC-NAV-MOBILE-010: The force-horizontal / force-inline-block rules below are DESKTOP-ONLY.
   They exist to coerce WordPress-generated <ul class="menu"><li> markup into a horizontal bar.
   Previously they were unconditional with id-specificity + !important, which overrode the source
   theme's mobile-first hide (e.g. a .nav-primary .menu display:none revealed via a hamburger).
   On classic mobile-first themes that leaked the desktop nav onto every mobile page (often as a
   full-screen overlay, since the source .menu base is position:fixed;inset:0). Scoping to a
   min-width media query keeps desktop horizontal while letting the source's mobile nav / our
   injected #wpconvert-mobile-nav drawer own small screens.
   EC-NAV-483: and the width where small screens end is the source's to choose — see
   source-nav-breakpoint.js. 768px is the default, raised when the source's own CSS hides
   the primary list above it. */
@media (min-width: 768px) {
  /* CRITICAL: Top-level menu MUST be horizontal - Maximum specificity */
  /* NOTE: nav ul#wpconvert-primary-ul is NOT included here to avoid conflicting with .main-nav styling */
  /* EC-NAV-095: Do NOT set gap here. A fixed gap with !important (previously 0.25rem, briefly 2rem) overrides
   menus.json ulClasses / Tailwind (e.g. gap-8) and breaks diverse nav densities. Spacing comes from ulClasses.
   EC-NAV-502: a panel carried from the source keeps its own list classes and layout. */
  header ul#wpconvert-primary-ul,
  #wpconvert-primary-ul,
  #wpconvert-primary-ul.menu,
  ul#wpconvert-primary-ul.menu,
  ul.menu:not(.submenu):not(.sub-menu):not([data-wpc-external-nav-panel] ul) {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  /* CRITICAL: Preserve original .main-nav styling for static sites - MUST come AFTER generic rules */
  /* MAXIMUM specificity with header prefix ensures this overrides ALL other rules */
  header nav.main-nav ul#wpconvert-primary-ul,
  header .main-nav ul#wpconvert-primary-ul,
  nav.main-nav ul#wpconvert-primary-ul,
  .main-nav #wpconvert-primary-ul,
  .main-nav ul#wpconvert-primary-ul {
    /* Inherit the original .main-nav ul styles */
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }

  /* EC-NAV-364: …but an auto margin on the menu <ul> IS the navbar's horizontal
   layout, not a stray UA default. Bootstrap's .navbar-nav.ml-auto (and the
   Tailwind / BS5 spellings) is what pushes the menu away from the brand over to
   the right edge; the ID-scoped "margin: 0 !important" resets above outrank the
   utility's own !important and collapse the whole bar to the left (Butterfly
   Cancer Care Foundation). Re-asserted here — last, and with a 3-element variant
   that ties the highest-specificity reset ("header nav.main-nav ul#…") so it wins
   on both counts. Additive: these selectors match ONLY a <ul> that literally
   carries the utility, so every other menu keeps today's layout byte-for-byte. */
  header nav ul#wpconvert-primary-ul.ml-auto,
  header ul#wpconvert-primary-ul.ml-auto,
  ul#wpconvert-primary-ul.ml-auto,
  #wpconvert-primary-ul.ml-auto,
  header nav ul#wpconvert-primary-ul.ms-auto,
  header ul#wpconvert-primary-ul.ms-auto,
  ul#wpconvert-primary-ul.ms-auto,
  #wpconvert-primary-ul.ms-auto {
    margin-left: auto !important;
  }
  header nav ul#wpconvert-primary-ul.mr-auto,
  header ul#wpconvert-primary-ul.mr-auto,
  ul#wpconvert-primary-ul.mr-auto,
  #wpconvert-primary-ul.mr-auto,
  header nav ul#wpconvert-primary-ul.me-auto,
  header ul#wpconvert-primary-ul.me-auto,
  ul#wpconvert-primary-ul.me-auto,
  #wpconvert-primary-ul.me-auto {
    margin-right: auto !important;
  }
  header nav ul#wpconvert-primary-ul.mx-auto,
  header ul#wpconvert-primary-ul.mx-auto,
  ul#wpconvert-primary-ul.mx-auto,
  #wpconvert-primary-ul.mx-auto,
  header nav ul#wpconvert-primary-ul.m-auto,
  header ul#wpconvert-primary-ul.m-auto,
  ul#wpconvert-primary-ul.m-auto,
  #wpconvert-primary-ul.m-auto {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* CRITICAL: Top-level items MUST be inline - Maximum specificity for ALL WordPress classes */
  /* NOTE: nav ul#wpconvert-primary-ul > li is NOT included to avoid conflicting with .main-nav */
  header ul#wpconvert-primary-ul > li,
  #wpconvert-primary-ul > li,
  #wpconvert-primary-ul > li.menu-item,
  #wpconvert-primary-ul > li.menu-item-type-post_type,
  #wpconvert-primary-ul > li.menu-item-type-custom,
  #wpconvert-primary-ul > li.menu-item-object-page,
  #wpconvert-primary-ul > li.menu-item-object-custom,
  #wpconvert-primary-ul > li.menu-item-has-children,
  #wpconvert-primary-ul > li.current-menu-item,
  #wpconvert-primary-ul > li.current_page_item,
  #wpconvert-primary-ul > li.current-menu-ancestor,
  #wpconvert-primary-ul.menu > li,
  ul.menu:not(.submenu):not(.sub-menu):not([data-wpc-external-nav-panel] ul)
    > li,
  body #wpconvert-primary-ul > li {
    display: inline-block !important;
    position: relative !important;
    flex-shrink: 0 !important;
    list-style: none !important;
    /* EC-NAV-295: Do NOT force the top-level item margin to zero here. This rule is
     ID-scoped (+ !important) and previously clobbered a source theme's inter-item spacing
     (e.g. .main-menu__list > li + li margin-left:37px), collapsing classic HTML
     navbars into a jammed-together row. Item spacing must come from the source theme
     (li margins) or from ulClasses on the ul (Tailwind gap-*). The gentle
     low-specificity .menu-item margin:0 default above still neutralises stray
     browser/WP margins for sites that ship none, and any source li spacing wins. */
    vertical-align: middle !important;
    float: none !important;
    width: auto !important;
    clear: none !important;
  }
}
/* End EC-NAV-MOBILE-010 desktop-only nav layout */

/* Preserve original .main-nav link styling (color/weight is width-independent) */
header nav.main-nav ul#wpconvert-primary-ul a,
header .main-nav ul#wpconvert-primary-ul a,
nav.main-nav ul#wpconvert-primary-ul a,
.main-nav #wpconvert-primary-ul a,
.main-nav ul#wpconvert-primary-ul a {
  text-decoration: none;
  font-weight: 500;
}

/* Top-level links maintain their button appearance */
#wpconvert-primary-ul > .menu-item > a {
  /* Keep original classes for styling */
}

/* Hide submenus by default with high z-index - CRITICAL for all sites */
/* EC-NAV-220: Layout & visibility properties stay !important so the
   hover-to-show behaviour overrides Tailwind's display:none / opacity:0
   defaults on sites without their own dropdown CSS. */
.menu-item.menu-item-has-children > .submenu,
.menu-item.menu-item-has-children > .sub-menu,
.menu-item-has-children > ul,
li.menu-item-has-children > ul {
  display: none !important; /* Important to override inline-flex and other display classes */
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  z-index: 9999 !important; /* Higher than content */
  list-style: none !important;
  margin: 0 !important;
}
/* EC-NAV-220: Visual surface properties (background / border / shadow /
   padding / sizing) are emitted via :where(...) so the selector collapses
   to specificity (0,0,0). Any captured custom-submenu CSS rule with
   non-zero specificity (e.g. aura-lace .dropdown-menu with background
   var(--emerald)) automatically wins via the cascade so the author's
   luxury / dark-themed dropdown panel renders correctly.
   For sites WITHOUT captured dropdown CSS, these white-card defaults
   still apply because nothing else competes. */
:where(.menu-item.menu-item-has-children) > :where(.submenu),
:where(.menu-item.menu-item-has-children) > :where(.sub-menu),
:where(.menu-item-has-children) > :where(ul),
:where(li.menu-item-has-children) > :where(ul) {
  background: white;
  min-width: 200px;
  max-width: 500px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
}

/* Show on hover/focus - Maximum specificity to override everything */
.menu-item.menu-item-has-children:hover > .submenu,
.menu-item.menu-item-has-children:hover > .sub-menu,
.menu-item.menu-item-has-children:hover > ul,
.menu-item.menu-item-has-children:focus-within > .submenu,
.menu-item.menu-item-has-children:focus-within > .sub-menu,
.menu-item.menu-item-has-children:focus-within > ul,
li.menu-item-has-children:hover > ul,
li.menu-item-has-children:focus-within > ul {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Force submenu items to display as block - Override ALL WordPress and utility classes */
.submenu li,
.submenu .menu-item,
.submenu .menu-item-type-post_type,
.submenu .menu-item-type-custom,
.submenu .menu-item-object-page,
.submenu .menu-item-object-custom,
.submenu .current-menu-item,
.submenu .current_page_item,
ul.sub-menu li,
ul.sub-menu .menu-item,
body .submenu li {
  display: block !important;
  width: 100% !important;
  position: relative !important;
  flex-direction: column !important;
  list-style: none !important;
  float: none !important;
  clear: both !important;
}

.submenu .menu-item a,
.submenu a,
ul.sub-menu a {
  display: block !important;
  width: 100% !important;
  padding: 0.5rem 1rem !important;
  white-space: nowrap !important;
  text-align: left !important;
}

/* Override ANY utility classes that could break submenu layout */
.submenu .menu-item.inline-flex,
.submenu .menu-item.flex,
.submenu .menu-item.grid,
.submenu li.inline-flex,
.submenu li.flex,
.submenu li.grid,
.submenu .inline-flex,
.submenu .flex,
.submenu .grid {
  display: block !important;
  flex-direction: column !important;
}

.submenu .menu-item a.inline-flex,
.submenu .menu-item a.flex,
.submenu .menu-item a.grid,
.submenu a.inline-flex,
.submenu a.flex,
.submenu a.grid {
  display: block !important;
}

/* Ensure submenu container is vertical */
.submenu,
ul.sub-menu {
  flex-direction: column !important;
}

/* EC-NAV-493: display:block !important used to ride along on the rule above, to
   beat an inline-flex utility class on the panel. On a wp_nav_menu() menu it
   decided nothing - the hide/show pair on .menu-item-has-children outranks it
   either way. On a captured hand-authored nav there is no .menu-item-has-children
   for those rules to match, so the blanket declaration was the only one left
   standing, and it beat the site's own unprefixed .submenu { display: none }:
   every CSS-hover dropdown shipped permanently open (Unitive Mind). The display
   is therefore scoped to the shapes WordPress itself generates, where visibility
   is already governed and nothing moves.

   The scope is .menu-item rather than the panel's own class because the class
   name says nothing about who wrote it - a hand-authored nav is free to call
   its panel sub-menu too, and scoping only .submenu would leave that site with
   the same permanently-open dropdown. Both walkers stamp .menu-item on every
   item they emit, and a captured nav carries it nowhere.

   Descendant, not child: EC-NAV-428 wraps the panel in a positioning div when
   the source revealed it through one, which puts a generation between the item
   and the panel. A child combinator reads as correctly scoped and would
   silently stop reaching that shape.
   NOTE: no backticks in this comment - it lives inside a JS template literal. */
.menu-item .submenu,
.menu-item .sub-menu {
  display: block !important;
}

/* FLAT NAV ACTIVE STATE - For React/Vite sites converted to wp_nav_menu() */
/* EC-NAV-010: Dynamic current page highlighting */
/* The .wpconvert-active-link class is added by WPConvert_Flat_Menu_Walker to current page links */
.wpconvert-active-link {
  /* Default active styling - will be enhanced by extracted classes if available */
  font-weight: 600;
}

/* EC-NAV-010: When active link has text-primary class, override any text-foreground from base */
/* This ensures the active item shows the highlighted color (text-primary = green/brand color) */
a.wpconvert-active-link.text-primary,
.current-menu-item > a.text-primary,
.current_page_item > a.text-primary {
  color: hsl(var(--primary)) !important;
}

/* EC-NAV-010: Ensure inactive items don't get active color */
/* Links WITHOUT wpconvert-active-link should use text-foreground */
nav a.text-foreground:not(.wpconvert-active-link):not(.text-primary) {
  color: hsl(var(--foreground)) !important;
}

/* Also style current-menu-item for flat navs */
.current-menu-item > a,
.current_page_item > a,
a.current-menu-item,
a.wpconvert-active-link {
  /* The actual active styling comes from extracted activeLinkClasses */
  /* These are fallback styles if extraction doesn't provide specific classes */
}

/* Flat nav submenu styling */
.wpconvert-flat-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.375rem;
  padding: 0.5rem 0;
  display: none;
  z-index: 9999;
}

.wpconvert-flat-submenu a {
  display: block;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

/* EC-NAV-140: Large flat dropdowns flow into two columns (mega-style) without extra walker markup */
.wpconvert-flat-submenu--mega-cols-2 {
  min-width: min(640px, 92vw);
  column-count: 2;
  column-gap: 2.5rem;
  padding: 0.75rem 1.25rem !important;
}
.wpconvert-flat-submenu--mega-cols-2 > a {
  white-space: normal !important;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
/* Show flat submenu when parent <li> hovers (wp_nav_menu wraps items in li.menu-item-has-children) */
li.menu-item-has-children:hover > .wpconvert-flat-submenu,
li.menu-item-has-children:focus-within > .wpconvert-flat-submenu {
  display: block !important;
}

/* Hide Radix UI viewport containers and similar dropdown containers - Universal */
[data-radix-navigation-menu-viewport],
[class*='viewport'][data-state='open'],
[class*='popover'][data-state='open'],
.radix-navigation-menu-viewport,
nav > div[class*='absolute'][class*='top-full'] {
  display: none !important;
  visibility: hidden !important;
}

/* EC-DIALOG-001: Hide Radix Sheet/Dialog overlays and panels that survive into converted themes */
/* These are interactive React components captured in open state during snapshot */
/* EC-GALLERY-002d: [data-wpc-live-dialog] opts out — a dialog WPConvert injects on purpose
   (e.g. the gallery lightbox) is not snapshot debris, and these !important rules would
   otherwise beat even its inline styles and leave it permanently invisible. */
[role='dialog'][class*='fixed']:not([data-wpc-live-dialog]),
[data-radix-dialog-content][class*='fixed']:not([data-wpc-live-dialog]),
div[data-state='open'][class*='fixed'][class*='inset-0'][class*='bg-black']:not(
    [data-wpc-live-dialog]
  ),
div[data-state='open'][class*='fixed'][class*='inset-0'][class*='backdrop']:not(
    [data-wpc-live-dialog]
  ) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .menu-item.menu-item-has-children > .submenu {
    position: static;
    box-shadow: none;
  }
}

/* CRITICAL: Ensure header and navigation are above hero/content sections */
/* Only apply relative positioning if nav is NOT sticky/fixed/absolute */
/* Exclude #wpconvert-mobile-nav — it must stay position:fixed as an overlay */
/* EC-NAV-190: Also exclude position:absolute overlay headers (Tailwind
   "absolute" utility class) — common in hero-overlay navbars (e.g.
   svg-to-site-magic-main: <header class="absolute inset-x-0 top-6 z-30 ...">).
   Without this exclusion, the !important rule below forces the absolute
   overlay header into normal flow, taking up its full height and pushing
   the hero section down by ~80px (visible as a white band above the navbar). */
/* EC-NAV-429: the class guards above only see a utility class ON the element.
   A header the source lifts out of flow from an ancestor rule — Scorpion uses
   ".overlap #HeaderZone { position: absolute }" with no class on the header at
   all — passed every guard and was forced back into flow, dropping a
   deliberately transparent header onto the page background where its light link
   text became invisible. Such ids are detected from the source CSS. */
header:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']),
.site-header:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
nav:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']):not(
    #wpconvert-mobile-nav
  ),
[role='banner']:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
[role='navigation']:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ):not(#wpconvert-mobile-nav) {
  position: relative !important;
  z-index: 1000 !important;
}

/* EC-NAV-361: the rule above uses BARE TAG selectors, but <header> and <nav> are
   also valid SECTIONING content — a hero banner, an article header, a breadcrumb
   trail. Those live inside <main class="site-main">, and inflating them to
   z-index:1000 puts PAGE CONTENT on a layer above almost everything, where it
   beats any overlay the source site authored (Jegson Publicity: the enquiry modal
   is z-index:100, so the 78vh hero <header> painted straight over the open popup).
   Site chrome is always emitted OUTSIDE <main>, so scoping the repair to
   descendants of the content wrapper can never reach the real navbar.
   Only z-index is reset — position is left alone so the EC-NAV-190 absolute-overlay
   and EC-NAV-352 CSS-authored-fixed-nav behaviours are untouched. "auto" is what an
   un-styled hero has, and it is the value that restores the source ordering: the
   base rule already beats a Tailwind z-* utility (it is !important), so exempting
   those would merely leave them inflated to 1000 — the very bug being fixed. */
main.site-main
  header:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']),
main.site-main
  nav:not([class*='sticky']):not([class*='fixed']):not([class*='absolute']):not(
    #wpconvert-mobile-nav
  ),
main.site-main
  [role='banner']:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ) {
  z-index: auto !important;
}

/* Preserve sticky/fixed positioning for navs that have it */
/* CRITICAL: Ensure sticky/fixed actually works - add explicit CSS for common patterns */
nav[class*='sticky'],
nav[class*='fixed'],
header nav[class*='sticky'],
header nav[class*='fixed'],
header[class*='sticky'],
header[class*='fixed'],
.site-header[class*='sticky'],
.site-header[class*='fixed'] {
  z-index: 1000 !important; /* Keep z-index for visibility */
}

/* Explicit sticky positioning support - ensures it works even without Tailwind CSS loaded */
/* Only apply if sticky class is present and no explicit position override */
/* EC-NAV-296: Exclude the classic-theme sticky-header class family
   (.sticky-header / .sticky-header--normal / .sticky-header--cloned). Those are SEMANTIC
   class names from HTML themes (e.g. Visanet / Smart Travel International) that ship their
   OWN sticky-on-scroll mechanism: JS clones .main-header into a .sticky-header--cloned
   element whose source CSS keeps it position:fixed + visibility:hidden + translateY(-100%)
   (out of flow, hidden) until .active is added on scroll. The broad [class*=sticky]
   substring match also caught that clone and forced position:sticky !important, which —
   because sticky stays IN FLOW — made the invisible clone occupy ~114px of vertical space
   (white gap between navbar and hero, issue #1) and surface as a duplicate header band
   (issue #2). The exclusion is substring-scoped to sticky-header, so Tailwind's sticky
   utility (nav.sticky / header.sticky) and responsive variants like lg:sticky are
   UNAFFECTED — they never contain the sticky-header token. */
/* EC-NAV-363: same source-neutralisation exemption as the fixed block below. */
nav.sticky,
nav[class*='sticky']:not([style*='position']):not([class*='sticky-header']),
header nav.sticky,
header
  nav[class*='sticky']:not([style*='position']):not([class*='sticky-header']),
header.sticky,
header[class*='sticky']:not([style*='position']):not([class*='sticky-header']) {
  position: sticky !important;
}

/* EC-NAV-322: Inner <nav> must not be sticky when the header wrapper is already
   fixed/sticky — double-positioning clips menu text in pre-scroll (Kai.dev:
   fixed header + converter-injected nav.sticky.top-0). */
header.fixed nav.sticky,
header.fixed nav[class*='sticky']:not([class*='sticky-header']),
header[class*='fixed'] nav.sticky,
header[class*='fixed']
  nav[class*='sticky']:not([style*='position']):not([class*='sticky-header']),
header.sticky nav.sticky,
header[class*='sticky']
  nav[class*='sticky']:not([style*='position']):not([class*='sticky-header']) {
  position: static !important;
  top: auto !important;
}

/* Explicit fixed positioning support - ensures it works even without Tailwind CSS loaded */
/* EC-NAV-296: same sticky-header clone exclusion (a .sticky-header--cloned does not carry
   a fixed token, but keep the guard symmetric in case a theme names a clone with both). */
/* EC-NAV-363: the substring selectors additionally exempt any framework position
   class the SOURCE cascade already neutralises (Bootstrap .fixed-top redeclared
   in-flow by a later .navbar{position:relative}). The exact-token `nav.fixed`
   (Tailwind) selectors are never guarded — they have no such override. */
nav.fixed,
nav[class*='fixed']:not([style*='position']):not([class*='sticky-header']),
header nav.fixed,
header
  nav[class*='fixed']:not([style*='position']):not([class*='sticky-header']),
header.fixed,
header[class*='fixed']:not([style*='position']):not([class*='sticky-header']) {
  position: fixed !important;
}

/* Common Tailwind patterns: sticky top-0, fixed top-0 */
nav[class*='sticky'][class*='top-0'],
nav[class*='fixed'][class*='top-0'],
header nav[class*='sticky'][class*='top-0'],
header nav[class*='fixed'][class*='top-0'],
header[class*='sticky'][class*='top-0'],
header[class*='fixed'][class*='top-0'] {
  top: 0 !important;
}

/* Fixed navs typically need full width */
nav[class*='fixed'][class*='w-full'],
nav[class*='fixed'][class*='top-0'],
header nav[class*='fixed'][class*='w-full'],
header nav[class*='fixed'][class*='top-0'],
header[class*='fixed'][class*='w-full'],
header[class*='fixed'][class*='top-0'] {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

/* Ensure hero and main content respect header z-index */
section[class*='hero'],
.hero,
main,
.site-main {
  position: relative;
  z-index: 1;
}

/* Theme-specific overrides */
/* Only apply relative if not sticky/fixed */
.site-header:not([class*='sticky']):not([class*='fixed']) {
  position: relative;
}

.site-main {
  margin-top: 0;
  padding-top: 0;
  min-height: 60vh;
}

/* Remove gap between fixed navbar and first content (white band under header).
 * Use :first-of-type (not :first-child): WP templates often have a whitespace text node
 * between <div id="primary"> and <section>, so section is never :first-child and rules
 * would silently fail (EC-NAV-086 follow-up).
 *
 * EC-NAV-276: INNER-page templates wrap content one level deeper —
 *   .site-main > div.page-SLUG > div.page-content > HERO
 * and the hero is frequently authored as a div (e.g. div.hero), not a section.
 * Static sites (e.g. WECConnect) set the original nav position:fixed and give
 * each subpage hero margin-top:NAVHEIGHT to clear it; once the universal reset
 * forces the class-only nav in-flow (sticky/relative), that top margin becomes a
 * visible white band under the bar. Zero the first child inside .page-content
 * (section OR div) so inner pages match the front page (whose hero is already
 * covered by the rules above). Scoped to .page-content, which only WPConvert
 * page templates emit — SPA inner pages never carry it.
 *
 * EC-NAV-442: suppressed when the site's own stylesheet holds the bar OUT of
 * flow — the margin is then the author's clearance, not a redundant gap. */

.site-main > section:first-of-type,
.site-main > div:first-of-type > section:first-of-type,
.site-main .page-content > section:first-of-type,
.site-main .page-content > div:first-of-type,
.site-main .page-content > :first-child > :first-child {
  margin-top: 0;
}

/* EC-NAV-086: Fixed nav + full-viewport hero (Tailwind min-h-screen) — React/Vite SPAs
 * stack the hero at document top with fixed nav overlaid; body/main background shows through
 * any empty band under the bar. Pull the first min-h-screen hero up by the header bar height
 * (--wpconvert-header-bar-height from header.php EC-NAV-100; fallback 4rem) so background layers
 * align with the original SPA.
 * Only on front-page template (body.front-page); skip sections with explicit pt-* / mt-* utilities.
 * :first-of-type required: newline/whitespace between #primary and hero <section> breaks :first-child. */
body.front-page
  .site-main
  #primary
  > section.min-h-screen:first-of-type:not([class*='pt-']):not([class*='mt-']),
body.front-page
  .site-main
  #primary
  > div:first-of-type
  > section.min-h-screen:first-of-type:not([class*='pt-']):not([class*='mt-']),
body.front-page
  .site-main
  > div:first-of-type
  > section.min-h-screen:first-of-type:not([class*='pt-']):not([class*='mt-']) {
  /* Logged out: --wp-admin--admin-bar--height is unset → 0px. Logged in: WP sets 32px / 46px (782px). */
  margin-top: calc(
    -1 * var(--wpconvert-header-bar-height, 4rem) -
      var(--wp-admin--admin-bar--height, 0px)
  );
}

/* EC-NAV-089: Admin bar is fixed at top:0; in-flow content gets html { margin-top } but fixed nav does not,
 * so the site navbar sits under #wpadminbar. Offset primary fixed nav; exclude full-screen mobile drawer.
 * EC-NAV-323: Also offset header.fixed — React/Vite SPAs (Kai.dev) use <header class="fixed top-0">,
 * not bare nav.fixed, so the round-1 EC-NAV-089 selectors never matched. */
body.admin-bar nav.fixed.top-0:not(#wpconvert-mobile-nav),
body.admin-bar nav.fixed[class*='top-0']:not(#wpconvert-mobile-nav),
body.admin-bar header.fixed.top-0,
body.admin-bar header.fixed[class*='top-0'] {
  top: var(--wp-admin--admin-bar--height, 32px) !important;
}

/* EC-NAV-087: Merged / blog / legacy CSS often sets body { padding-top: 5rem+ } as “clearance”
 * for fixed headers. With a fixed overlay nav, that padding does NOT move the bar — it only
 * pushes <main> down while body background shows through → white/cream band (~nav height) under
 * the bar. Stay Boost ships this in bundled style.css; EC-NAV-086 margin alone cannot cancel it. */
body.front-page {
  padding-top: 0 !important;
}

/* EC-HERO-014: Full-viewport hero fidelity — SPA wrapper path + min-height guard */
body.front-page #primary section#top.min-h-screen,
body.front-page
  #primary
  > div:first-of-type
  > section.min-h-screen:first-of-type {
  min-height: 100vh !important;
  min-height: 100dvh !important;
}
body.front-page #primary section#top.min-h-screen > .absolute.bottom-10 {
  z-index: 10;
}

.site-footer {
  margin-top: auto;
}

/* EC-TW4-001: WordPress default style overrides */

body.wp-admin {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
}
/* EC-CSS-001: Long-hand padding-left/right (NOT shorthand 'padding: 0 20px') so
 * compound selectors like .container.hero-grid (which sets padding-top: 74px)
 * keep their vertical padding. The shorthand resets ALL four sides at the same
 * specificity, which on Dabster Labs caused the hero badge to slide under the
 * fixed 74px nav. Horizontal gutter (20px each side) unchanged; vertical
 * defaults to the browser's 0 — same effective behavior for sites that do not
 * set padding-top via another selector. */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
/* EC-CSS-009: :where() = 0 specificity, same reasoning as EC-BTN-104 above. A
   bare "h1, h2, h3, h4, h5, h6" list ties a site's own "h1, h2, h3 { font-weight:
   400 }" on specificity (0,0,1) and, being emitted after the merged site CSS,
   wins — so a display face meant to render at 400 shipped bold everywhere. These
   declarations still beat the UA stylesheet, because author origin outranks
   user-agent origin regardless of specificity. */
:where(h1, h2, h3, h4, h5, h6) {
  font-weight: 700;
  margin: 0;
}
:where(button, .btn) {
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
/* EC-BTN-107: Disclosure/accordion toggle buttons (aria-expanded) must not be
   text-selectable. Otherwise a double-click or click-drag on a FAQ question
   label paints the browser's default blue text-selection highlight, which the
   user sees as a stray "bluish background" that appears on one click and clears
   on the next. Native <button>s are non-selectable and the source React FAQ is
   too. Scoped to button[aria-expanded] so ordinary buttons and selectable
   content elsewhere are untouched. */
button[aria-expanded] {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input,
textarea,
select {
  font-family: inherit;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}

/* Grid Layout & Sidebar Preservation - Ensures Bootstrap and other grid systems work properly */
.grid-layout-container {
  width: 100%;
  max-width: 100%;
}

/* Preserve Bootstrap row structure */
.grid-layout-container .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

/* Ensure Bootstrap columns work */
.grid-layout-container [class*='col-'] {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}

/* Bootstrap column widths - responsive */
@media (min-width: 768px) {
  .grid-layout-container .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .grid-layout-container .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  .grid-layout-container .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .grid-layout-container .col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  .grid-layout-container .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .grid-layout-container .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Mobile stacking for sidebars */
@media (max-width: 767px) {
  .grid-layout-container [class*='col-'] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Sidebar styling */
.grid-layout-container aside,
.grid-layout-container [class*='sidebar'] {
  padding: 20px;
}

/* CRITICAL: Disable popups marked by WPConvert - Universal for ALL popup libraries */
/* This targets ONLY popups we've marked, regardless of the library used */
/* Users can re-enable by overriding this CSS in Customizer → Additional CSS */
[data-wpconvert-popup-disabled='true'] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
  position: absolute !important;
  left: -99999px !important;
  transform: scale(0) !important;
}

/* Also hide child elements of disabled popups (for nested structures) */
[data-wpconvert-popup-disabled='true'] * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Disable popup overlay backgrounds (universal) */
[data-wpconvert-popup-disabled='true'].overlay,
[data-wpconvert-popup-disabled='true'][class*='overlay'],
[data-wpconvert-popup-disabled='true'][class*='backdrop'],
[data-wpconvert-popup-disabled='true'][class*='bg'] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* EC-FORM-004: Native <select> option list styling.
 *
 * Why: EC-FORMS-004 / EC-MSTEP-001C converts Radix shadcn comboboxes to
 * native <select> elements so the form submits as a real HTML form. Native
 * select-popups inherit the trigger element background, so on shadcn forms
 * with translucent inputs (e.g. bg-white slash 10), the option list paints
 * as a translucent panel that bleeds the parent form background and makes
 * options nearly unreadable.
 *
 * The rule below paints each option on a solid surface using the same
 * shadcn --card design tokens the rest of the theme already uses, so
 * dropdowns visually match the original SelectContent / bg-popover render.
 *
 * Safety:
 *   - Scoped strictly to select option / select optgroup — never leaks
 *     to custom popover divs.
 *   - hsl(var(--card, ...)) with fallbacks degrades cleanly on themes
 *     that do not define the variable.
 *   - Safari ignores option styling entirely (no DOM hook into the native
 *     popup) so this is a no-op there. Chrome/Edge/Firefox/Brave honour it.
 */
/* EC-FORM-004 / EC-FORM-004b: solid option surfaces — card tokens by default,
   popover tokens on dark booking sections (bg-secondary / needs-wiring forms). */
select option,
select optgroup,
.bg-secondary select option,
.bg-secondary select optgroup,
form[data-wpconvert-form] select option,
form[data-wpconvert-form] select optgroup {
  background-color: hsl(var(--popover, var(--card, 0 0% 100%)));
  color: hsl(var(--popover-foreground, var(--card-foreground, 222.2 84% 4.9%)));
}

/* CRITICAL: Tailwind Font Override - ensure custom fonts take precedence over Tailwind CDN */
/* Tailwind CDN generates CSS dynamically that can override static CSS, so we use !important */
/* No custom font classes detected */

/* EC-NAV-478: the source positions this header with `.site-header { position: sticky }`.
   The base reset only skips headers that advertise positioning as a class token, and the
   EC-NAV-352 / EC-NAV-162b overrides cover <nav> and header/.site-header by name — not this
   element. Without this rule the bar drops into flow, the hero is pushed below it, and a
   transparent bar's light ink lands on the page background. */
header.site-header:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ) {
  position: sticky !important;
}

/* EC-NAV-162b: Site CSS sets position:sticky on header — override WPConvert base relative reset.
   Non-Tailwind sites define fixed positioning in their stylesheet, not as a utility class.
   EC-NAV-197: selector includes :not([class*='absolute']) so specificity (0,4,0) ties the
   EC-NAV-190 safety-net; source-order then makes this override win the !important cascade.
   EC-NAV-433: the selector mirrors the source rule's own qualification — <header> is also
   sectioning content, and a bare tag here force-fixes every content header on the page.
   EC-NAV-457: grouped by the position each source rule authored. */
.site-header:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ) {
  position: sticky !important;
  z-index: 1000 !important;
}

/* EC-NAV-433b: the EC-NAV-190 in-flow repair uses BARE tag selectors, and its
   :not([class*='…']) guards only see a utility class ON the element. A content
   header the SOURCE lifts out of flow from a stylesheet rule — Sabrina's
   ".set-product-head { position: absolute; top: 50% }" caption inside an
   overflow:hidden product frame — slipped past all three guards, was forced
   back into flow and clipped out of its frame. Restore the authored value for
   sectioning headers inside <main>, where the site header never lives. */
main.site-main
  header.site-header:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
main.site-main
  nav.site-header:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
main.site-main
  [role='banner'].site-header:not([class*='sticky']):not([class*='fixed']):not(
    [class*='absolute']
  ),
main.site-main
  [role='navigation'].site-header:not([class*='sticky']):not(
    [class*='fixed']
  ):not([class*='absolute']) {
  position: sticky !important;
}
