/*
Theme Name: Fallohide Pets
Theme URI: https://fallohide.dk/
Author: Trident Web Solutions SRL
Author URI: https://tridentwebsolutions.com/
Description: A Danish pet editorial WordPress theme inspired by premium pet/health magazines. Fast, responsive, SEO-ready, with product cards, contact submissions, editable footer/social/header options and pet-friendly editorial styling.
Version: 1.0.3
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fallohide-pets
Tags: blog, custom-logo, custom-menu, featured-images, block-styles, wide-blocks, one-column, two-columns, right-sidebar
*/

:root {
  --fh-ink: #171c1f;
  --fh-muted: #535f64;
  --fh-soft: #f4faf9;
  --fh-paper: #ffffff;
  --fh-teal: #2f7b83;
  --fh-teal-dark: #1f6168;
  --fh-mint: #dcefed;
  --fh-coral: #ef9b8d;
  --fh-sand: #fbf4ec;
  --fh-line: #dbe6e5;
  --fh-shadow: 0 18px 45px rgba(31, 97, 104, .12);
  --fh-radius: 22px;
  --fh-radius-sm: 14px;
  --fh-serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', 'New York', serif;
  --fh-sans: 'Avenir Next', Avenir, 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--fh-ink);
  background: var(--fh-paper);
  font-family: var(--fh-sans);
  font-size: 18px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--fh-teal-dark); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: #15484e; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--fh-line);
  box-shadow: 0 8px 25px rgba(21,72,78,.05);
}
.admin-bar .site-header { top: 32px; }
.header-main {
  min-height: 96px;
  display: grid;
  grid-template-columns: minmax(180px, 300px) 1fr minmax(210px, 330px);
  align-items: center;
  gap: 28px;
}
.site-branding { display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.site-logo-img,
.custom-logo {
  display: block;
  width: clamp(185px, 21vw, 320px);
  max-height: 84px;
  object-fit: contain;
}
.header-search { justify-self: end; width: min(100%, 344px); }
.header-search form {
  display: flex;
  align-items: stretch;
  border: 1px solid #d5e3e2;
  border-radius: 14px;
  overflow: hidden;
  background: #fbfefe;
  box-shadow: 0 10px 22px rgba(21,72,78,.06);
}
.header-search label { width: 100%; }
.header-search .search-field {
  width: 100%;
  min-height: 48px;
  border: 0;
  padding: 11px 16px;
  font-size: 15px;
  background: transparent;
}
.header-search .search-submit {
  min-width: 54px;
  min-height: 48px;
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--fh-teal), var(--fh-teal-dark));
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}
.header-search .search-submit svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-search .search-submit:hover svg { transform: scale(1.03); }
.header-nav-wrap { border-top: 1px solid #f1e4dd; }
.menu-toggle {
  display: none;
  border: 1px solid var(--fh-line);
  background: #fff;
  color: var(--fh-teal-dark);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  align-items: center;
  gap: 8px;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.menu-toggle span::before,
.menu-toggle span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.primary-menu,
.footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-menu {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 4vw, 60px);
}
.primary-menu a {
  display: block;
  padding: 16px 0;
  color: var(--fh-ink);
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
}
.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current-menu-ancestor > a { color: var(--fh-teal-dark); }

.fh-btn,
.wp-block-button__link,
.search-submit,
button,
input[type='submit'] {
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.fh-btn,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 24px;
  background: linear-gradient(135deg, var(--fh-teal), var(--fh-teal-dark));
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(47, 123, 131, .22);
}
.fh-btn:hover,
.wp-block-button__link:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 18px 34px rgba(47,123,131,.3); }
.fh-btn--light { background: #fff; color: var(--fh-teal-dark); box-shadow: none; }
.fh-btn--ghost { background: transparent; color: var(--fh-teal-dark); border: 1px solid var(--fh-line); box-shadow: none; }

.site-main { min-height: 55vh; }
.home-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(239,155,141,.25), transparent 34%), linear-gradient(135deg, #fff 0%, #f4fbfa 58%, #fbf2ec 100%);
  border-bottom: 1px solid var(--fh-line);
  padding: clamp(36px, 6vw, 76px) 0;
}
.home-hero::after {
  content: '🐾';
  position: absolute;
  right: 4vw;
  top: 18%;
  font-size: clamp(80px, 13vw, 190px);
  opacity: .06;
  transform: rotate(-12deg);
}
.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fh-teal-dark);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 13px;
  font-weight: 900;
}
.kicker::before { content: ''; width: 32px; height: 2px; background: var(--fh-coral); }
.home-hero h1,
.page-title,
.entry-title,
.archive-title,
.error-title {
  margin: 12px 0 14px;
  font-family: var(--fh-serif);
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--fh-ink);
}
.home-hero h1 { font-size: clamp(42px, 6vw, 82px); max-width: 780px; }
.home-hero__text { color: #2f3a3f; font-size: clamp(18px, 2vw, 22px); max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.carousel-shell { position: relative; }
.latest-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 78%);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 18px;
  scrollbar-width: thin;
}
.carousel-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(219,230,229,.9);
  border-radius: var(--fh-radius);
  overflow: hidden;
  box-shadow: var(--fh-shadow);
}
.carousel-card__image { aspect-ratio: 16 / 10; background: var(--fh-mint); overflow: hidden; }
.carousel-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-card__body { padding: 22px; }
.card-category {
  color: var(--fh-teal-dark);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 900;
}
.carousel-card h2,
.post-card h2,
.related-card h3 {
  font-family: var(--fh-serif);
  line-height: 1.11;
  letter-spacing: -.02em;
}
.carousel-card h2 { margin: 8px 0 10px; font-size: clamp(30px, 3.4vw, 46px); }
.carousel-card h2 a,
.post-card h2 a,
.related-card h3 a { color: var(--fh-ink); text-decoration: none; }
.carousel-card h2 a:hover,
.post-card h2 a:hover,
.related-card h3 a:hover { color: var(--fh-teal-dark); text-decoration: underline; }
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--fh-muted);
  font-size: 14px;
}
.post-meta a { font-weight: 800; color: var(--fh-teal-dark); text-transform: uppercase; letter-spacing: .06em; }
.carousel-controls {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.carousel-control {
  width: 42px;
  height: 42px;
  border: 1px solid var(--fh-line);
  background: #fff;
  color: var(--fh-teal-dark);
  border-radius: 999px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
}

.home-about { padding: clamp(44px, 7vw, 86px) 0; }
.home-about__card {
  border-radius: calc(var(--fh-radius) + 10px);
  padding: clamp(26px, 5vw, 56px);
  background: linear-gradient(135deg, var(--fh-soft), #fff 56%, var(--fh-sand));
  border: 1px solid var(--fh-line);
  box-shadow: var(--fh-shadow);
}
.home-about h2 { font-family: var(--fh-serif); font-size: clamp(34px, 5vw, 58px); line-height: 1.1; margin: 0 0 18px; }
.home-about p { max-width: 860px; color: #2f3a3f; }
.warning-block {
  margin-top: 34px;
  padding: clamp(26px, 3.5vw, 40px) clamp(20px, 4vw, 34px) clamp(24px, 3.5vw, 36px);
  background: #fff;
  border: 1px solid var(--fh-coral);
  border-bottom-width: 10px;
  border-radius: 0;
  box-shadow: 0 8px 22px rgba(31,37,40,.04);
}
.warning-block__header {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin-bottom: 18px;
  color: #24282b;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: clamp(13px, 1.35vw, 17px);
}
.warning-block__header::before,
.warning-block__header::after {
  content: '';
  height: 1px;
  flex: 1;
  background: var(--fh-coral);
  opacity: .95;
}
.warning-block__body {
  max-width: 980px;
  margin: 0 auto;
  font-family: var(--fh-sans);
  font-size: clamp(20px, 2.25vw, 31px);
  line-height: 1.55;
  color: #1f2528;
}
.warning-block__body p:last-child { margin-bottom: 0; }

.content-wrap {
  width: min(1040px, calc(100% - 40px));
  margin-inline: auto;
}
.content-wrap--narrow { width: min(780px, calc(100% - 40px)); }
.page-header {
  padding: clamp(38px, 6vw, 72px) 0 28px;
  text-align: center;
}
.page-title,
.archive-title,
.error-title { font-size: clamp(42px, 6vw, 72px); }
.archive-description { color: var(--fh-muted); max-width: 740px; margin-inline: auto; }

.posts-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 34px);
  padding-bottom: clamp(48px, 7vw, 88px);
  align-items: start;
}
.post-card {
  position: relative;
  background: #fff;
  min-width: 0;
  border-radius: calc(var(--fh-radius) + 4px);
}
.post-card__image {
  aspect-ratio: 16 / 10;
  border-radius: var(--fh-radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--fh-mint), var(--fh-sand));
  margin-bottom: 16px;
  display: block;
}
.post-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.post-card:hover .post-card__image img { transform: scale(1.035); }
.post-card h2 { font-size: clamp(28px, 3vw, 42px); margin: 8px 0 10px; }
.post-card .excerpt { color: #4d5a5f; margin-top: 8px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin: 0 0 70px; flex-wrap: wrap; }
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--fh-line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--fh-teal-dark);
  font-weight: 800;
}
.page-numbers.current { background: var(--fh-teal); color: #fff; border-color: var(--fh-teal); }

.single-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: clamp(50px, 8vw, 90px);
}
.single-layout.single-layout--no-toc {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}
.single-content { min-width: 0; }
.single-sidebar { position: sticky; top: 132px; }
.article-toc {
  padding: 22px;
  background: var(--fh-soft);
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-radius-sm);
}
.article-toc h2 { margin: 0 0 14px; font-size: 16px; text-transform: uppercase; letter-spacing: .08em; }
.article-toc ul { margin: 0; padding: 0; list-style: none; border-left: 1px solid #c5dcda; }
.article-toc li { margin: 0; }
.article-toc a { display: block; padding: 8px 0 8px 16px; color: var(--fh-ink); text-decoration: none; font-size: 15px; }
.article-toc a:hover { color: var(--fh-teal-dark); }
.article-toc a::before { content: '›'; color: var(--fh-teal-dark); margin-right: 8px; font-weight: 900; }
.single-header {
  text-align: center;
  padding: clamp(34px, 6vw, 66px) 0 26px;
}
.single-header .card-category { display: inline-block; }
.single-header .post-meta {
  justify-content: center;
  width: min(100% - 32px, 760px);
  margin: 0 auto;
}
.single-header .entry-title { font-size: clamp(44px, 6vw, 78px); max-width: 920px; margin-inline: auto; }
.single-subtitle {
  color: #3e484c;
  font-size: clamp(19px, 2vw, 24px);
  max-width: 760px;
  margin: 8px auto 18px;
}
.featured-image-wrap {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto 12px;
}
.featured-image-wrap img {
  display: block;
  width: 100%;
  border-radius: var(--fh-radius);
  box-shadow: 0 20px 50px rgba(31,37,40,.08);
}
.image-credit { width: min(860px, calc(100% - 40px)); margin: 8px auto 30px; color: var(--fh-muted); font-size: 13px; }
.entry-content { font-family: var(--fh-serif); font-size: 21px; line-height: 1.78; }
.entry-content > * { margin-top: 0; margin-bottom: 1.3em; }
.entry-content p { margin-bottom: 1.35em; }
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--fh-serif);
  line-height: 1.16;
  letter-spacing: -.02em;
  margin-top: 1.9em;
  margin-bottom: .6em;
  scroll-margin-top: 145px;
}
.entry-content h2 { font-size: clamp(34px, 4.2vw, 52px); }
.entry-content h3 { font-size: clamp(28px, 3.4vw, 38px); }
.entry-content h4 { font-size: 25px; }
.entry-content strong,
.entry-content b { color: #172024; font-weight: 900; }
.entry-content em,
.entry-content i { color: #334348; }
.entry-content ul,
.entry-content ol { padding-left: 1.25em; }
.entry-content li { margin-bottom: .35em; }
.entry-content ul li::marker { color: var(--fh-teal); content: '🐾  '; font-size: .82em; }
.entry-content ol li::marker { color: var(--fh-teal-dark); font-weight: 900; }
.entry-content a:not(.fh-btn):not(.wp-block-button__link) {
  color: var(--fh-teal-dark);
  text-decoration: underline;
  text-decoration-color: rgba(47,123,131,.45);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.entry-content a:not(.fh-btn):not(.wp-block-button__link):hover { text-decoration-color: var(--fh-coral); }
.entry-content blockquote,
.wp-block-quote {
  position: relative;
  margin: 2em 0;
  padding: 28px 30px 28px 76px;
  background: linear-gradient(135deg, var(--fh-soft), #fff);
  border: 1px solid var(--fh-line);
  border-left: 6px solid var(--fh-coral);
  border-radius: var(--fh-radius);
  font-family: var(--fh-serif);
  color: #273236;
}
.entry-content blockquote::before,
.wp-block-quote::before {
  content: '🐾';
  position: absolute;
  left: 24px;
  top: 24px;
  font-family: var(--fh-sans);
  font-size: 28px;
  line-height: 1;
}
.entry-content cite { display: block; color: var(--fh-muted); font-size: 16px; margin-top: 12px; }
.entry-content .wp-block-pullquote { border-top: 3px solid var(--fh-teal); border-bottom: 3px solid var(--fh-teal); }
.entry-content .wp-block-table,
.entry-content table {
  width: 100%;
  border-collapse: collapse;
}
.entry-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  font-family: var(--fh-sans);
  font-size: 16px;
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-radius-sm);
}
.entry-content th,
.entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--fh-line); text-align: left; }
.entry-content th { background: var(--fh-soft); color: var(--fh-teal-dark); font-weight: 900; }
.entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--fh-line); margin: 2.2em 0; }
.wp-caption-text,
figcaption { color: var(--fh-muted); font-size: 14px; font-family: var(--fh-sans); }

