/*
Theme Name: Cat & Dog Clothes
Theme URI: https://catanddogclothes.com/
Author: CatAndDogClothes.com
Description: A fast, modern editorial and affiliate theme for CatAndDogClothes.com, covering cat and dog guides, clothing, accessories, toys, treats, seasonal recommendations, and product roundups.
Version: 1.0.8
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: cat-dog-clothes
License: GPL-2.0-or-later
*/

:root {
  --cdc-bg: #ffffff;
  --cdc-surface: #fbfaf7;
  --cdc-surface-soft: #f3f0ea;
  --cdc-text: #252725;
  --cdc-muted: #6f736f;
  --cdc-border: #e6e2d9;
  --cdc-accent: #d96b45;
  --cdc-accent-dark: #b84f2d;
  --cdc-green: #50735d;
  --cdc-radius: 18px;
  --cdc-shadow: 0 12px 30px rgba(37, 39, 37, .07);
  --cdc-content: 1160px;
  --cdc-reading: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cdc-bg);
  color: var(--cdc-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--cdc-accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cdc-accent); }
button, input, textarea, select { font: inherit; }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: #fff; clip: auto !important; clip-path: none; color: #111;
  display: block; font-size: 14px; height: auto; left: 8px; padding: 12px 16px;
  top: 8px; width: auto; z-index: 999999; border-radius: 8px;
}

.cdc-container { width: min(var(--cdc-content), calc(100% - 40px)); margin-inline: auto; }
.cdc-narrow { width: min(var(--cdc-reading), calc(100% - 40px)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cdc-border);
}
.admin-bar .site-header { top: 32px; }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.site-branding { margin-right: auto; min-width: 0; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 52px; width: auto; }
.site-title { margin: 0; font-size: 23px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.site-title a { color: var(--cdc-text); text-decoration: none; }
.site-description { margin: 5px 0 0; color: var(--cdc-muted); font-size: 12px; letter-spacing: .04em; }
.primary-nav ul { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.primary-nav li { position: relative; }
.primary-nav a { color: var(--cdc-text); text-decoration: none; font-weight: 650; font-size: 15px; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--cdc-accent-dark); }
.primary-nav .sub-menu {
  position: absolute; top: calc(100% + 14px); left: -18px; min-width: 240px;
  display: none; flex-direction: column; align-items: stretch; gap: 0;
  padding: 10px; background: var(--cdc-surface); border: 1px solid var(--cdc-border);
  border-radius: 14px; box-shadow: var(--cdc-shadow);
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: flex; }
.primary-nav .sub-menu a { display: block; padding: 9px 10px; border-radius: 9px; }
.primary-nav .sub-menu a:hover { background: var(--cdc-surface-soft); }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--cdc-border); border-radius: 12px;
  background: var(--cdc-surface); align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--cdc-text); border-radius: 2px; position: relative;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.header-search { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; color: var(--cdc-text); }
.header-search:hover { background: var(--cdc-surface-soft); color: var(--cdc-accent-dark); }

/* Shared */
/* v1.0.8: keep the page canvas pure white so white-background product photography
   blends into the article, while cards/navigation surfaces use the warm cream tone. */
