.pv-mega-category-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.pv-header .pv-mega-category-row > a.pv-mega-category { display:flex; flex-direction:row; align-items:center; gap:.65rem; min-width:0; text-decoration:none; }
.pv-mega-category-row .pv-mega-category[aria-current="page"] { text-decoration: underline; }
.pv-mega-expand {
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    color: inherit;
    border: 1px solid transparent;
    border-radius: .5rem;
    cursor: pointer;
}
.pv-mega-expand:hover, .pv-mega-expand[aria-expanded="true"] { background: var(--pv-surface, #f3f3ef); }
.pv-mega-expand:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.pv-header-reveal .wp-site-blocks > .wp-block-template-part:first-child { transition: transform 180ms ease; }
.pv-header-reveal.pv-header-away .wp-site-blocks > .wp-block-template-part:first-child:not(:has(:focus-visible)) {
    transform: translateY(calc(-100% - var(--wp-admin--admin-bar--height, 0px)));
}
@media (prefers-reduced-motion: reduce) {
    .pv-header-reveal .wp-site-blocks > .wp-block-template-part:first-child { transition: none; }
}
html:has(.pv-header-reveal) { scroll-padding-block-start: var(--pv-header-offset, 0px); }
.pv-menu-custom .pv-header :is(.wp-block-navigation, .pv-header-center) {
    font-family: var(--pv-menu-font, inherit);
    font-size: var(--pv-menu-size, inherit);
    font-weight: var(--pv-menu-weight, inherit);
    font-style: var(--pv-menu-style, inherit);
    letter-spacing: var(--pv-menu-tracking, inherit);
    text-transform: var(--pv-menu-case, inherit);
    color: var(--pv-menu-text, inherit);
    background-color: var(--pv-menu-background, transparent);
}
.pv-menu-custom .pv-header :is(.wp-block-navigation-item__content, .pv-header-center a, .pv-header-center summary) {
    color: var(--pv-menu-text, inherit);
    border-radius: var(--pv-menu-radius, revert-layer);
}
.pv-menu-custom .pv-header :is(.wp-block-navigation-item__content, .pv-header-center a, .pv-header-center summary):is(:hover, :focus-visible) {
    color: var(--pv-menu-hover-text, inherit);
    background-color: var(--pv-menu-hover-background, transparent);
    text-decoration-line: var(--pv-menu-indicator, revert-layer);
}
.pv-menu-custom .pv-header :is(.wp-block-navigation-item__content, .pv-header-center a)[aria-current="page"] {
    color: var(--pv-menu-active-text, inherit);
    background-color: var(--pv-menu-active-background, transparent);
    text-decoration-line: var(--pv-menu-indicator, revert-layer);
}
.pv-menu-custom .pv-header :is(.pv-mega-panel, .pv-pages-panel, .wp-block-navigation__submenu-container) {
    color: var(--pv-menu-dropdown-text, revert-layer);
    background-color: var(--pv-menu-dropdown-background, revert-layer);
}
.pv-menu-custom .pv-header :is(.pv-mega-panel, .pv-pages-panel, .wp-block-navigation__submenu-container) a { color: var(--pv-menu-dropdown-text, var(--pv-text,#202b26)); }
.pv-menu-custom .pv-header :is(.pv-mega-panel, .pv-pages-panel, .wp-block-navigation__submenu-container) a:is(:hover,:focus-visible) { color: var(--pv-menu-dropdown-hover, var(--pv-primary,#245b47)); }
.pv-menu-custom .pv-header :is(.pv-mega-panel, .pv-pages-panel, .wp-block-navigation__submenu-container) a[aria-current="page"] { color: var(--pv-menu-dropdown-active, var(--pv-primary,#245b47)); }
@media (min-width: 1001px) {
    .pv-menu-custom .pv-header :is(.wp-block-navigation__container, .pv-header-center) {
        gap: var(--pv-menu-gap, revert-layer);
        justify-content: var(--pv-menu-align, revert-layer);
    }
    .pv-menu-custom .pv-header :is(.wp-block-navigation-item__content, .pv-header-center > details > summary) {
        padding-inline: var(--pv-menu-pad-x, revert-layer);
        padding-block: var(--pv-menu-pad-y, revert-layer);
    }
}

.pv-mega-category-row .pv-mega-parent-copy { display:flex; flex-direction:column; align-items:flex-start; gap:.15rem; min-width:0; }
.pv-mega-category-row .pv-mega-parent-copy small { white-space:nowrap; }
.pv-toc-toggle {
    display:flex; width:100%; align-items:center; justify-content:space-between; gap:.75rem;
    padding:.3rem 0; border:0; background:transparent; color:inherit; font:inherit; font-weight:700;
    text-align:start; cursor:pointer;
}
.pv-toc-toggle:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
.pv-toc-indicator {
    display:grid; place-items:center; flex:0 0 44px; height:44px;
    border:1px solid currentColor; border-radius:50%; font-size:1.25rem;
}
.pv-toc nav[hidden] { display:none; }

.pv-byline-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.65rem; }

.pv-header-center > :is(.pv-expanded-link,.pv-expanded-more) { display:none; }
.pv-header .pv-header-center > :is(.pv-pages-nav,.pv-mega-nav) > :is(.pv-pages-panel,.pv-mega-panel) {
    background:var(--pv-menu-dropdown-background,var(--pv-bg,#fffefa));
    border:1px solid var(--pv-border,#ddd);
    box-shadow:0 10px 24px rgb(0 0 0 / .12);
}
@media (min-width:1001px) {
    .pv-header .pv-header-center.pv-header-expanded {
        display:flex;
        flex-wrap:wrap;
        align-items:center;
        justify-content:var(--pv-menu-align,center);
        min-width:0;
        gap:var(--pv-menu-gap,.5rem);
    }
    .pv-header .pv-header-center > .pv-compact-fallback { display:none!important; }
    .pv-header .pv-header-center > .pv-expanded-more { display:block; }
    .pv-header .pv-header-center > .pv-expanded-link {
        display:inline-flex;
        align-items:center;
        min-height:44px;
        padding:var(--pv-menu-pad-y,.3rem) var(--pv-menu-pad-x,.5rem);
        text-decoration:none;
    }
    .pv-header .pv-header-center > .pv-expanded-link:is(:hover,:focus-visible),
    .pv-header .pv-header-center.pv-header-expanded > details > summary:is(:hover,:focus-visible) {
        color:var(--pv-menu-hover-text,var(--pv-text,#202b26));
        background:var(--pv-menu-hover-background,var(--pv-soft,#eef2ec));
        border-radius:var(--pv-menu-radius,.35rem);
    }
}
.pih-article-fold > summary { position:relative; }
.pih-article-fold > summary > .pv-photo-save { position:absolute; inset:8px 8px auto auto; z-index:2; }
.pih-challenge:has(> .pih-game-like) .pih-article-fold > summary > .pv-photo-save { right:65px; }
.pv-header .pv-header-center > .pv-pages-nav > .pv-pages-panel { top:100%; }
.pv-header .pv-header-center > .pv-mega-nav > .pv-mega-panel {
    background:var(--pv-menu-dropdown-background,var(--pv-bg,#fffefa))!important;
}
.pv-header .pv-header-center > .pv-expanded-more > summary::after {
    content:'⌄'!important;
    display:inline!important;
    margin-inline-start:.4rem;
}
.pv-header .pv-header-center > details:not([open]) > :is(.pv-pages-panel,.pv-mega-panel) {
    display:none!important;
}
.pv-header .pv-header-actions {
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:clamp(8px,1vw,14px);
    flex:0 0 auto;
    margin-inline-start:auto;
}
.pv-header .pv-header-actions :is(.pv-header-search,.pv-header-cart,.pv-header-social) { margin:0!important; }
.pv-header .pv-header-actions > .pv-header-cart { position:relative; inset:auto; transform:none; }
.pv-header .pv-header-actions .pv-header-social a { min-width:32px; min-height:32px; }
.pv-header .pv-header-actions .pv-header-social img { width:17px; height:17px; object-fit:contain; }
.pv-header .pv-header-cta { white-space:nowrap; }

body:is(.pv-header-split-brand,.pv-header-social-centered) .pv-header .pv-header-inner {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center;
    gap:6px 12px;
}
body:is(.pv-header-split-brand,.pv-header-social-centered) .pv-header-inner > .pv-utility-nav {
    grid-row:1;
    grid-column:1;
    padding:0;
    border:0;
}
body:is(.pv-header-split-brand,.pv-header-social-centered) .pv-utility-list { justify-content:flex-start; }
body:is(.pv-header-split-brand,.pv-header-social-centered) .pv-header-inner > .pv-header-actions {
    grid-row:1;
    grid-column:2;
    flex-wrap:wrap;
}
body:is(.pv-header-split-brand,.pv-header-social-centered) .pv-header-inner > .pv-brand {
    grid-row:2!important;
    grid-column:1/-1!important;
    justify-self:center;
    justify-content:center;
}
body:is(.pv-header-split-brand,.pv-header-social-centered) .pv-header-inner > :is(.pv-header-center,.pv-classic-nav,.wp-block-navigation) {
    grid-area:auto / 1 / auto / -1!important;
    justify-self:center;
    max-width:100%;
}
body:is(.pv-header-split-brand,.pv-header-social-centered) .pv-header-actions .pv-header-search > summary {
    width:34px;
    height:34px;
    min-width:34px;
    min-height:34px;
}
body.pv-header-split-brand .pv-brand img { max-height:80px; }
@media (min-width:1001px) {
    body:is(.pv-header-logo-nav-cta,.pv-header-logo-nav-search,.pv-header-utility-links,.pv-header-utility-social,.pv-header-center-actions) .pv-header .pv-header-inner {
        display:flex!important;
        flex-wrap:nowrap;
        align-items:center;
        gap:clamp(12px,1.5vw,24px);
    }
    .pv-header:has(.pv-header-center) .pv-header-inner > .pv-header-actions { grid-area:1 / 3; }
    body:is(.pv-header-split-brand,.pv-header-social-centered) .pv-header-inner > .pv-header-actions { grid-area:1 / 2!important; }
    body.pv-header-center-actions .pv-header-inner > :is(.pv-classic-nav,.wp-block-navigation,.pv-header-center) { margin-inline:auto; }
}
@media (max-width:540px) {
    .pv-header .pv-header-actions { flex:0 1 auto; flex-wrap:wrap; }
    body:is(.pv-header-split-brand,.pv-header-social-centered) .pv-header-inner > .pv-header-actions { max-width:48vw; }
}
/* Food V2 gives recipe discovery a portrait-card layout. */
.pv-preset-food-pinterest .pv-hero { display:flex; flex-direction:column; text-align:center; gap:1.25rem; }
.pv-preset-food-pinterest .pv-hero-copy { width:min(100%,48rem); margin-inline:auto; }
.pv-preset-food-pinterest .pv-hero-photos { position:relative; inset:auto; z-index:0; height:auto; display:grid; width:100%; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.pv-preset-food-pinterest .pv-hero-photo { display:block; min-width:0; aspect-ratio:4/3; overflow:hidden; border-radius:1rem; }
.pv-preset-food-pinterest .pv-hero-photo:only-child { grid-column:1/-1; aspect-ratio:2/1; }
.pv-preset-food-pinterest .pv-hero-photo img { width:100%; height:100%; object-fit:cover; }
.pv-preset-food-pinterest .pv-tall .pv-card-media { aspect-ratio:2/3; }
@media(max-width:600px) {
    .pv-preset-food-pinterest .pv-hero-photos { gap:.5rem; }
    .pv-preset-food-pinterest .pv-hero-photo { aspect-ratio:1; }
}
.pv-header .pv-utility-bar { background:var(--pv-menu-utility-background,var(--pv-soft,#eef2ec)); color:var(--pv-menu-utility-text,var(--pv-text,#202b26)); }
.pv-header .pv-utility-inner { width:min(var(--pv-wide,1280px),calc(100% - 32px)); margin:auto; display:flex; align-items:center; justify-content:space-between; gap:.65rem; }
.pv-header .pv-utility-inner > .pv-utility-nav { width:auto; padding:0; margin:0; background:none; border:0; font-size:.68rem; }
.pv-header .pv-utility-inner .pv-utility-list { justify-content:flex-start; gap:.25rem .8rem; }
.pv-header .pv-utility-actions { display:flex; align-items:center; gap:.3rem; margin-inline-start:auto; }
.pv-header .pv-utility-actions .pv-header-search { margin:0!important; }
.pv-header .pv-utility-actions :is(.pv-header-social a,.pv-header-search > summary) { width:30px; height:30px; min-width:30px; min-height:30px; color:inherit; background:transparent; }
.pv-header .pv-utility-actions .pv-header-social :is(.dashicons,img) { width:15px; height:15px; font-size:15px; }
.pv-header .pv-mega-category:visited { color:var(--pv-menu-dropdown-text,var(--pv-text,#202b26)); }
.pv-header .pv-mega-category:hover { color:var(--pv-menu-dropdown-hover,var(--pv-primary,#245b47)); }
.pv-header .pv-mega-category[aria-current="page"] { color:var(--pv-menu-dropdown-active,var(--pv-primary,#245b47)); }
.pv-header .pv-header-center > :is(.pv-mega-nav,.pv-pages-nav) > summary { border-color:transparent; min-height:44px; box-sizing:border-box; }
.pv-header .pv-header-center > :is(.pv-mega-nav,.pv-pages-nav) > summary:is(:hover,:focus-visible) { text-decoration:var(--pv-menu-indicator,underline); }
@media(max-width:700px) {
  .pv-header .pv-utility-inner { flex-wrap:wrap; }
  .pv-header .pv-utility-actions { flex-wrap:wrap; }
}
body.pv-header-wide-search .pv-header {
  background:var(--pv-menu-brand-background,var(--pv-dark,#183f32));
  color:var(--pv-menu-brand-text,#fff);
  padding-block:0;
}
body.pv-header-wide-search .pv-header .pv-header-inner {
  box-sizing:border-box; width:min(var(--pv-wide,1280px),calc(100% - 2 * var(--pv-gutter,18px))); margin-inline:auto;
  min-height:0; padding:8px 0 0;
}
.pv-food-v2-announcement { margin:0; padding:6px 12px; text-align:center; background:rgb(0 0 0 / .18); color:inherit; font-size:.76rem; }
.pv-food-v2-search { min-width:0; }
.pv-food-v2-search .pv-search { box-sizing:border-box; margin:0 auto; width:100%; max-width:32rem; padding:3px; }
.pv-food-v2-search .pv-search :is(input[type=search],button) { min-height:40px; }
.pv-food-v2-search .pv-search button { padding:6px 16px; border-radius:999px; }
.pv-header-wide-search .pv-header-inner > .pv-header-cart { position:relative!important; inset:auto!important; transform:none!important; color:inherit; }
.pv-header-wide-search .pv-header .pv-brand :is(a,p) { color:inherit; }
.pv-header-wide-search .pv-header .pv-mega-panel { padding-inline:clamp(18px,3vw,32px)!important; color:var(--pv-menu-dropdown-text,var(--pv-text,#202b26)); }
.pv-header-wide-search .pv-header .pv-mega-panel :is(.pv-mega-heading strong,.pv-mega-tab-panel h3) { color:inherit; }
.pv-header-wide-search .pv-header .pv-mega-category-row { padding-inline:6px; }
.pv-header-wide-search .pv-header .pv-mega-sublist { padding-inline:6px; }
@media (min-width:1001px) {
  body.pv-header-wide-search .pv-header .pv-header-inner {
    display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,min(48%,32rem)) minmax(0,1fr)!important; gap:6px 16px!important;
  }
  .pv-header-wide-search .pv-header-inner > .pv-brand { grid-area:1 / 1; justify-self:start; }
  .pv-header-wide-search .pv-header-inner > .pv-food-v2-brands { grid-area:1 / 1; justify-self:end; }
  .pv-header-wide-search .pv-header-inner > .pv-food-v2-search { grid-area:1 / 2; }
  .pv-header-wide-search .pv-header-inner > .pv-header-cart { grid-area:1 / 3; justify-self:end; margin:0!important; }
  .pv-header-wide-search .pv-header-menu-row {
    grid-area:2 / 1 / 2 / -1; display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
    gap:0 var(--pv-menu-gap,.75rem); min-width:0; border-top:1px solid rgb(255 255 255 / .3);
  }
  .pv-header-wide-search .pv-header .pv-header-menu-row > :is(.pv-header-center,.pv-classic-nav,.wp-block-navigation) {
    flex:0 1 auto; width:auto; max-width:100%; margin:0; justify-content:center;
  }
  .pv-header-wide-search .pv-header-menu-row :is(.pv-classic-nav nav ul,.wp-block-navigation__container) { justify-content:center; }
  .pv-header-wide-search .pv-header-menu-row .pv-header-center > details > summary { padding-inline:var(--pv-menu-pad-x,.75rem); }
  .pv-header-wide-search .pv-header .pv-header-menu-row :is(.pv-classic-nav li > a,.wp-block-navigation__container > li > a,.pv-header-center > a,.pv-header-center > details > summary) {
    color:var(--pv-menu-text,var(--pv-menu-brand-text,#fff))!important;
  }
  .pv-header-wide-search .pv-header .pv-header-menu-row :is(.pv-classic-nav li > a,.wp-block-navigation__container > li > a,.pv-header-center > a,.pv-header-center > details > summary):is(:hover,:focus-visible),
  .pv-header-wide-search .pv-header .pv-header-menu-row .pv-header-center > details[open] > summary {
    color:var(--pv-menu-hover-text,var(--pv-text,#202b26))!important;
    background:var(--pv-menu-hover-background,var(--pv-soft,#eef2ec));
  }
}
.pv-food-v2-brands > summary { cursor:pointer; font-weight:750; padding:.45rem .75rem; border:1px solid currentColor; border-radius:99px; }
.pv-food-v2-brand-panel {
  position:absolute; inset-inline:0; top:100%; z-index:110;
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,115px),1fr)); gap:1rem;
  max-height:65dvh; overflow:auto; padding:1.25rem; background:var(--pv-bg,#fffefa); color:var(--pv-text,#202b26);
  box-shadow:0 16px 32px rgb(0 0 0 / .18);
}
.pv-food-v2-brand-panel a { display:grid; gap:.4rem; text-align:center; color:inherit; }
.pv-food-v2-brand-panel img { width:100%; height:82px; object-fit:contain; }
.pv-food-v2-brands:not([open]) > .pv-food-v2-brand-panel { display:none; }
.pv-preset-food-pinterest .wp-site-blocks > .pv-front:has(.pv-homepage) {
  width:100%!important; max-width:none!important; margin-block-start:0!important; padding-inline:0;
}
.home.pv-preset-food-pinterest .pv-header { border-block-end:0; }
.pv-preset-food-pinterest .pv-front > .pv-homepage { width:100%; max-width:none; }
.pv-preset-food-pinterest #pv-food-v2-recipes > .pv-section {
  width:min(var(--pv-wide,1280px),calc(100% - 2 * var(--pv-gutter,18px))); margin-inline:auto;
}
.pv-preset-food-pinterest .pv-homepage .pv-hero { display:grid; position:relative; isolation:isolate; min-height:clamp(380px,43vw,690px); margin-inline:0; margin-top:0; border-radius:0; text-align:start; align-content:start; background:var(--pv-dark,#183f32); }
.pv-preset-food-pinterest .pv-homepage .pv-hero-photos { position:absolute; inset:0; width:100%; height:100%; grid-template-columns:1fr; }
.pv-preset-food-pinterest .pv-homepage .pv-hero-photo { height:100%; width:100%; aspect-ratio:auto; border-radius:0; }
.pv-preset-food-pinterest .pv-homepage .pv-hero-copy { position:relative; z-index:2; color:#fff; width:min(100%,var(--pv-wide,1280px)); padding:clamp(28px,5vw,70px); }
.pv-preset-food-pinterest .pv-homepage .pv-hero-copy :is(h1,p) { color:#fff; text-shadow:0 1px 6px #000; }
.pv-preset-food-pinterest .pv-homepage .pv-hero::after { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(110deg,#000b,transparent 76%); pointer-events:none; }
.pv-food-v2-feature { z-index:2; align-self:end; justify-self:start; margin:clamp(16px,4vw,52px); display:flex; align-items:center; gap:12px; width:min(300px,calc(100% - 36px)); background:var(--pv-bg,#fffefa); color:var(--pv-text,#202b26); padding:8px; text-decoration:none; }
.pv-food-v2-feature img { width:72px; height:64px; object-fit:cover; }
.pv-preset-food-pinterest .pv-homepage .pv-hero { align-content:space-between; }
.pv-preset-food-pinterest .pv-section-latest .pv-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.pv-preset-food-pinterest .pv-section-latest .pv-card img { aspect-ratio:16/10; }
.pv-preset-food-pinterest .pv-hero-collection { background:var(--pv-dark,#183f32); color:#fff; padding:clamp(22px,4vw,52px) 16px; }
.pv-preset-food-pinterest .pv-hero-collection h2 { color:inherit; text-align:center; }
.pv-food-v2-section-head,.pv-food-v2-tabs { display:flex; justify-content:space-between; align-items:center; gap:.75rem; flex-wrap:wrap; }
.pv-food-v2-tabs { justify-content:flex-start; margin-block:12px 20px; }
.pv-food-v2-product { flex:0 0 calc((100% - 48px)/4); min-width:0; text-align:center; display:grid; align-content:start; gap:8px; }
.pv-food-v2-product img { width:100%; aspect-ratio:1; object-fit:contain; display:block; }
.pv-food-v2-product strong { display:block; margin-top:6px; }
@media(max-width:650px) {
  .pv-preset-food-pinterest .pv-section-latest .pv-grid { grid-template-columns:1fr; }
  .pv-food-v2-product { flex-basis:calc((100% - 16px)/2); }
}
.pv-food-v2-shop .pv-carousel-track { display:flex; gap:16px; overflow-x:auto; }
.pv-food-v2-tabs a { color:var(--pv-primary,#245b47); font-weight:650; }
.pv-header :is(.pv-classic-nav a,.wp-block-navigation-item__content,.pv-header-center > a,.pv-header-center > details > summary) { border-radius:0!important; }
.pv-sidebar-sticky { scrollbar-width:none; }
.pv-sidebar-sticky::-webkit-scrollbar { display:none; }
.pv-hero-collection > h2 { margin:0 0 1rem; padding-inline:16px; }
.pv-mobile-header-menu { display:none; }
@media(max-width:1000px) {
  .pv-header .pv-mobile-header-menu { display:block; position:relative; order:5; flex:0 0 auto; justify-self:end; }
  .pv-mobile-header-menu > summary { display:grid; place-items:center; width:44px; height:44px; list-style:none; cursor:pointer; color:inherit; font-size:1.35rem; }
  .pv-mobile-header-menu > summary::-webkit-details-marker { display:none; }
  .pv-mobile-header-menu:not([open]) > .pv-mobile-header-panel { display:none; }
  .pv-mobile-header-menu > .pv-mobile-header-panel { position:absolute; inset-inline-end:0; top:100%; z-index:120; box-sizing:border-box; width:min(340px,85vw); padding:12px; background:var(--pv-bg,#fffefa); color:var(--pv-text,#202b26); border:1px solid var(--pv-border,#ddd); border-radius:10px; box-shadow:0 8px 24px #0002; }
  .pv-mobile-header-panel .pv-classic-nav > summary { display:none; }
  .pv-mobile-header-panel :is(.pv-header-center,.pv-header-social) { display:flex; flex-wrap:wrap; color:var(--pv-text,#202b26); }
  .pv-mobile-header-panel .pv-header-center { justify-content:flex-start; border:0; }
}
.pv-mobile-header-actions { display:none; }
@media(max-width:1000px) {
  .pv-header .pv-utility-bar:not(:has(.pv-utility-nav,.pv-header-search,.pv-header-social)) { display:none; }
  .pv-header .pv-mobile-header-actions { display:flex; align-items:center; justify-content:flex-end; gap:4px; order:5; margin-inline-start:auto; }
  .pv-header .pv-mobile-header-actions > :is(.pv-header-cart,.pv-header-search,.pv-mobile-header-menu) { flex:0 0 auto; position:relative; inset:auto; transform:none; margin:0!important; order:initial; color:inherit; }
  .pv-header .pv-mobile-header-actions > .pv-header-cart { display:grid; place-items:center; width:44px; height:44px; }
  .pv-header .pv-mobile-header-actions > .pv-header-cart svg { width:21px; height:21px; }
  .pv-header .pv-mobile-header-actions > .pv-header-search > summary { display:grid; place-items:center; width:44px; height:44px; min-height:44px; font-size:1.5rem; }
  .pv-mobile-header-panel > .pv-utility-nav { width:auto; padding:8px 0 0; margin:8px 0 0; border:0; border-top:1px solid var(--pv-border,#ddd); }
  .pv-mobile-header-panel .pv-utility-list { justify-content:flex-start; }
  .pv-mobile-header-actions .pv-search-panel { inset-inline-end:0; max-width:calc(100vw - 75px); }
  .pv-header-wide-search .pv-mobile-header-actions { position:relative; }
  .pv-header-wide-search .pv-mobile-header-actions > .pv-header-search { position:static; }
  .pv-header-wide-search .pv-mobile-header-actions .pv-search-panel {
    inset-inline:auto 0; width:min(24rem,calc(100vw - 2 * var(--pv-gutter,18px))); max-width:none; transform:none;
  }
}
@media(max-width:1000px) {
  .pv-header .pv-header-inner > .pv-brand { flex:1 1 auto; min-width:0; }
  .pv-header .pv-header-inner > .pv-brand img { max-width:min(140px,37vw); }
  body:is(.pv-header-split-brand,.pv-header-social-centered) .pv-header-inner > .pv-mobile-header-actions { grid-area:1 / 2; }
}

/* Shared search glyph avoids the original nested border and icon treatments. */
.pv-ui-search-button > .pv-ui-search-glyph {
  position:absolute; inset:50% auto auto 50%; translate:-50% -50%;
  width:18px; height:18px; color:inherit; pointer-events:none;
}
.pv-ui-search-button > .pv-ui-search-glyph::before,
.pv-ui-search-button > .pv-ui-search-glyph::after {
  content:""; position:absolute; box-sizing:border-box;
}
.pv-ui-search-button > .pv-ui-search-glyph::before {
  inset:1px auto auto 1px; width:12px; height:12px;
  border:1.8px solid currentColor; border-radius:50%;
}
.pv-ui-search-button > .pv-ui-search-glyph::after {
  inset:11px auto auto 11px; width:7px; height:2px;
  background:currentColor; border-radius:1px; transform:rotate(45deg); transform-origin:1px 50%;
}
.pv-header-search > summary.pv-ui-search-button { position:relative; }
.pv-discovery .pv-discovery-form,
.pv-discovery .pv-discovery-form .wp-block-search__inside-wrapper { gap:8px; min-width:0; }
.pv-discovery .pv-discovery-form input[type="search"] { min-width:0; }
.pv-discovery .pv-discovery-form button.pv-ui-search-button {
  position:relative; flex:0 0 44px; width:44px; height:44px; min-width:44px; min-height:44px;
  border-radius:50%; padding:0; margin:0; font-size:0;
}
.pv-footer .pv-footer-bottom .pv-back-top {
  display:grid; place-items:center; padding:0; flex-shrink:0;
}
.pv-footer .pv-back-top svg { display:block; margin:0; }
a.pv-button:is(.pv-journal-button,.pv-card-recipe) {
  background:var(--pv-primary,#245b47);
  color:var(--pv-on-primary,#fff);
  min-height:44px;
}
a.pv-button:is(.pv-journal-button,.pv-card-recipe):is(:hover,:active) {
  text-decoration:underline;
  text-underline-offset:.2em;
}
a.pv-button:is(.pv-journal-button,.pv-card-recipe):focus-visible {
  outline:2px solid #000; outline-offset:2px;
  box-shadow:0 0 0 2px #fff,0 0 0 6px #fff;
}
.pv-journal-button { align-self:start; margin-block-start:.55rem; }
@media (max-width:1000px) {
  .pv-header-inner:has(.pv-mobile-header-actions) .pv-header-cart:not(.pv-mobile-header-actions > .pv-header-cart),
  .pv-header-inner:has(.pv-mobile-header-actions > .pv-header-cart) .wp-block-woocommerce-mini-cart { display:none!important; }
  .pv-mobile-header-actions > .wp-block-woocommerce-mini-cart { margin:0; }
  .pv-header .pv-mobile-header-panel .pv-header-center > .pv-mega-nav > .pv-mega-panel {
    position:static; inset:auto; transform:none; width:100%; max-width:none;
    padding:10px 12px!important; box-shadow:none; border-radius:8px;
  }
  .pv-mobile-header-panel .pv-mega-panel .pv-mega-tabs { display:block; min-height:0; }
  .pv-mobile-header-panel .pv-mega-panel .pv-mega-tab-list { border:0; padding:0; }
  .pv-mobile-header-panel .pv-mega-panel .pv-mega-tab-content { padding:10px 0 0; border:0; }
  .pv-mobile-header-panel .pv-mega-panel .pv-mega-category-row { padding:5px 0; }
  .pv-mobile-header-panel .pv-mega-panel .pv-mega-feature { display:none; }
}
@media (max-width:767px) {
  .pv-section-spotlight .pv-card-copy > p {
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  }
}

@media (max-width:1000px) {
  .pv-mobile-header-panel .pv-header-center > details > summary,
  .pv-mobile-header-panel .pv-header-center > .pv-expanded-link,
  .pv-mobile-header-panel .pv-pages-panel > a { min-height:32px; }
}
.pv-journal-archives .wp-block-query-pagination a,
.pv-section-more nav a.page-numbers {
  display:inline-flex; align-items:center; justify-content:center;
  min-width:28px; min-height:28px;
}

.pv-rank-math-toc > summary { cursor:pointer; min-height:32px; }
.pv-rank-math-toc > summary > :is(h2,h3,h4,h5,h6) { display:inline; }
.pv-rank-math-toc > summary:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
