/*
Theme Name: MochiPaw
Theme URI: https://example.com/mochipaw
Description: A warm, editorial Astra child theme for everyday cat and dog essentials.
Author: Darren Ling
Template: astra
Version: 1.1.3
Text Domain: mochipaw
*/

:root {
  --mp-cream: #fbf7f0;
  --mp-paper: #fffdf9;
  --mp-cocoa: #38271f;
  --mp-muted: #6f625a;
  --mp-blush: #d98682;
  --mp-blush-soft: #f3d3ce;
  --mp-sage: #8e9a78;
  --mp-sage-soft: #e7eadc;
  --mp-butter: #f2cd72;
  --mp-line: #e8ddd2;
  --mp-shadow: 0 18px 55px rgba(72, 49, 36, 0.1);
  --mp-radius-sm: 18px;
  --mp-radius-md: 28px;
  --mp-radius-lg: 42px;
  --mp-container: 1380px;
  --mp-header-height: 96px;
}

html { scroll-behavior: smooth; }

body.mochipaw-site {
  margin: 0;
  padding-top: calc(var(--mp-header-height) + env(safe-area-inset-top, 0px));
  background: var(--mp-cream);
  color: var(--mp-cocoa);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.mochipaw-site *, .mochipaw-site *::before, .mochipaw-site *::after { box-sizing: border-box; }
.mochipaw-site img { display: block; max-width: 100%; }
.mochipaw-site a { color: inherit; text-decoration: none; }
.mochipaw-site button { font: inherit; }

.mp-container {
  width: min(calc(100% - 48px), var(--mp-container));
  margin-inline: auto;
}

.mp-site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: calc(var(--mp-header-height) + env(safe-area-inset-top, 0px));
  margin-top: 0;
  padding-top: env(safe-area-inset-top, 0px);
  transform: none;
  z-index: 1000;
  border-bottom: 1px solid rgba(232, 221, 210, 0.85);
  background: var(--mp-paper);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.mp-header-inner {
  height: var(--mp-header-height);
  min-height: var(--mp-header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

body.admin-bar .mp-site-header { top: 32px; }

.mp-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.045em;
}

.mp-brand span { color: var(--mp-blush); }
.mp-brand-paw { width: 28px; height: 28px; color: var(--mp-blush); }

.mp-primary-nav .menu,
.mp-primary-nav .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mp-primary-nav > .menu { display: flex; align-items: center; gap: 48px; }
.mp-primary-nav .menu-item { position: relative; }
.mp-primary-nav a { display: block; padding: 34px 0 30px; font-size: 16px; font-weight: 650; }
.mp-primary-nav > .menu > .current-menu-item > a,
.mp-primary-nav > .menu > .current-menu-ancestor > a,
.mp-primary-nav > .menu > .menu-item > a:hover { color: var(--mp-blush); }
.mp-primary-nav > .menu > .menu-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 25px;
  height: 2px;
  background: var(--mp-blush);
  transition: right 180ms ease;
}
.mp-primary-nav > .menu > .menu-item > a:hover::after,
.mp-primary-nav > .menu > .current-menu-item > a::after,
.mp-primary-nav > .menu > .current-menu-ancestor > a::after { right: 0; }

.mp-primary-nav .sub-menu {
  position: absolute;
  top: calc(100% - 14px);
  left: -24px;
  min-width: 210px;
  padding: 12px;
  border: 1px solid var(--mp-line);
  border-radius: 18px;
  background: var(--mp-paper);
  box-shadow: var(--mp-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 180ms ease;
}
.mp-primary-nav .menu-item:hover > .sub-menu,
.mp-primary-nav .menu-item:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mp-primary-nav .sub-menu a { padding: 10px 12px; border-radius: 10px; color: var(--mp-muted); font-size: 14px; }
.mp-primary-nav .sub-menu a:hover { background: var(--mp-sage-soft); color: var(--mp-cocoa); }

.mp-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mp-line);
  border-radius: 50%;
  background: var(--mp-paper);
  color: var(--mp-cocoa);
}
.mp-menu-toggle svg { width: 22px; }

.mp-hero {
  overflow: hidden;
  padding: 76px 0 36px;
  background: var(--mp-cream);
}