.post-tags { margin-top: 34px; display: flex; gap: 8px; flex-wrap: wrap; }
.post-tags a { padding: 7px 12px; border-radius: 999px; background: var(--fh-soft); color: var(--fh-teal-dark); text-decoration: none; font-size: 13px; font-weight: 800; }
.author-box {
  margin-top: 44px;
  padding: 26px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-radius);
  background: linear-gradient(135deg, #fff, var(--fh-soft));
}
.author-box img { border-radius: 50%; }
.author-box h2 { margin: 0 0 6px; font-family: var(--fh-serif); font-size: 28px; }
.author-box p { margin: 0; color: #4d5a5f; font-family: var(--fh-sans); font-size: 16px; line-height: 1.55; }

.related-section { padding: clamp(42px, 6vw, 72px) 0; border-top: 1px solid var(--fh-line); }
.related-section h2 { text-align: center; font-family: var(--fh-serif); font-size: clamp(38px, 5vw, 62px); margin: 0 0 30px; }
.related-card__image { aspect-ratio: 16 / 10; border-radius: var(--fh-radius-sm); overflow: hidden; background: var(--fh-soft); margin-bottom: 14px; }
.related-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-card h3 { font-size: clamp(25px, 2.8vw, 36px); margin: 8px 0; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 460px);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding-bottom: clamp(54px, 8vw, 90px);
}
.contact-card,
.fh-contact-form {
  border-radius: var(--fh-radius);
  background: #fff;
  border: 1px solid var(--fh-line);
  box-shadow: var(--fh-shadow);
}
.fh-contact-form { padding: clamp(22px, 4vw, 34px); }
.fh-contact-form label { display: block; margin-bottom: 16px; color: var(--fh-ink); font-weight: 800; }
.fh-contact-form input,
.fh-contact-form textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--fh-line);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  background: #fbfefe;
}
.fh-contact-form textarea { min-height: 150px; resize: vertical; }
.form-message { padding: 14px 16px; border-radius: var(--fh-radius-sm); margin-bottom: 18px; font-weight: 800; }
.form-message.success { background: #eef9f4; color: #1d6a4f; }
.form-message.error { background: #fff2ef; color: #8f3b2c; }

.fh-product-card {
  display: grid;
  grid-template-columns: minmax(170px, .75fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
  margin: 2em 0;
  padding: clamp(22px, 4vw, 34px);
  border-radius: calc(var(--fh-radius) + 6px);
  background: radial-gradient(circle at top left, rgba(239,155,141,.22), transparent 36%), linear-gradient(135deg, #f6fcfb, #fff 55%, #fbf1eb);
  border: 1px solid var(--fh-line);
  box-shadow: var(--fh-shadow);
  font-family: var(--fh-sans);
}
.fh-product-card__media {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #eef3f3;
}
.fh-product-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fh-product-card__kicker { color: var(--fh-teal-dark); letter-spacing: .14em; text-transform: uppercase; font-weight: 900; font-size: 12px; }
.fh-product-card h3 { margin: 6px 0 10px; font-family: var(--fh-serif); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; }
.fh-product-card p { font-family: var(--fh-sans); font-size: 17px; line-height: 1.6; color: #4c595d; }
.fh-product-card .fh-btn { margin-top: 10px; }

.error-404 {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(48px, 8vw, 90px) 0;
  background: radial-gradient(circle at center, rgba(239,155,141,.18), transparent 30%), linear-gradient(180deg, #fff, var(--fh-soft));
}
.paw-path {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 22px;
  color: var(--fh-teal-dark);
  font-size: clamp(34px, 6vw, 66px);
}
.paw-path span:nth-child(2) { transform: translateY(12px) rotate(8deg); opacity: .75; }
.paw-path span:nth-child(3) { transform: translateY(-8px) rotate(-10deg); opacity: .55; }

.site-footer {
  border-top: 3px double #c7e2df;
  background: #fff;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) .8fr .8fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(48px, 8vw, 86px) 0;
}
.footer-brand .site-logo-img { width: clamp(180px, 22vw, 280px); }
.footer-tagline { max-width: 420px; font-family: var(--fh-serif); font-size: 24px; line-height: 1.25; margin: 22px 0; }
.footer-column h2 {
  margin: 0 0 16px;
  color: var(--fh-teal-dark);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 15px;
}
.footer-menu a { display: inline-block; padding: 5px 0; color: #636d71; text-decoration: none; font-weight: 700; }
.footer-menu a:hover { color: var(--fh-teal-dark); }
.social-links { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.social-links a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--fh-line);
  color: var(--fh-teal-dark);
  text-decoration: none;
  font-weight: 900;
}
.social-links a:hover { background: var(--fh-teal); color: #fff; border-color: var(--fh-teal); }
.footer-bottom { border-top: 1px solid var(--fh-line); padding: 18px 0; color: #596469; font-size: 14px; }
.footer-bottom a { color: var(--fh-teal-dark); font-weight: 800; }

.alignwide { max-width: min(1040px, calc(100vw - 40px)); margin-left: calc((100% - min(1040px, calc(100vw - 40px))) / 2); }
.alignfull { max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

@media (max-width: 1024px) {
  .header-main { grid-template-columns: 1fr auto; min-height: 82px; }
  .header-search { display: none; }
  .home-hero__grid { grid-template-columns: 1fr; }
  .posts-grid,
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .single-layout { grid-template-columns: 1fr; }
  .single-sidebar { position: static; order: 2; }
  .article-toc { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
  body { font-size: 18px; line-height: 1.72; }
  .admin-bar .site-header { top: 46px; }
  .fh-container,
  .content-wrap,
  .content-wrap--narrow,
  .single-layout { width: min(100% - 28px, 1180px); }
  .header-main { min-height: 76px; gap: 12px; }
  .site-logo-img,
  .custom-logo { width: clamp(168px, 58vw, 260px); max-height: 72px; }
  .menu-toggle { display: inline-flex; justify-self: end; }
  .header-nav-wrap { display: none; border-top: 1px solid var(--fh-line); }
  .header-nav-wrap.is-open { display: block; }
  .primary-menu { display: block; padding: 10px 0 14px; }
  .primary-menu a { padding: 12px 4px; font-size: 15px; }
  .home-hero { padding: 32px 0 38px; }
  .latest-carousel { grid-auto-columns: minmax(255px, 90%); }
  .carousel-card__body { padding: 18px; }
  .posts-grid,
  .related-grid { grid-template-columns: 1fr; }
  .post-card h2 { font-size: clamp(30px, 8.2vw, 42px); }
  .single-header { padding-top: 28px; }
  .single-header .entry-title { font-size: clamp(38px, 10.5vw, 56px); }
  .entry-content { font-size: 19px; line-height: 1.76; }
  .entry-content h2 { font-size: clamp(30px, 8.5vw, 42px); }
  .entry-content h3 { font-size: clamp(26px, 7vw, 34px); }
  .entry-content blockquote,
  .wp-block-quote { padding: 24px 22px 24px 62px; }
  .entry-content table { font-size: 15px; }
  .warning-block {
    padding: 22px 16px 24px;
    border-bottom-width: 8px;
  }
  .warning-block__header {
    gap: 12px;
    margin-bottom: 14px;
    font-size: 14px;
  }
  .warning-block__body {
    font-size: 18px;
    line-height: 1.65;
  }
  .fh-product-card { grid-template-columns: 1fr; }
  .fh-product-card__media { min-height: 170px; }
  .contact-layout { grid-template-columns: 1fr; }
  .author-box { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-main { grid-template-columns: 1fr; padding-bottom: 46px; }
  .footer-tagline { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
.entry-content .is-style-pet-subtitle {
  margin-top: -0.2em;
  margin-bottom: 1.4em;
  font-family: var(--fh-sans);
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.45;
  color: #2f3a3f;
}
.entry-content .is-style-paw-list li::marker {
  content: '🐾  ';
  color: var(--fh-teal);
}


/* v1.0.2: tighter all-posts/grid pages and fixed single posts without a TOC */
body.blog .page-title,
body.page-template-latest-posts .page-title,
body.archive .archive-title,
body.search .page-title {
  font-size: clamp(38px, 5vw, 64px);
}
body.blog .page-header,
body.page-template-latest-posts .page-header,
body.archive .page-header,
body.search .page-header {
  padding-bottom: clamp(22px, 4vw, 40px);
}
body.blog .posts-grid,
body.page-template-latest-posts .posts-grid,
body.archive .posts-grid,
body.search .posts-grid {
  margin-top: 0;
}
.single-layout.single-layout--no-toc .single-content {
  width: 100%;
}