.site-main { min-height: 55vh; background: var(--cdc-bg); }
.section { padding: 50px 0; }
.section-tight { padding: 28px 0 34px; }
.section-kicker { margin: 0 0 8px; color: var(--cdc-accent-dark); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 800; }
.section-title { margin: 0 0 26px; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -.035em; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.section-head .section-title { margin: 0; }
.section-link { font-weight: 700; white-space: nowrap; }

/* Start here navigation */
.start-here-intro { max-width: 760px; margin: -12px 0 0; color: var(--cdc-muted); }
.start-here-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.start-here-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 15px;
  border: 1px solid var(--cdc-border); border-radius: 999px; background: var(--cdc-surface);
  color: var(--cdc-text); text-decoration: none; font-weight: 750; font-size: 14px;
  box-shadow: 0 4px 14px rgba(37,39,37,.035); transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.start-here-link:hover { transform: translateY(-1px); border-color: #d5cec3; background: var(--cdc-surface-soft); color: var(--cdc-accent-dark); }
.start-here-link span { font-size: 17px; line-height: 1; }

/* Homepage hero */
.home-hero { padding: 32px 0 26px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr); gap: 24px; }
.hero-feature {
  position: relative; min-height: 430px; overflow: hidden; border-radius: 26px; background: #2d362f;
  box-shadow: var(--cdc-shadow);
}
.hero-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,21,.06) 20%, rgba(20,24,21,.88) 100%); }
.hero-content { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(26px, 4vw, 38px); color: #fff; }
.hero-badge { display: inline-block; margin-bottom: 14px; padding: 6px 10px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-title { margin: 0; font-size: clamp(34px, 4.3vw, 52px); line-height: 1.03; letter-spacing: -.045em; max-width: 800px; }
.hero-title a { color: #fff; text-decoration: none; }
.hero-excerpt { max-width: 680px; margin: 14px 0 0; color: rgba(255,255,255,.88); font-size: 16px; }
.hero-side { display: grid; gap: 16px; grid-template-rows: 1fr 1fr; }
.pet-path {
  position: relative; overflow: hidden; border-radius: 20px; padding: 24px; min-height: 200px;
  text-decoration: none; color: var(--cdc-text); border: 1px solid var(--cdc-border); background: var(--cdc-surface);
  box-shadow: 0 8px 24px rgba(37,39,37,.045); transition: transform .2s ease, box-shadow .2s ease;
}
.pet-path:hover { transform: translateY(-3px); box-shadow: var(--cdc-shadow); color: var(--cdc-text); }
.pet-path.dogs { background: #f4e8dd; }
.pet-path.cats { background: #e8efe9; }
.pet-icon { font-size: 46px; line-height: 1; display: block; margin-bottom: 14px; }
.pet-path h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.03em; }
.pet-path p { margin: 0; color: #555b56; }
.pet-path .arrow { position: absolute; right: 24px; bottom: 22px; font-size: 24px; }

/* Cards */
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card { min-width: 0; background: var(--cdc-surface); border: 1px solid var(--cdc-border); border-radius: var(--cdc-radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--cdc-shadow); }
.card-image { display: block; aspect-ratio: 16 / 10; background: var(--cdc-surface-soft); overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .card-image img { transform: scale(1.025); }
.card-body { padding: 22px; }
.card-category { display: inline-block; margin-bottom: 10px; color: var(--cdc-accent-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; text-decoration: none; }
.card-title { margin: 0 0 10px; font-size: 22px; line-height: 1.22; letter-spacing: -.025em; }
.card-title a { color: var(--cdc-text); text-decoration: none; }
.card-excerpt { margin: 0 0 18px; color: var(--cdc-muted); font-size: 15px; line-height: 1.65; }
.card-meta { display: flex; align-items: center; gap: 10px; color: var(--cdc-muted); font-size: 13px; }
.read-guide { margin-left: auto; font-weight: 750; text-decoration: none; }

/* Featured guides */
.featured-strip { background: #28372d; color: #fff; }
.featured-strip .section-title, .featured-strip .section-kicker { color: #fff; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.featured-guide { display: block; padding: 22px; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(255,255,255,.06); }
.featured-guide:hover { color: #fff; background: rgba(255,255,255,.10); }
.featured-guide span { display: block; color: rgba(255,255,255,.66); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }
.featured-guide strong { display: block; margin-top: 9px; font-size: 20px; line-height: 1.25; }

/* Article / single */
.single-header { padding: 38px 0 18px; }
.single-header-inner { width: min(860px, calc(100% - 40px)); margin: 0 auto; text-align: center; }
.entry-categories { margin-bottom: 8px; }
.entry-categories a { color: var(--cdc-accent-dark); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 800; text-decoration: none; }
.entry-title { margin: 0; font-size: clamp(34px, 4.15vw, 50px); line-height: 1.07; letter-spacing: -.04em; }
.entry-meta { margin-top: 14px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 16px; color: var(--cdc-muted); font-size: 14px; }
.entry-meta a { color: inherit; }
.single-featured { width: min(980px, calc(100% - 40px)); margin: 8px auto 28px; overflow: hidden; border-radius: 22px; background: var(--cdc-surface-soft); }
.single-featured img { display: block; width: 100%; height: clamp(420px, 38vw, 500px); object-fit: cover; object-position: center; }
.single-layout { width: min(var(--cdc-content), calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 70px; align-items: start; }
.entry-content { min-width: 0; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.78; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--cdc-text); line-height: 1.2; letter-spacing: -.025em; scroll-margin-top: 110px; }
.entry-content h2 { margin: 52px 0 17px; font-size: 31px; }
.entry-content h3 { margin: 36px 0 12px; font-size: 23px; }
.entry-content p { margin: 0 0 20px; }
.entry-content ul, .entry-content ol { margin: 0 0 24px; padding-left: 26px; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote { margin: 30px 0; padding: 6px 0 6px 24px; border-left: 4px solid var(--cdc-accent); font-size: 21px; color: #4b4f4b; }
.entry-content figure { margin: 30px auto; }
/* Keep normal in-article/product images useful without letting them dominate the page.
   Editors can still choose Wide or Full alignment for infographics or intentionally large visuals. */
.entry-content figure.wp-block-image:not(.alignwide):not(.alignfull),
.entry-content .wp-block-image:not(.alignwide):not(.alignfull) {
  width: min(100%, 580px);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.entry-content figure.wp-block-image:not(.alignwide):not(.alignfull) img,
.entry-content .wp-block-image:not(.alignwide):not(.alignfull) img,
.entry-content > img {
  display: block;
  width: auto;
  max-width: min(100%, 580px);
  max-height: 620px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  border-radius: 10px;
}
.entry-content > img { margin-top: 30px; margin-bottom: 30px; }
.entry-content .wp-block-button { margin: 22px 0 28px; }
.entry-content .wp-block-button__link,
.entry-content a.cdc-button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 11px 20px; border-radius: 11px; border: 0; background: var(--cdc-accent);
  color: #fff !important; text-decoration: none; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 800; font-size: 15px; line-height: 1.2; box-shadow: none;
}
.entry-content .wp-block-button__link:hover, .entry-content a.cdc-button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--cdc-accent-dark); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 15px; }
.entry-content th, .entry-content td { padding: 12px 14px; border: 1px solid var(--cdc-border); text-align: left; }
.entry-content th { background: var(--cdc-surface-soft); }

.post-tags { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--cdc-border); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.post-tags a { display: inline-block; margin: 0 6px 8px 0; padding: 5px 10px; border-radius: 999px; background: var(--cdc-surface-soft); color: var(--cdc-muted); text-decoration: none; font-size: 13px; }

/* Sidebar */
.post-sidebar { position: sticky; top: 110px; }
.sidebar-box { margin-bottom: 24px; padding: 22px; background: var(--cdc-surface); border: 1px solid var(--cdc-border); border-radius: 16px; }
.sidebar-title { margin: 0 0 16px; font-size: 18px; }
.sidebar-list { list-style: none; margin: 0; padding: 0; }
.sidebar-list li + li { border-top: 1px solid var(--cdc-border); }
.sidebar-list a { display: block; padding: 12px 0; color: var(--cdc-text); text-decoration: none; font-size: 14px; font-weight: 650; line-height: 1.4; }
.sidebar-list a:hover { color: var(--cdc-accent-dark); }
.sidebar-context { margin: -6px 0 14px; color: var(--cdc-muted); font-size: 13px; line-height: 1.5; }
.sidebar-explore { display: grid; gap: 9px; }
.sidebar-explore a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 13px; border: 1px solid var(--cdc-border); border-radius: 12px;
  color: var(--cdc-text); background: var(--cdc-surface-soft); text-decoration: none; font-size: 14px; font-weight: 750;
}
.sidebar-explore a:hover { border-color: #c8b9ab; color: var(--cdc-accent-dark); background: var(--cdc-surface); }
.sidebar-explore a span:last-child { font-size: 16px; }
.sidebar-affiliate { background: #f4e8dd; }
.sidebar-affiliate p { margin: 0; color: #5b514a; font-size: 13px; line-height: 1.55; }

/* Archive / pages */
.archive-header, .page-header { padding: 58px 0 24px; }
.archive-title, .page-title { margin: 0; font-size: clamp(36px, 5vw, 54px); line-height: 1.08; letter-spacing: -.04em; }
.archive-description { max-width: 760px; color: var(--cdc-muted); }
.archive-grid { padding: 18px 0 70px; }
.pagination { margin-top: 42px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border: 1px solid var(--cdc-border); background: var(--cdc-surface); border-radius: 10px; color: var(--cdc-text); text-decoration: none; }
.page-numbers.current, .page-numbers:hover { background: var(--cdc-text); color: #fff; }
.page-content-wrap { padding-bottom: 70px; }

/* Search */
.search-form { display: flex; gap: 8px; }
.search-field { min-width: 0; flex: 1; border: 1px solid var(--cdc-border); background: var(--cdc-surface); border-radius: 10px; padding: 11px 13px; }
.search-submit { border: 0; background: var(--cdc-text); color: #fff; border-radius: 10px; padding: 11px 16px; font-weight: 750; cursor: pointer; }

/* Footer */
.site-footer { margin-top: 54px; background: #202823; color: rgba(255,255,255,.78); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr 1fr .7fr; gap: 34px; padding: 46px 0 30px; }
.footer-brand { color: #fff; font-size: 23px; font-weight: 800; letter-spacing: -.025em; }
.footer-copy { max-width: 480px; margin: 12px 0 0; font-size: 14px; color: rgba(255,255,255,.62); }
.footer-heading { color: #fff; margin: 0 0 13px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.footer-menu, .footer-list, .site-footer ul.menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li, .footer-list li, .site-footer ul.menu li { margin: 8px 0; }
.footer-menu a, .footer-list a, .site-footer ul.menu a { color: rgba(255,255,255,.75); text-decoration: none; font-size: 14px; }
.footer-menu a:hover, .footer-list a:hover, .site-footer ul.menu a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); padding: 18px 0 24px; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: rgba(255,255,255,.55); }
.footer-bottom p { margin: 0; }

/* WooCommerce */
.woocommerce .products ul, .woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding: 18px; background: var(--cdc-surface); border: 1px solid var(--cdc-border); border-radius: 16px; }
.woocommerce ul.products li.product a img { border-radius: 12px; }
.woocommerce span.onsale { background: var(--cdc-accent); }

/* Empty / 404 */
.empty-state { padding: 80px 0; text-align: center; }
.empty-state h1, .empty-state h2 { font-size: 42px; margin-bottom: 12px; }
.empty-state p { color: var(--cdc-muted); }

@media (max-width: 980px) {
  .admin-bar .site-header { top: 46px; }
  .menu-toggle { display: flex; }
  .header-search { margin-left: auto; }
  .primary-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 14px 20px 22px;
    background: #fff; border-bottom: 1px solid var(--cdc-border);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav a { display: block; padding: 11px 4px; }
  .primary-nav .sub-menu { position: static; display: block; padding: 0 0 4px 14px; box-shadow: none; border: 0; background: transparent; }
  .site-description { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .pet-path { min-height: 190px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .single-layout { grid-template-columns: 1fr; gap: 40px; }
  .post-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .sidebar-box { margin: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .woocommerce .products ul, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .cdc-container, .cdc-narrow, .single-header-inner, .single-featured, .single-layout { width: min(100% - 28px, var(--cdc-content)); }
  .header-inner { min-height: 66px; gap: 12px; }
  .primary-nav { top: 66px; }
  .site-title { font-size: 19px; }
  .custom-logo { max-height: 43px; }
  .home-hero { padding-top: 20px; }
  .hero-feature { min-height: 380px; border-radius: 20px; }
  .hero-content { padding: 24px; }
  .hero-title { font-size: 36px; }
  .hero-excerpt { font-size: 15px; }
  .hero-side { grid-template-columns: 1fr; }
  .start-here-links { gap: 8px; }
  .start-here-link { flex: 1 1 100%; justify-content: center; }
  .pet-path { min-height: 170px; padding: 22px; }
  .pet-icon { font-size: 42px; margin-bottom: 12px; }
  .pet-path h2 { font-size: 25px; }
  .section { padding: 42px 0; }
  .section-head { align-items: start; flex-direction: column; gap: 4px; }
  .posts-grid, .featured-grid { grid-template-columns: 1fr; }
  .single-header { padding: 28px 0 14px; }
  .entry-title { font-size: 35px; }
  .entry-meta { margin-top: 12px; }
  .single-featured { margin-top: 6px; margin-bottom: 22px; border-radius: 16px; }
  .single-featured img { height: 300px; }
  .entry-content { font-size: 17px; }
  .entry-content h2 { font-size: 27px; margin-top: 42px; }
  .entry-content h3 { font-size: 22px; }
  .post-sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media print {
  .site-header, .site-footer, .post-sidebar, .wp-block-button, .post-tags { display: none !important; }
  body { background: #fff; }
  .single-layout, .single-header-inner { width: 100%; display: block; }
}


/* Animal hub pages — compact hub layout */
.animal-hub-intro { padding: 30px 0 18px; }
.animal-hub-intro-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) 120px; align-items: center; gap: 32px;
  padding: 26px 34px; border: 1px solid var(--cdc-border); border-radius: 22px; overflow: hidden;
  background: #f4e8dd;
}
.animal-cats .animal-hub-intro-inner { background: #e8efe9; }
.animal-hub-title { margin: 0; font-size: clamp(34px, 4vw, 46px); line-height: 1.05; letter-spacing: -.042em; }
.animal-hub-description { max-width: 760px; margin: 9px 0 0; color: #555b56; font-size: 16px; line-height: 1.6; }
.animal-hub-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.animal-hub-actions .start-here-link { padding: 8px 13px; }
.animal-hub-icon { display: grid; place-items: center; min-height: 86px; font-size: 62px; line-height: 1; }
.animal-feature-section { padding-top: 8px; }
.animal-feature-section .section-kicker { margin-bottom: 9px; }
.animal-feature-card {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(330px, .98fr); height: 300px; min-height: 0;
  overflow: hidden; background: var(--cdc-surface); border: 1px solid var(--cdc-border); border-radius: 20px; box-shadow: 0 8px 24px rgba(37,39,37,.04);
}
.animal-feature-image { display: grid; place-items: center; height: 100%; min-height: 0; overflow: hidden; background: var(--cdc-surface-soft); text-decoration: none; font-size: 68px; }
.animal-feature-image img { width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: transform .3s ease; }
.animal-feature-card:hover .animal-feature-image img { transform: scale(1.018); }
.animal-feature-copy { display: flex; flex-direction: column; justify-content: center; padding: 25px 30px; }
.animal-feature-copy h2 { margin: 0 0 9px; font-size: clamp(25px, 2.5vw, 32px); line-height: 1.1; letter-spacing: -.032em; }
.animal-feature-copy h2 a { color: var(--cdc-text); text-decoration: none; }
.animal-feature-copy p { margin: 0; color: var(--cdc-muted); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.animal-feature-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 16px; color: var(--cdc-muted); font-size: 12px; }
.animal-feature-link { margin-left: auto; font-weight: 800; text-decoration: none; }
.animal-guides-section { padding-top: 30px; }
.animal-empty { padding: 30px; background: var(--cdc-surface); border: 1px solid var(--cdc-border); border-radius: 18px; color: var(--cdc-muted); }
.animal-hub-footer-cta { padding: 8px 0 56px; }
.animal-hub-footer-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 24px 28px;
  border: 1px solid var(--cdc-border); border-radius: 18px; background: var(--cdc-surface-soft);
}
.animal-hub-footer-inner h2 { margin: 0; font-size: 24px; letter-spacing: -.025em; }
.animal-other-link { flex: 0 0 auto; font-weight: 800; text-decoration: none; }

@media (max-width: 820px) {
  .animal-hub-intro-inner { grid-template-columns: 1fr 90px; padding: 26px 28px; gap: 20px; }
  .animal-hub-icon { min-height: 76px; font-size: 56px; }
  .animal-feature-card { grid-template-columns: 1fr; height: auto; }
  .animal-feature-image, .animal-feature-image img { height: 250px; min-height: 250px; }
  .animal-feature-link { margin-left: 0; }
}

@media (max-width: 580px) {
  .animal-hub-intro { padding-top: 20px; }
  .animal-hub-intro-inner { grid-template-columns: 1fr; padding: 22px 20px; }
  .animal-hub-title { font-size: clamp(32px, 11vw, 40px); }
  .animal-hub-icon { display: none; }
  .animal-hub-description { font-size: 15px; }
  .animal-hub-actions { margin-top: 14px; }
  .animal-feature-copy { padding: 22px 20px; }
  .animal-feature-copy h2 { font-size: 26px; }
  .animal-feature-image, .animal-feature-image img { height: 215px; min-height: 215px; }
  .animal-guides-section { padding-top: 24px; }
  .animal-hub-footer-inner { align-items: flex-start; flex-direction: column; padding: 22px; }
}