.mp-hero-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; align-items: center; gap: clamp(40px, 6vw, 90px); }
.mp-hero-copy { position: relative; z-index: 2; padding-block: 30px; }
.mp-hero-title,
.mp-section-title,
.mp-feature-title,
.mp-journal-title,
.mp-footer-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}
.mp-hero-title { max-width: 690px; font-size: clamp(55px, 6vw, 92px); }
.mp-hero-title em { color: var(--mp-blush); font-style: normal; }
.mp-hero-lead { max-width: 540px; margin: 30px 0 34px; color: var(--mp-muted); font-size: clamp(18px, 1.7vw, 23px); line-height: 1.55; }
.mp-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.mp-button {
  display: inline-flex;
  min-height: 58px;
  padding: 0 27px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--mp-blush);
  border-radius: 12px;
  color: var(--mp-paper);
  background: var(--mp-blush);
  font-size: 16px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.mp-button:hover { color: var(--mp-paper); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(217, 134, 130, 0.24); }
.mp-button--secondary { color: var(--mp-cocoa); background: transparent; border-color: #9b7664; }
.mp-button--secondary:hover { color: var(--mp-cocoa); background: var(--mp-paper); }
.mp-button svg { width: 18px; height: 18px; }

.mp-hero-media { position: relative; }
.mp-hero-media::before {
  content: "";
  position: absolute;
  inset: -30px -70px -28px 18%;
  z-index: 0;
  border-radius: 50% 0 0 50%;
  background: var(--mp-blush-soft);
  opacity: 0.42;
}
.mp-hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 80px 24px 80px 24px;
  box-shadow: var(--mp-shadow);
}

.mp-category-rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(115px, 1fr));
  margin-top: 56px;
  overflow-x: auto;
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius-sm);
  background: var(--mp-paper);
}
.mp-category-link { min-width: 128px; padding: 25px 16px; text-align: center; font-size: 14px; font-weight: 750; }
.mp-category-link + .mp-category-link { border-left: 1px solid var(--mp-line); }
.mp-category-link svg { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--mp-sage); transition: 180ms ease; }
.mp-category-link:hover svg { color: var(--mp-blush); transform: translateY(-3px); }

.mp-section { padding: clamp(90px, 10vw, 148px) 0; }
.mp-section-heading { max-width: 700px; margin-bottom: 58px; }
.mp-section-title { font-size: clamp(46px, 5.2vw, 76px); }
.mp-section-copy { margin: 22px 0 0; color: var(--mp-muted); font-size: 20px; }

.mp-editorial { background: var(--mp-paper); }
.mp-editorial-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(50px, 7vw, 110px); align-items: start; }
.mp-editorial-intro { position: sticky; top: 150px; }
.mp-editorial-list { display: grid; gap: 26px; }
.mp-feature { display: grid; grid-template-columns: minmax(280px, 0.9fr) 1.1fr; gap: 34px; align-items: center; padding-bottom: 26px; border-bottom: 1px solid var(--mp-line); }
.mp-feature-media { overflow: hidden; border-radius: 58px 18px 58px 18px; }
.mp-feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 450ms ease; }
.mp-feature:hover .mp-feature-media img { transform: scale(1.035); }
.mp-feature-kicker { margin: 0 0 8px; color: var(--mp-sage); font-family: Georgia, serif; font-size: 17px; font-style: italic; font-weight: 700; }
.mp-feature-title { font-size: clamp(27px, 2.4vw, 38px); }
.mp-feature-category { margin: 13px 0; color: var(--mp-blush); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.mp-text-link { display: inline-flex; align-items: center; gap: 9px; border-bottom: 2px solid var(--mp-blush); font-size: 15px; font-weight: 750; }
.mp-text-link svg { width: 16px; }

.mp-choose { padding-top: 0; background: var(--mp-paper); }
.mp-choose-panel {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: var(--mp-radius-md);
  background: var(--mp-sage-soft);
}
.mp-choose-intro, .mp-principle { padding: clamp(32px, 4vw, 58px); }
.mp-choose-intro { background: #dde2cf; }
.mp-choose-title { margin: 0 0 16px; font: 700 clamp(34px, 3.2vw, 50px)/1.05 Georgia, serif; letter-spacing: -0.04em; }
.mp-choose-intro p { margin: 0; color: var(--mp-muted); }
.mp-principle + .mp-principle { border-left: 1px solid rgba(142, 154, 120, 0.35); }
.mp-principle-icon { display: grid; width: 56px; height: 56px; margin-bottom: 22px; place-items: center; border-radius: 50%; background: var(--mp-blush-soft); color: var(--mp-cocoa); }
.mp-principle:nth-child(4) .mp-principle-icon { background: #f7dc98; }
.mp-principle-icon svg { width: 26px; height: 26px; }
.mp-principle h3 { margin: 0 0 10px; font: 700 21px/1.25 Georgia, serif; }
.mp-principle p { margin: 0; color: var(--mp-muted); font-size: 15px; }

.mp-journal { background: var(--mp-cream); }
.mp-journal-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.mp-journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.mp-article { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 24px; align-items: center; }
.mp-article-media { overflow: hidden; border-radius: 20px 20px 60px 20px; }
.mp-article-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 400ms ease; }
.mp-article:hover img { transform: scale(1.035); }
.mp-article-meta { margin: 0 0 13px; color: var(--mp-blush); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.mp-journal-title { font-size: clamp(23px, 2vw, 31px); }
.mp-article-excerpt { margin: 14px 0; color: var(--mp-muted); font-size: 14px; }
.mp-article-date { color: var(--mp-muted); font-size: 13px; }

.mp-closing { padding: 0 0 clamp(90px, 10vw, 140px); background: var(--mp-cream); }
.mp-closing-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(50px, 7vw, 90px) 30px;
  border-radius: var(--mp-radius-md);
  background: #f8dda0;
  text-align: center;
}
.mp-closing-panel::before,
.mp-closing-panel::after { content: "♡"; position: absolute; color: rgba(217, 134, 130, 0.65); font: 80px/1 Georgia, serif; }
.mp-closing-panel::before { left: 7%; top: 17%; transform: rotate(-12deg); }
.mp-closing-panel::after { right: 7%; bottom: 12%; transform: rotate(14deg); }
.mp-closing-title { max-width: 890px; margin: 0 auto 34px; font: 700 clamp(37px, 4.5vw, 64px)/1.08 Georgia, serif; letter-spacing: -0.04em; }
.mp-closing .mp-actions { justify-content: center; }
.mp-closing .mp-button:first-child { border-color: var(--mp-sage); background: var(--mp-sage); }

.mp-site-footer { padding: 72px 0 34px; border-top: 1px solid var(--mp-line); background: var(--mp-paper); }
.mp-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 44px; }
.mp-footer-brand p { max-width: 290px; color: var(--mp-muted); font-size: 14px; }
.mp-footer-title { margin-bottom: 18px; font-size: 19px; }
.mp-footer-links { margin: 0; padding: 0; list-style: none; }
.mp-footer-links li + li { margin-top: 8px; }
.mp-footer-links a { color: var(--mp-muted); font-size: 14px; }
.mp-footer-links a:hover { color: var(--mp-blush); }
.mp-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 25px; border-top: 1px solid var(--mp-line); color: var(--mp-muted); font-size: 12px; }

/* Archive pages: featured-first editorial layout with resilient image fallbacks. */
.mp-archive-shell {
  min-height: 70vh;
  padding: clamp(58px, 7vw, 100px) 0 clamp(90px, 10vw, 140px);
  background: var(--mp-cream);
}

.mp-archive-header {
  margin-bottom: clamp(42px, 6vw, 72px);
  padding-bottom: clamp(36px, 5vw, 58px);
  border-bottom: 1px solid var(--mp-line);
}

.mp-archive-eyebrow {
  margin: 0 0 12px;
  color: var(--mp-blush);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mp-archive-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.mp-archive-header .mp-section-title {
  font-size: clamp(48px, 6vw, 78px);
}

.mp-archive-count {
  flex: 0 0 auto;
  margin-bottom: 8px;
  padding: 8px 13px;
  border: 1px solid var(--mp-line);
  border-radius: 999px;
  color: var(--mp-muted);
  background: rgba(255, 253, 249, .72);
  font-size: 12px;
  font-weight: 700;
}

.mp-archive-description {
  max-width: 690px;
  margin-top: 20px;
  color: var(--mp-muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.mp-archive-description p { margin: 0; }

.mp-archive-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.mp-archive-nav-link {
  display: inline-flex;
  min-height: 42px;
  padding: 8px 17px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mp-line);
  border-radius: 999px;
  color: var(--mp-muted);
  background: var(--mp-paper);
  font-size: 13px;
  font-weight: 700;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.mp-archive-nav-link:hover,
.mp-archive-nav-link.is-current {
  border-color: rgba(217, 134, 130, .55);
  color: var(--mp-cocoa);
  background: var(--mp-blush-soft);
  transform: translateY(-1px);
}

.mp-post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.mp-post-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--mp-line);
  border-radius: 22px;
  background: var(--mp-paper);
  box-shadow: 0 10px 34px rgba(72, 49, 36, .045);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.mp-post-card:hover {
  border-color: rgba(217, 134, 130, .48);
  box-shadow: 0 18px 44px rgba(72, 49, 36, .09);
  transform: translateY(-4px);
}

.mp-post-card--featured {
  grid-column: 1 / -1;
  border-left: 5px solid var(--mp-blush);
  border-radius: var(--mp-radius-md);
}

.mp-post-card-content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.mp-post-card--featured .mp-post-card-content {
  justify-content: center;
  padding: clamp(36px, 5vw, 68px);
}

.mp-post-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-bottom: 16px;
  color: var(--mp-muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.mp-post-card-meta a { color: var(--mp-blush); }
.mp-post-card-meta a:hover { color: #a85454; }

.mp-post-card h2 {
  margin: 0 0 16px;
  color: var(--mp-cocoa);
  font: 700 clamp(25px, 2.2vw, 31px)/1.13 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}

.mp-post-card--featured h2 { font-size: clamp(37px, 4vw, 54px); }

.mp-post-card-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 24px;
  color: var(--mp-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 14px;
  line-height: 1.65;
}

.mp-post-card--featured .mp-post-card-excerpt { font-size: 16px; }
.mp-post-card-excerpt p { margin: 0; }

.mp-post-card-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  align-items: center;
  gap: 9px;
  border-bottom: 2px solid var(--mp-blush);
  color: var(--mp-cocoa);
  font-size: 14px;
  font-weight: 800;
}

.mp-post-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 180ms ease;
}

.mp-post-card-link:hover svg { transform: translateX(3px); }

.navigation.pagination {
  margin-top: clamp(46px, 6vw, 72px);
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 13px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mp-line);
  border-radius: 999px;
  color: var(--mp-muted);
  background: var(--mp-paper);
  font-size: 13px;
  font-weight: 750;
}

.navigation.pagination a.page-numbers:hover,
.navigation.pagination .page-numbers.current {
  border-color: var(--mp-blush);
  color: var(--mp-paper);
  background: var(--mp-blush);
}

.navigation.pagination .page-numbers.dots { border-color: transparent; background: transparent; }

.mp-archive-empty {
  max-width: 720px;
  padding: clamp(38px, 6vw, 68px);
  border: 1px solid var(--mp-line);
  border-radius: var(--mp-radius-md);
  background: var(--mp-paper);
  text-align: center;
}

.mp-archive-empty h2 {
  margin: 0 0 12px;
  font: 700 clamp(31px, 4vw, 44px)/1.15 Georgia, serif;
  letter-spacing: -.035em;
}

.mp-archive-empty p { margin: 0 0 28px; color: var(--mp-muted); }

.mp-archive-nav-link:focus-visible,
.mp-post-card h2 a:focus-visible,
.mp-post-card-meta a:focus-visible,
.mp-post-card-link:focus-visible,
.navigation.pagination a:focus-visible {
  outline: 3px solid rgba(217, 134, 130, .42);
  outline-offset: 4px;
}

/* Single post: shared editorial layout for every current and future post. */
.mp-single {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: clamp(70px, 8vw, 118px) 24px
           clamp(100px, 11vw, 160px);
  background: var(--mp-paper);
}

.mp-single-article {
  width: 100%;
  max-width: 900px;
  margin: 0 !important;
  float: none !important;
}

.mp-single-header {
  max-width: 860px;
  margin: 0 auto clamp(42px, 6vw, 72px);
  text-align: center;
}

.mp-single-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin-bottom: 20px;
}

.mp-single-categories a {
  color: var(--mp-blush);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.mp-single-title {
  margin: 0;
  color: var(--mp-cocoa);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6.2vw, 78px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.06;
}

.mp-single-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 26px;
  color: var(--mp-muted);
  font-size: 13px;
  font-weight: 600;
}

.mp-single-featured {
  margin: 0 0 clamp(46px, 7vw, 78px);
  overflow: hidden;
  border-radius: var(--mp-radius-md);
  background: var(--mp-cream);
  box-shadow: var(--mp-shadow);
}

.mp-single-featured img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.mp-article-content {
  width: 100%;
  max-width: 760px;
  margin-left: auto !important;
  margin-right: auto !important;

  color: #4d4039;
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.86;
}

.mp-article-content > *:first-child { margin-top: 0; }
.mp-article-content > *:last-child { margin-bottom: 0; }
.mp-article-content > p:empty { display: none; }

.mp-article-content p,
.mp-article-content ul,
.mp-article-content ol,
.mp-article-content blockquote,
.mp-article-content figure,
.mp-article-content table {
  margin-top: 0;
  margin-bottom: 1.55em;
}

.mp-article-content > p:first-child {
  color: var(--mp-cocoa);
  font-size: clamp(20px, 2vw, 23px);
  line-height: 1.66;
}

.mp-article-content h2,
.mp-article-content h3,
.mp-article-content h4 {
  color: var(--mp-cocoa);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -.035em;
}

.mp-article-content h2 {
  margin: 2.15em 0 .65em;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.14;
}

.mp-article-content h3 {
  margin: 1.85em 0 .6em;
  font-size: clamp(25px, 3vw, 31px);
  line-height: 1.22;
}

.mp-article-content h4 {
  margin: 1.7em 0 .55em;
  font-size: 23px;
  line-height: 1.28;
}

.mp-article-content a {
  color: #a85454;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(168, 84, 84, .35);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.mp-article-content a:hover { text-decoration-color: currentColor; }

.mp-article-content ul,
.mp-article-content ol { padding-left: 1.35em; }
.mp-article-content li { padding-left: .3em; }
.mp-article-content li + li { margin-top: .65em; }
.mp-article-content li::marker { color: var(--mp-blush); }

.mp-article-content blockquote {
  padding: 26px 30px;
  border: 0;
  border-left: 4px solid var(--mp-sage);
  border-radius: 0 var(--mp-radius-sm) var(--mp-radius-sm) 0;
  background: var(--mp-sage-soft);
  color: var(--mp-cocoa);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.55;
}

.mp-article-content hr {
  width: 72px;
  height: 2px;
  margin: clamp(42px, 6vw, 68px) auto;
  border: 0;
  background: var(--mp-blush-soft);
}

.mp-article-content img {
  height: auto;
  border-radius: var(--mp-radius-sm);
}

.mp-article-content figcaption {
  margin-top: 10px;
  color: var(--mp-muted);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.mp-article-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--mp-line);
  border-radius: 14px;
  font-size: 15px;
}

.mp-article-content th,
.mp-article-content td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--mp-line);
  text-align: left;
}

.mp-article-content th { background: var(--mp-sage-soft); color: var(--mp-cocoa); }

.mp-single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 66px;
  padding-top: 24px;
  border-top: 1px solid var(--mp-line);
  color: var(--mp-muted);
  font-size: 13px;
}

.mp-single-tags > span { color: var(--mp-cocoa); font-weight: 700; }
.mp-single-tags a { color: var(--mp-muted); }

@media (max-width: 1100px) {
  .mp-menu-toggle { display: inline-flex; }
  .mp-primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 18px 24px 28px; border-bottom: 1px solid var(--mp-line); background: var(--mp-paper); }
  .mp-primary-nav.is-open { display: block; }
  .mp-primary-nav > .menu { align-items: stretch; flex-direction: column; gap: 0; }
  .mp-primary-nav a { padding: 12px 0; }
  .mp-primary-nav > .menu > .menu-item > a::after { display: none; }
  .mp-primary-nav .sub-menu { position: static; min-width: 0; margin: 0 0 6px 14px; padding: 0 0 0 14px; border: 0; border-left: 1px solid var(--mp-line); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .mp-primary-nav .sub-menu a { padding: 7px 0; }
  .mp-hero-grid { grid-template-columns: 1fr; }
  .mp-hero-copy { max-width: 800px; }
  .mp-category-rail { grid-template-columns: repeat(7, 150px); }
  .mp-editorial-grid { grid-template-columns: 1fr; }
  .mp-editorial-intro { position: static; }
  .mp-choose-panel { grid-template-columns: 1fr 1fr; }
  .mp-principle:nth-child(3) { border-left: 0; border-top: 1px solid rgba(142,154,120,.35); }
  .mp-principle:nth-child(4) { border-top: 1px solid rgba(142,154,120,.35); }
  .mp-journal-grid { grid-template-columns: 1fr; }
  .mp-article { grid-template-columns: 230px 1fr; }
  .mp-article-media img { aspect-ratio: 4 / 3; }
  .mp-footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .mp-post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  :root { --mp-header-height: 76px; }
  .mp-container { width: min(calc(100% - 32px), var(--mp-container)); }
  .mp-brand { font-size: 31px; }
  .mp-brand-paw { width: 23px; height: 23px; }
  .mp-hero { padding-top: 38px; }
  .mp-hero-title { font-size: clamp(46px, 15vw, 66px); }
  .mp-hero-lead { font-size: 18px; }
  .mp-actions { flex-direction: column; align-items: stretch; }
  .mp-button { width: 100%; }
  .mp-hero-media img { aspect-ratio: 1 / 1; border-radius: 50px 16px 50px 16px; }
  .mp-category-rail { margin-top: 34px; }
  .mp-section { padding: 78px 0; }
  .mp-section-title { font-size: 45px; }
  .mp-section-copy { font-size: 17px; }
  .mp-feature { grid-template-columns: 1fr; gap: 20px; }
  .mp-feature-media { border-radius: 40px 14px 40px 14px; }
  .mp-choose-panel { grid-template-columns: 1fr; }
  .mp-principle + .mp-principle { border-left: 0; border-top: 1px solid rgba(142,154,120,.35); }
  .mp-journal-header { align-items: start; flex-direction: column; }
  .mp-article { grid-template-columns: 1fr; }
  .mp-article-media img { aspect-ratio: 4 / 3; }
  .mp-closing-panel::before, .mp-closing-panel::after { display: none; }
  .mp-footer-grid { grid-template-columns: 1fr 1fr; }
  .mp-footer-brand { grid-column: 1 / -1; }
  .mp-footer-bottom { flex-direction: column; }
  .mp-archive-heading-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .mp-archive-count { margin-bottom: 0; }
  .mp-archive-nav { flex-wrap: nowrap; margin-right: -16px; padding-right: 16px; overflow-x: auto; }
  .mp-archive-nav-link { flex: 0 0 auto; }
  .mp-post-list { grid-template-columns: 1fr; gap: 22px; }
  .mp-post-card--featured { border-radius: 22px; }
  .mp-post-card--featured .mp-post-card-content { padding: 28px; }
  .mp-post-card--featured h2 { font-size: 34px; }
  .mp-post-card--featured .mp-post-card-excerpt { font-size: 14px; }
  .mp-single { padding-top: 54px; }
  .mp-single-article { width: min(calc(100% - 32px), 900px); }
  .mp-single-header { text-align: left; }
  .mp-single-categories, .mp-single-meta { justify-content: flex-start; }
  .mp-single-title { font-size: 44px; }
  .mp-single-featured { border-radius: var(--mp-radius-sm); }
  .mp-article-content blockquote { padding: 22px; font-size: 20px; }
  .mp-article-content table { display: block; overflow-x: auto; }
}

@media screen and (max-width: 782px) {
  body.admin-bar .mp-site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
