/*
 * Business theme
 */

/* ========= Tokens and reset ========= */
:root {
  --content-max: 1080px;
  --page-gutter: 1rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --main-menu-height: 50px;
  --page-bg: #ebebeb;
  --text: #333;
  --heading: #333;
  --muted: #767676;
  --link: #1e90ff;
  --link-hover: #1a0dab;
  --surface: #fff;
  --border: #dedad7;
  --business-teal: #288a99;
  --business-gold: linear-gradient(0deg, #ffde7f 35%, #fff8e1 100%);
  --business-active: linear-gradient(180deg, #1c6b8c 35%, #1e1e50 100%);
  --business-shadow: 0 1px 4px #0003;
  --shop-grid-cols-xl: 4;
  --shop-grid-cols-lg: 4;
  --shop-grid-cols-md: 3;
  --shop-grid-cols-sm: 2;
  --shop-grid-gap: 1.8rem;
  --shop-grid-gap-sm: 1rem;
  --shop-card-border: 0;
  --shop-card-padding: 0;
  --shop-card-bg: #fff;
}

html {
  font-size: 100%;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body,
button,
input,
select,
textarea {
  font-family:
    -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

body {
  margin: 0;
  padding: 0;
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.5;
  font-size: 18px;
}

img,
video,
iframe,
embed,
object {
  max-width: 100%;
}

img {
  height: auto;
}

pre {
  max-width: 100%;
  overflow-x: auto;
}

table {
  max-width: 100%;
  border-collapse: collapse;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover);
  text-decoration-thickness: 2px;
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* ========= Shared page chrome ========= */
.site-header,
footer {
  padding-inline: max(
    var(--page-gutter),
    calc((100% - var(--content-max)) / 2)
  );
}

.site-header {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  padding-block: 0;
  background: var(--business-teal);
  min-height: 130px;
}

.site-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-header > .site-branding {
  flex: 1 1 12rem;
  min-width: 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-link img {
  display: block;
}

.site-title {
  color: var(--heading);
  font-weight: 500;
  font-size: 1.3em;
  text-decoration: none;
}

.site-title,
.site-subtitle {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.site-title:hover,
a.logo-link:hover {
  text-decoration: none;
}

/* Dedicated full-width rows inside the header. */
.header-top,
.header-bottom {
  flex-basis: 100%;
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
  }

  .site-header > .site-branding {
    flex-basis: 100%;
  }

  .site-header > .logo-link,
  .site-header > img {
    margin-inline: auto;
  }
}

.content-wrap {
  width: min(calc(100% - (2 * var(--page-gutter))), var(--content-max));
  margin-inline: auto;
  padding-block: var(--space-xs);
  margin-block: 14px;
  padding: 0;
}

.content-wrap main,
.widgets-section {
  min-width: 0;
}

.content-wrap main {
  overflow-wrap: break-word;
  word-break: normal;
  background: #fff;
  padding: 20px 30px;
  box-shadow: var(--business-shadow);
  min-width: 0;
}

footer {
  width: 100%;
  margin: 0;
  padding-block: 30px;
  border-top: 5px solid var(--business-teal);
  background: #222;
  color: #fff;
  margin-top: 14px;
  font-size: 14px;
}

/* ========= Navigation: shared menu primitives ========= */
.main-menu a,
.top-menu a,
.footer-menu a {
  color: var(--link);
  text-decoration: none;
}
:is(.main-menu, .top-menu, .footer-menu) a:hover {
  color: var(--link-hover);
}
:is(.main-menu, .top-menu, .footer-menu) .menu-level {
  list-style: none;
  margin: 0;
  padding: 0;
}
:is(.main-menu, .top-menu, .footer-menu) .menu-item {
  position: relative;
  margin: 0;
}

:is(.main-menu, .top-menu) {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  background: var(--surface);
}

:is(.main-menu, .top-menu) > .menu-level-0 {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  flex: 1 1 auto;
  min-width: 0;
  background: var(--surface);
}

:is(.main-menu, .top-menu) > :is(.main-menu-elements, .top-menu-elements) {
  display: flex;
  align-items: center;
  min-width: 0;
  margin-left: auto;
}

@media (min-width: 701px) {
  .main-menu {
    padding-inline: max(
      var(--page-gutter),
      calc((100% - var(--content-max)) / 2)
    );
  }

  .main-menu > .menu-level-0 {
    padding-inline: 0;
  }
}

:is(.main-menu, .top-menu) .menu-level-0 > .menu-item {
  display: flex;
  align-items: stretch;
}

:is(.main-menu, .top-menu, .footer-menu) .menu-item > :is(a, .menu-label) {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  padding: var(--space-sm) 0.75rem;
}

:is(.main-menu, .top-menu)
  .menu-item:has(> .menu-toggle)
  > :is(a, .menu-label) {
  padding-right: 0;
}

:is(.main-menu, .top-menu) .menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2.5rem;
  padding: var(--space-sm) 0.3rem;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

:is(.main-menu, .top-menu) .menu-toggle-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  fill: currentColor;
  transition: transform 0.15s ease;
}

/* Point icon right in dropdowns */
@media (min-width: 701px) {
  :is(.main-menu, .top-menu)
    .menu-item
    > .menu-level
    .menu-item
    > .menu-toggle
    > .menu-toggle-icon,
  :is(.main-menu, .top-menu)
    .menu-item
    > .menu-level
    .menu-item
    > .menu-toggle[aria-expanded="true"]
    > .menu-toggle-icon {
    transform: rotate(-90deg);
  }
}

:is(.main-menu, .top-menu)
  .menu-toggle[aria-expanded="true"]
  .menu-toggle-icon {
  transform: rotate(180deg);
}

:is(.main-menu, .top-menu) .menu-item > .menu-level {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  min-width: 10rem;
  background: var(--surface);
  border: 1px solid var(--border);
}

:is(.main-menu, .top-menu) .menu-item > .menu-level .menu-item > .menu-level {
  top: 0;
  left: 100%;
}

:is(.main-menu, .top-menu) .menu-item:hover > .menu-level,
:is(.main-menu, .top-menu) .menu-item:focus-within > .menu-level {
  display: block;
}

:is(.main-menu, .top-menu)
  .menu-item
  > .menu-level
  .menu-item
  > :is(a, .menu-label) {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-height: 2.5rem;
  padding: var(--space-sm) 0.75rem;
}

:is(.main-menu, .top-menu) .menu-item > .menu-level .menu-item.has-children {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}

:is(.main-menu, .top-menu)
  .menu-item
  > .menu-level
  .menu-item.has-children
  > :is(a, .menu-label) {
  grid-column: 1;
}

:is(.main-menu, .top-menu)
  .menu-item
  > .menu-level
  .menu-item.has-children
  > .menu-toggle {
  grid-column: 2;
}

/* Main menu state and sizing */
:where(html:not(.search-view)) .main-menu a[aria-current="page"],
:where(html:not(.search-view)) .main-menu a[aria-current="page"]:hover {
  background-color: var(--link);
  color: white;
}

.main-menu > .menu-level-0 > .menu-item > :is(a, .menu-label),
.main-menu > .menu-level-0 > .menu-item > .menu-toggle,
.main-menu[data-mobile-hamburger="1"] > .menu-mobile-toggle {
  min-height: var(--main-menu-height);
}

.menu-block {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* ========= Navigation: footer ========= */
.footer-menu {
  margin-top: var(--space-md);
}

.footer-menu .menu-toggle {
  display: none;
}

.footer-menu .menu-item > .menu-level {
  display: block;
  position: static;
  min-width: 0;
  border: 0;
  background: none;
}

.footer-menu .menu-level-0 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: var(--space-md);
  align-items: start;
}

.footer-menu .menu-level-0 > .menu-item {
  display: block;
}

.footer-menu .menu-level-0 > .menu-item > :is(a, .menu-label) {
  display: inline-block;
  min-height: 0;
  padding: 0 0 var(--space-xs);
  font-weight: 600;
}

.footer-menu
  .menu-level-0
  > .menu-item:not(.has-children)
  > :is(a, .menu-label) {
  font-weight: inherit;
}

.footer-menu .menu-level-1 {
  padding-block: var(--space-xs);
}

.footer-menu .menu-item > .menu-level > .menu-item {
  padding-block: 0.35rem;
}

.footer-menu .menu-item > .menu-level .menu-item > :is(a, .menu-label) {
  display: inline-block;
  flex: none;
  width: auto;
  min-height: 0;
  padding: 0;
}

.footer-menu .menu-item > .menu-level .menu-item.has-children {
  display: block;
}

.footer-menu .menu-level-1 .menu-level {
  padding-left: 0.75rem;
}

/* ========= Navigation: mobile ========= */
.menu-mobile-toggle {
  display: none;
}

.menu-mobile-toggle-icon {
  display: block;
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
}

@media (max-width: 700px) {
  :is(.main-menu, .top-menu) > :is(.main-menu-elements, .top-menu-elements) {
    flex: 0 0 100%;
    justify-content: center;
    margin-left: 0;
  }

  :is(.main-menu, .top-menu) .menu-item {
    width: 100%;
    flex-wrap: wrap;
    padding-block: var(--space-xs);
  }

  :is(.main-menu, .top-menu) .menu-toggle {
    min-width: 3rem;
    width: 3rem;
    margin: 0 var(--space-sm);
    padding: 0;
    background: #ddd;
  }

  :is(.main-menu, .top-menu) .menu-level-0 {
    flex-direction: column;
  }

  :is(.main-menu, .top-menu) .menu-item.has-children {
    display: flex;
    align-items: stretch;
  }

  :is(.main-menu, .top-menu) .menu-item > :is(a, .menu-label) {
    flex: 1 1 auto;
  }

  :is(.main-menu, .top-menu) .menu-item > .menu-level {
    position: static;
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
    border: 0;
    padding-left: var(--space-md);
  }

  html.js
    :is(.main-menu, .top-menu)[data-mobile-hamburger="1"]
    > .menu-mobile-toggle,
  :is(.main-menu, .top-menu)[data-mobile-hamburger="1"].menu-enhanced
    > .menu-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-sm);
    width: 100%;
    min-height: 2.5rem;
    padding: var(--space-sm) 0.75rem;
    border: 0;
    background: var(--surface);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  :is(.main-menu, .top-menu)[data-mobile-hamburger="1"] > .menu-level-0 {
    display: flex;
  }

  html.js :is(.main-menu, .top-menu)[data-mobile-hamburger="1"] > .menu-level-0,
  :is(.main-menu, .top-menu)[data-mobile-hamburger="1"].menu-enhanced
    > .menu-level-0 {
    display: none;
  }

  html.js
    :is(.main-menu, .top-menu)[data-mobile-hamburger="1"].mobile-open
    > .menu-level-0,
  :is(
      .main-menu,
      .top-menu
    )[data-mobile-hamburger="1"].menu-enhanced.mobile-open
    > .menu-level-0 {
    display: flex;
  }

  :is(.main-menu, .top-menu)[data-mobile-hamburger="1"]:not(.menu-enhanced)
    .menu-item
    > .menu-level {
    display: block;
  }

  :is(.main-menu, .top-menu)[data-mobile-hamburger="1"]:not(.menu-enhanced)
    .menu-toggle {
    display: none;
  }

  :is(.main-menu, .top-menu).mobile-open
    .menu-item.has-children:not(.is-open)
    > .menu-level {
    display: none;
  }

  :is(.main-menu, .top-menu).mobile-open
    .menu-item.has-children.is-open
    > .menu-level {
    display: block;
  }
}

/* ========= Main content and widgets ========= */
@media (min-width: 901px) {
  .content-wrap.has-widgets {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 25%);
    gap: var(--space-xl);
    align-items: start;
  }
}

@media (max-width: 900px) {
  .content-wrap.has-widgets {
    display: block;
  }

  .widgets-section {
    margin-top: var(--space-xl);
  }
}

main ul,
main ol {
  padding-inline-start: 1.5rem;
}

.entry-content ul li,
.entry-content ol li {
  margin-bottom: 5px;
}

.widgets-section ul {
  list-style: none;
  padding: 0;
}

main blockquote {
  margin-inline: 0;
  padding-inline: var(--space-md);
  border-inline-start: 3px solid var(--border);
  color: #555;
}

main table {
  width: 100%;
}

main th,
main td {
  padding: var(--space-sm);
  text-align: left;
  border: 1px solid var(--border);
}

.meta-strip {
  margin: var(--space-xs) 0 var(--space-sm);
  color: #767676;
  font-size: 15px;
  margin-bottom: 1.5rem;
  gap: 0 0.25em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  line-height: 1.5;
  margin-top: 0.5em;
}

.meta-strip .meta-strip-item:not(:last-child)::after {
  content: none;
  color: var(--muted);
}

.meta-strip a {
  display: inline-block;
}

:is(.post-article, .page-article) > .featured-image {
  display: block;
  margin-inline: auto;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  row-gap: var(--space-sm);
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.pagination a,
.pagination strong,
.pagination .current {
  display: inline-block;
  padding: 5px 10px;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 3px;
}

.pagination a:hover {
  background-color: var(--surface);
}

.pagination strong,
.pagination .current {
  background-color: var(--link);
  color: white;
  border-color: var(--link);
}

.post-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.post-container-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 700px) {
  .post-container,
  .post-container-3 {
    grid-template-columns: 1fr;
  }
}

.post-container :is(h2, h3) a {
  text-decoration: none;
}

/* ========= Breadcrumbs and content components ========= */
.breadcrumbs {
  font-size: 15px;
  width: auto;
  margin: 0 0 15px;
  max-width: none;
  padding: 0;
  background: transparent;
  line-height: 1.5;
  box-shadow: none;
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.breadcrumbs li::after {
  content: " / ";
  margin-left: 0.15rem;
  margin: 0;
  white-space: pre;
}

.breadcrumbs li:last-child::after {
  content: "";
}

.author-header,
.category-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.author-header {
  margin-block: 0;
}

.category-header {
  margin-block: var(--space-md);
}

.author-image,
.category-image {
  flex: 0 0 auto;
}

.author-biography,
.category-description {
  min-width: 0;
}

.author-box {
  display: none;
  align-items: flex-start;
  gap: 12px;
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border: 1px solid #eee;
  border-radius: 8px;
}

.author-avatar img {
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.author-meta {
  flex: 1;
  min-width: 0;
}

.author-name {
  font-weight: bold;
}

.author-bio {
  line-height: 1.45;
}

.site-copyright {
  text-align: center;
  margin: 2rem 0 0;
  font-size: 13px;
}

.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  padding-block: var(--space-md);
  padding: 0;
  margin-top: 14px;
  box-shadow: var(--business-shadow);
}

.post-nav .prev-post,
.post-nav .next-post {
  min-width: 0;
}

.post-nav .prev-post {
  text-align: right;
}

.post-nav .next-post {
  text-align: left;
}

.post-nav:not(:has(.prev-post)) .next-post,
.post-nav:not(:has(.next-post)) .prev-post {
  grid-column: 1 / -1;
  justify-self: stretch;
}

.post-nav:not(:has(.prev-post)) .next-post {
  justify-self: end;
}

.post-nav:not(:has(.next-post)) .prev-post {
  justify-self: start;
}

:is(.content-wrap, .below-main-post > .related-posts) {
  width: min(calc(100% - (2 * var(--page-gutter))), var(--content-max));
  margin-inline: auto;
}

/* ========= Search widget ========= */
.site-search-widget {
  display: flex;
  width: 100%;
  max-width: 24rem;
  min-width: 0;
}

.site-search-widget input[type="search"],
.site-search-widget select,
.site-search-widget button {
  min-height: 2.5rem;
  padding: var(--space-sm) 0.75rem;
  border: 1px solid var(--border);
  color: inherit;
  font: inherit;
}

.site-search-widget input[type="search"] {
  min-width: 0;
  flex: 1 1 auto;
  background: #fff;
}

.site-search-widget select {
  max-width: 45%;
}

.site-search-widget button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  margin-left: -1px;
  background: var(--surface);
  cursor: pointer;
}

.site-search-widget .search-icon {
  display: block;
  width: 1em;
  height: 1em;
}

.search-bar-row select {
  flex: 0 0 auto;
  margin-right: -0.5rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #ccc;
  border-right: 0;
  border-radius: 0;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 1rem;
}

/* ========= Generic alignment utilities ========= */
.align-left {
  text-align: left;
}

.align-center {
  text-align: center;
}

.align-right {
  text-align: right;
}

.align-justify {
  text-align: justify;
  text-justify: inter-word;
}

/* ========= Figure/image alignment helpers ========= */
figure.image > img {
  display: block;
}

.entry-content figure.image {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 1rem auto;
  text-align: center;
}

.entry-content figure.image > figcaption {
  font-size: 14px;
  color: #767676;
}

.aligncenter,
.wp-caption {
  display: block;
  margin: 1rem auto;
  text-align: center;
  max-width: 100%;
}

img.align-left,
figure.image.align-left,
.alignleft {
  float: left;
  margin: 0 1rem 1rem 0;
}

.entry-content figure.image.align-left {
  margin: 0 1rem 1rem 0;
}

img.align-right,
figure.image.align-right,
.alignright {
  float: right;
  margin: 0 0 1rem 1rem;
}

.entry-content figure.image.align-right {
  margin: 0 0 1rem 1rem;
}

img.align-center,
figure.image.align-center {
  display: block;
  margin-inline: auto;
}

figure.image.align-justify figcaption {
  text-align: justify;
  text-justify: inter-word;
}

.wp-caption figcaption {
  font-size: 14px;
  color: #767676;
}

/* ========= Responsive and accessibility behavior ========= */
@media (max-width: 700px) {
  .author-header,
  .author-box,
  .category-header {
    flex-direction: column;
  }

  .author-avatar {
    align-self: center;
  }

  .author-meta {
    width: 100%;
  }

  img.align-left,
  img.align-right,
  figure.image.align-left,
  figure.image.align-right,
  .alignleft,
  .alignright,
  .entry-content figure.image.align-left,
  .entry-content figure.image.align-right {
    float: none;
    display: block;
    margin: 0 auto var(--space-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Business: teal header, gold navigation, and white content panels. */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading);
  line-height: 1.2;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
}
h1 {
  font-size: 38px;
  margin: 0 0 20px;
}
h2 {
  font-size: 32px;
  margin: 0 0 20px;
}
h3 {
  font-size: 28px;
  margin: 0 0 20px;
}
h4 {
  font-size: 24px;
  margin: 0 0 20px;
}
h5 {
  font-size: 20px;
  margin: 0 0 20px;
}
h6 {
  font-size: 18px;
  margin: 0 0 20px;
}

p {
  margin: 0 0 1.5em;
}

.site-header .logo-link {
  flex: 0 0 120px;
}
.site-header .logo-link img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
.site-header .header-bottom {
  flex: 1 1 0;
  margin-inline: 10%;
  padding: 0;
  min-width: 0;
}
.site-header .site-search-widget {
  width: 100%;
  padding: 0;
  gap: 0;
  background: #fff;
  box-shadow: var(--business-shadow);
  max-width: none;
}
.site-header .site-search-widget input[type="search"] {
  border: 1px solid #ccc;
  border-radius: 0;
  padding: 10px 12px;
  font-size: 16px;
  min-width: 0;
  line-height: 22px;
}
.site-header .site-search-widget button {
  border: 0;
  border-radius: 0;
  padding: 10px 12px;
  background: var(--business-gold);
}
.main-menu {
  background: var(--business-gold);
  box-shadow: var(--business-shadow);
  border: 0;
  padding-block: 0;
  margin: 0;
}
.main-menu > .menu-level-0 {
  justify-content: center;
  gap: 0;
  background: transparent;
}
.main-menu .menu-item > :is(a, .menu-label) {
  color: #111;
  font-size: 15px;
  font-weight: 400;
  padding: 0 17px;
  line-height: 50px;
}
.main-menu .menu-item > .menu-level {
  background: #f6dfa2;
  border: 0;
  box-shadow: var(--business-shadow);
}
.main-menu .menu-item > a:is(:hover, :focus-visible) {
  background: #ffecb4;
  color: var(--link-hover);
}
.main-menu .menu-item.active > a,
.main-menu .menu-item > a[aria-current="page"] {
  background: var(--business-active);
  color: #ffecb4;
}
.main-menu .menu-toggle {
  background: transparent;
  box-shadow: none;
  color: #111;
  border: 0;
}

.breadcrumbs a {
  color: var(--muted);
}

.featured-image {
  margin-bottom: 1.5rem;
}
.featured-image img {
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  display: block;
}
.entry-content img {
  box-shadow: var(--business-shadow);
}
.entry-content::after {
  content: "";
  display: block;
  clear: both;
}
.entry-content table {
  width: 100%;
  font-size: 15px;
  margin-bottom: 1.5rem;
}
.entry-content :is(th, td) {
  border: 1px solid var(--border);
  padding: 4px;
  overflow-wrap: break-word;
  word-break: normal;
}
.entry-content :is(ul, ol) {
  padding-left: 1.5em;
}
button,
.button,
a.read-more,
input[type="submit"] {
  display: inline-block;
  background: var(--business-gold);
  color: #111;
  border: 0;
  border-radius: 0;
  padding: 10px 20px;
  box-shadow: var(--business-shadow);
  font: inherit;
}
button:hover,
.button:hover,
a.read-more:hover {
  color: var(--link-hover);
  box-shadow:
    0 8px 6px -8px #0000006b,
    0 3px 6px #0000001e,
    0 6px 6px -3px #0003;
}
button:active,
.button:active {
  background: var(--business-active);
  color: #ffecb4;
}

.post-container > article {
  background: #fff;
  padding: 30px;
  box-shadow: var(--business-shadow);
  display: flex;
  flex-direction: column;
}
.post-container h2 {
  font-size: 26px;
  margin: 0;
}
.post-container h2 a {
  color: var(--heading);
}
.post-container > article > p:last-child {
  margin-top: auto;
  text-align: center;
  padding-top: 20px;
}
.post-container .featured-image img {
  width: 100%;
}
.post-container > article > .featured-image-link {
  display: block;
  margin-inline: -30px;
}
.content-wrap:has(.post-container) main {
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.page-title:has(+ .post-container) {
  display: none;
}
.prev-next,
.post-navigation {
  background: #fff;
}
.product-card {
  text-align: left;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.product-card :is(h2, h3) {
  font-size: 22px;
  font-weight: 400;
}
.product-card :is(h2, h3) a {
  color: #333;
}
.product-card .short {
  display: none;
}
.product-card .price,
.product-meta .price {
  color: #118c4f;
}
.product-card .price {
  font-weight: 400;
  font-size: 16px;
}
.product-card > a:has(img) {
  width: 100%;
}
.product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  box-shadow: var(--business-shadow);
}
.product-card .button {
  font-size: 14px;
}

/* Product detail */
.product-detail .product-meta h1 {
  font-size: 30px;
}
.business-product .product-meta h1 {
  font-size: 38px;
  margin-bottom: 0;
}
.product-detail .pd-stage,
.product-detail .pd-single-stage {
  aspect-ratio: 1;
}
.product-detail .pd-stage img,
.product-detail .pd-single-stage img {
  object-fit: contain;
}
.product-detail .pd-nav {
  border-color: #a8a8a8 !important;
}
.product-detail .pd-nav,
.product-detail .pd-thumb {
  box-shadow: none !important;
}
.product-detail .pd-nav:hover,
.product-detail .pd-thumb:hover {
  box-shadow: 0 0 0 1px #555 !important;
}
.product-detail .pd-thumb[aria-current="true"] {
  box-shadow: 0 0 0 1px var(--business-teal) !important;
}
.product-detail .external-links .button {
  display: block;
  width: 100%;
  text-align: center;
}
.product-detail .shop-options {
  border: 0;
  padding: 0;
  margin-bottom: 0.75rem;
}
.product-detail .shop-option-tag {
  border-radius: 0;
}
.product-detail .shop-option-tag span {
  border-radius: 0;
  padding: 4px 10px;
  font-size: 16px;
  border-color: transparent;
  box-shadow: 0 0 0 1px #a8a8a8;
}
.product-detail .shop-option-tag:hover span {
  box-shadow: 0 0 0 2px #555;
}
.product-detail .shop-option-tag input:checked + span {
  background: #fff;
  color: #333;
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--business-teal);
  font-weight: 400;
}
.product-detail .product-tabs {
  justify-content: center;
}
.product-detail .attributes {
  width: 100%;
  border-collapse: collapse;
}
.product-detail .attributes :is(th, td) {
  border: 1px solid var(--border);
  padding: 8px;
  text-align: left;
}
.business-product .business-price-range {
  color: #118c4f;
  font-size: 23px;
  margin: 0 0 0.75rem;
  font-weight: 700;
}
.business-product .product-meta .short {
  margin-bottom: 0.75rem;
}
.business-product .short p {
  margin-bottom: 0.75rem;
}
.business-product .business-stock {
  margin: 0 0 1.5em;
  color: #118c4f;
  font-size: 16.56px;
  line-height: 1.5;
}
.business-product .business-stock dt {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.business-product .business-stock dd {
  margin: 0;
}
.business-product .shop-options legend {
  font-weight: 700;
  font-size: 18px;
  margin: 0;
  line-height: 36px;
}
.business-product .shop-options legend [data-selected-option-name] {
  font-size: inherit;
  display: inline-block;
  font-weight: 600;
  line-height: 36px;
}
.business-product #price_wrap {
  margin: 0;
}
.business-product #price_wrap :is(.price, .sale-price) {
  font-size: 23px;
  line-height: 1.5;
  font-weight: 400;
  color: #333;
}
.business-product .shop-option-tags {
  gap: 0;
}
.business-product .shop-option-tag {
  margin: 4px;
}
.business-product .shop-option-tag span {
  box-sizing: border-box;
  min-height: 45px;
  font-size: 18px;
  line-height: 36px;
}
.business-product .product-tabs {
  display: block;
  margin: 0 0 27px;
  padding: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}
.business-product .product-tabs > span {
  padding: 0 5px;
  font-size: 18px;
  font-weight: 400;
  display: inline-block;
  margin: 4px;
  box-shadow: 0 0 0 1px #a8a8a8;
  line-height: 27px;
}
.business-product .product-tabs > span:has(a[aria-selected="true"]) {
  box-shadow: 0 0 0 2px #288a99;
}
.business-product .product-tabs > span:hover {
  box-shadow: 0 0 0 2px #555;
}
.business-product .product-tabs a {
  display: block;
  color: #333;
  padding: 9px 0;
  border: 0;
  font-weight: 500;
  line-height: 27px;
}
.business-product .product-tabs a:hover {
  text-decoration: none;
  box-shadow: none;
}
.business-product .product-tabs a[aria-selected="true"] {
  box-shadow: none;
  border: 0;
}
.business-product [role="tabpanel"][hidden] {
  display: none;
}
.business-product #tab-attributes > h2 {
  font-size: 24px;
}
.business-product .shop-product-details {
  display: block;
  margin: 0;
  padding-block: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 16px;
  line-height: 24px;
}
.business-product .shop-product-collections {
  display: block;
  font-weight: 400;
}
.business-product .shop-product-collections dt,
.business-product .shop-product-collections dd {
  display: inline;
  margin: 0;
  font-weight: 400;
}
.business-product .shop-product-collections dt {
  margin-right: 0.25em;
}
.business-product .pd-stage figure.active {
  border: 0;
}
.shop-payment {
  display: block;
  margin: 1rem auto;
  max-width: 100%;
  box-shadow: none;
}
.category-description {
  font-size: 16px;
}
details {
  border: 1px dashed var(--border);
  padding: 10px;
  margin-bottom: 14px;
}
summary {
  cursor: pointer;
}
summary:hover {
  color: var(--link-hover);
}
.entry-content details[open] p {
  margin-block: 0.75em;
}

footer a {
  color: #fff;
}
footer a:hover {
  color: var(--link);
}
.business-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  text-align: center;
}
.business-footer-links p {
  margin-bottom: 14px;
}

.business-hero {
  max-width: 1080px;
  margin: 6px auto 0;
  position: relative;
  width: 100%;
  min-height: 170px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.business-hero > img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  margin-inline: auto;
  min-height: 170px;
}
.business-hero .home-column {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(280px, 50%);
}
.business-hero .hero {
  display: block;
  width: 100%;
  margin: 12px 0;
  text-align: center;
  font-size: 18px;
  line-height: 27px;
  padding: 10px 20px;
}
.container-home {
  display: flex;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.5em;
  flex-wrap: wrap;
}
.container-home > div,
.triple-home > div {
  padding: 10px;
  border: 1px dashed var(--border);
}
.container-home h2 {
  font-size: 26px;
}
.triple-home h2 {
  font-size: 28px;
}
.triple-home > div::after {
  content: "";
  display: block;
  clear: both;
}
.contact-us {
  background: var(--business-teal);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 22em;
  clear: both;
  padding: 0;
  flex-wrap: wrap;
}
.contact-us h2 {
  color: #fff;
  font-size: 40px;
  font-weight: 600;
  margin: 0;
}
.contact-us p {
  color: #fff;
  text-align: center;
  margin: 0;
}
.contact-us-button-p {
  width: min(40%, 400px);
  min-width: 180px;
}
.contact-us-button {
  display: block;
  text-align: center;
}
.recentposts__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0 !important;
}
.recentposts__item {
  border: 1px dashed var(--border);
  padding: 10px;
}
.recentposts__link {
  display: flex;
  flex-direction: column;
  color: #333;
}
.recentposts__title {
  font-size: 22px;
  font-weight: 400;
  margin-block: 12px;
  text-align: center;
}
.recentposts__img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.recentposts__date {
  font-size: 14px;
  color: #767676;
}
body[data-is-homepage] .content-wrap {
  margin-top: 6px;
}
body[data-is-homepage] .page-article > .featured-image {
  display: none;
}
body[data-is-homepage] .page-content > h1 {
  font-size: 38px;
}
@media (max-width: 700px) {
  body {
    font-size: 17px;
  }
  .site-header {
    flex-direction: column;
    padding: 6px 10px;
  }
  .site-header .logo-link {
    flex-basis: auto;
  }
  .site-header .header-bottom {
    flex-basis: auto;
    width: 100%;
    margin: 10px 0 0;
  }
  .main-menu .menu-mobile-toggle {
    width: 100%;
    justify-content: center;
    background: transparent;
    box-shadow: none;
    padding: 6px;
    color: #111;
    min-height: 34px;
  }
  .main-menu .menu-item > :is(a, .menu-label) {
    font-size: 16px;
    padding: 10px 16px;
  }
  .content-wrap {
    width: 100%;
    margin: 6px 0;
  }
  .content-wrap main {
    padding: 24px 20px;
  }
  .breadcrumbs {
    padding-inline: 20px;
    margin: 6px 0 -6px;
  }
  h1 {
    font-size: 34px;
  }
  .container-home,
  .recentposts__list {
    grid-template-columns: 1fr;
  }
  .container-home img {
    width: 150px;
  }
  .business-hero .hero {
    font-size: 16px;
    margin: 8px 0;
    padding: 8px 12px;
  }
  .business-hero {
    margin-top: 6px;
  }
  body[data-is-homepage] .page-content > h1 {
    font-size: 27px;
  }
  .contact-us h2 {
    font-size: 30px;
    text-align: center;
  }
  .business-footer-links {
    gap: 1rem;
    font-size: 14px;
  }
  .product-card :is(h2, h3) {
    font-size: 18px;
  }
  .entry-content table {
    display: block;
    overflow-x: auto;
    font-size: 13px;
  }
}

/* Pull archive images beyond the card's text padding. */
@media (max-width: 768px) {
  .post-container > article > .featured-image-link {
    margin-inline: -10px;
  }
}

/* Override the base navigation surface while retaining its keyboard behavior. */

.business-hero > img.align-center,
.business-hero > img.aligncenter {
  margin: 0 auto;
}
.recentposts .recentposts__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.recentposts .recentposts__link {
  border: 0;
}
.business-view-product,
.shop-view-product {
  display: inline-block;
  margin-top: 0.75rem;
}
@media (max-width: 700px) {
  html.js .main-menu[data-mobile-hamburger="1"] > .menu-mobile-toggle {
    justify-content: center;
    background: transparent;
    min-height: 34px;
    padding-block: 5px;
  }
  .recentposts .recentposts__list {
    grid-template-columns: 1fr;
  }
}

/* Shortcode grids also appear on ordinary pages without shop stylesheets. */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--shop-grid-gap);
  margin-block: 1.5rem;
}

.shortcode-grid {
  margin-bottom: 40px;
}
.shortcode-grid .product-card {
  border: 0;
  padding: 0;
}
.shortcode-grid .product-card .featured-image {
  width: 100%;
  margin: 0;
}
.below-main:has(> .related-products) {
  width: min(calc(100% - 16px), 1064px);
  margin: 12px auto 14px;
  padding: 20px 30px;
  background: #fff;
  box-shadow: var(--business-shadow);
}
@media (max-width: 900px) and (min-width: 701px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
  .below-main:has(> .related-products) {
    padding: 10px;
  }
}
html.search-view .business-hero {
  display: none;
}

/* Menu text and its separate disclosure control share one hover surface. */
.main-menu .menu-item > a:hover {
  text-decoration: none;
}
.main-menu .menu-item:is(:hover, :focus-within) > :is(a, .menu-toggle) {
  background: #ffecb4;
  color: var(--link-hover);
  text-decoration: none;
  box-shadow: none;
}
.main-menu :is(.menu-toggle, .menu-mobile-toggle):hover {
  box-shadow: none;
}

/* Keep the blog CTA below the complete recent-post grid, including its padding. */
.page-content .recentposts {
  margin-block: 0 1.5rem;
}
.page-content .recentposts .recentposts__list {
  align-items: stretch;
}
.page-content .recentposts .recentposts__item {
  min-width: 0;
}
.page-content .recentposts .recentposts__readmore {
  display: block;
  margin-block: 1rem;
  text-align: center;
}

/* Article navigation: two white panels and inset arrows. */
.content-wrap:has(.post-article) main {
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.post-article {
  padding: 20px 30px;
  background: #fff;
  box-shadow: var(--business-shadow);
}

.post-nav :is(.prev-post, .next-post) {
  position: relative;
  display: flex;
  background: #fff;
}

.post-nav a {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 30px 40px;
}
.post-nav-label {
  color: #333;
  text-transform: uppercase;
}
.post-nav a::after {
  content: "";
  position: absolute;
  top: calc(50% - 10px);
  width: 20px;
  height: 20px;
  border-left: 1px solid #999;
  border-bottom: 1px solid #999;
  opacity: 0.5;
}
.post-nav .prev-post a::after {
  left: 20px;
  transform: rotate(45deg);
}
.post-nav .next-post a::after {
  right: 20px;
  transform: rotate(225deg);
}

@media (max-width: 768px) {
  .post-nav {
    grid-template-columns: 1fr;
  }
  .post-nav .prev-post,
  .post-nav .next-post {
    grid-column: 1;
  }
}
@media (max-width: 700px) {
  .post-article {
    padding: 24px 20px;
  }
}

/* Article metadata is a plain date and byline, without pipe separators. */

.post-article > h1 {
  margin-bottom: 0;
}
.post-nav a:hover {
  text-decoration: none;
}
.post-nav a:hover > span:last-child {
  text-decoration: underline;
}
/* Canvas and rhythm at breakpoints. */

.content-wrap.content-wrap {
  width: min(calc(100% - 16px), 1064px);
  margin: 12px auto 14px;
}

.container-home img.align-center,
.container-home img.aligncenter {
  margin: 0 auto;
}

.contact-us h2,
.contact-us p {
  width: 100%;
  padding-inline: 15px;
}
.contact-us .contact-us-h2 {
  font-size: 2.22em;
}
.contact-us .contact-us-button-p {
  width: 40%;
  min-width: 0;
  padding: 0;
}

.breadcrumbs li {
  display: inline;
}

.breadcrumbs + .content-wrap.content-wrap {
  margin-top: 0;
}
.breadcrumbs + .content-wrap main,
.breadcrumbs + .content-wrap .post-article {
  padding-top: 0;
}
@media (max-width: 700px) {
  .site-header {
    padding: 6px 8px 9.5px;
  }
  .site-header .header-bottom {
    margin-top: 4px;
  }
  html.js .main-menu[data-mobile-hamburger="1"] > .menu-mobile-toggle {
    min-height: 50px;
    padding-block: 0;
    font-size: 18px;
  }
  .content-wrap main,
  .post-article,
  .post-container > article {
    padding: 10px;
  }
  .breadcrumbs {
    padding: 10px 10px 15px;
  }
  .business-product {
    --shop-pd-gap: 1rem;
  }
}

hr {
  border: 0;
  border-bottom: 1px dashed var(--border);
  background: transparent;
  margin: 40px 0;
}

/* Service-box seams and section spacing. */

.container-home > div {
  width: 100%;
  max-width: 25%;
  margin-top: -1px;
  margin-left: -1px;
}
.entry-content img.align-center,
.entry-content img.aligncenter {
  margin: 0 auto;
}
.contact-us .contact-us-p {
  font-size: 1.22em;
  min-height: 40px;
}

@media (max-width: 768px) {
  .container-home > div {
    max-width: 100%;
  }
}

/* One panel owns the breadcrumb and content, with no shadow seam between them. */

.content-wrap:has(.post-container) main > .breadcrumbs {
  padding: 20px 30px 0;
  margin-bottom: 8px;
  padding-top: 10px;
}

.main-menu > .menu-level-0 > .menu-item > .menu-toggle {
  min-height: 50px;
}
@media (max-width: 700px) {
  .main-menu .menu-item {
    padding-block: 0;
  }
  .main-menu .menu-item > :is(a, .menu-label) {
    padding-block: 0;
  }
  .content-wrap:has(.post-container) main > .breadcrumbs {
    padding: 10px 10px 0;
  }
}

/* Archive and catalog controls. */

@media (max-width: 700px) {
  .content-wrap:has(.post-container) main > .breadcrumbs {
    padding-top: 5px;
  }
}
body main .product-card :is(h2, h3) {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 400;
  margin: 10px 0 0;
}
body main .product-card .featured-image {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  body main .product-card :is(h2, h3) {
    font-size: 20px;
  }
}
#shop-products-ui .shop-products-toolbar {
  justify-content: flex-end;
  margin: 0 0 30px;
}
#shop-products-ui .sorter {
  position: relative;
  display: block;
  width: 230.5px;
  font-size: 0;
  line-height: 0;
}
#shop-products-ui .sorter select {
  appearance: none;
  display: block;
  width: 100%;
  height: 43px;
  margin: 0;
  padding: 10px 40px 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
  background: transparent;
  color: #333;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  cursor: pointer;
}
#shop-products-ui .sorter::after {
  content: "•••";
  position: absolute;
  right: 15px;
  top: 11px;
  color: #333;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  pointer-events: none;
}
@media (max-width: 700px) {
  #shop-products-ui .shop-products-toolbar {
    margin-bottom: 30px;
  }
  #shop-products-ui .sorter {
    width: 100%;
  }
}
main:has(.post-container) > .pagination {
  justify-content: flex-start;
  gap: 0;
  min-height: 67px;
  padding: 20px 30px;
  margin: 12px 0 14px;
  background: #fff;
  box-shadow: var(--business-shadow);
}
main:has(.post-container) > .pagination :is(a, .current, .ellipsis) {
  display: inline;
  min-width: 0;
  padding: 0 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 18px;
  line-height: 27px;
  text-decoration: none;
}
main:has(.post-container) > .pagination .current {
  color: #333;
  background: transparent;
  font-weight: 700;
}
main:has(.post-container) > .pagination a:hover {
  background: transparent;
  text-decoration: underline;
}
main:has(.post-container) > .pagination > :first-child {
  padding-left: 0;
}
@media (max-width: 700px) {
  main:has(.post-container) > .pagination {
    min-height: 47px;
    padding: 10px;
  }
}
/* Shop pagination is a compact row of joined square cells. */
main:has(#shop-products-root) .pagination {
  gap: 0;
  margin: 60px 0 0;
  align-items: center;
  justify-content: center;
}
main:has(#shop-products-root) .pagination :is(a, .current, .ellipsis) {
  display: inline-block;
  min-height: 0;
  padding: 4px 10px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
  color: #1e90ff;
  line-height: 26px;
  text-decoration: none;
  box-sizing: border-box;
  height: 36px;
}
main:has(#shop-products-root) .pagination .current {
  background: #e5e5e5;
  color: #777;
}
main:has(#shop-products-root) .pagination > :not(:first-child) {
  margin-left: -1px;
}
main:has(#shop-products-root) .pagination .next a,
main:has(#shop-products-root) .pagination .prev a {
  font-size: 0;
}
main:has(#shop-products-root) .pagination .next a::after {
  content: "→";
  font-size: 18px;
}
main:has(#shop-products-root) .pagination .prev a::after {
  content: "←";
  font-size: 18px;
}
main:has(#shop-products-root) .pagination a:hover {
  background: #f7f7f7;
}

#shop-products-ui .shop-result-count {
  align-self: center;
  margin: 0 auto 0 0;
  color: #555;
  font-size: 14px;
  line-height: 23px;
}
@media (max-width: 700px) {
  #shop-products-ui .shop-result-count {
    width: 100%;
    padding: 10px 0;
  }
}

main:has(#shop-products-root) .product-grid {
  column-gap: 25px;
  row-gap: 50px;
}

/* Keep Previous and Next the same square height as numbered shop pages. */
main:has(#shop-products-root) .pagination > :is(.prev, .next) {
  display: flex;
  height: 36px;
}

main:has(#shop-products-root) .pagination > :is(.prev, .next) a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
}
main:has(.post-container) > .pagination > :is(.prev, .next) a::after {
  content: " →";
}
main:has(.post-container) > .pagination > .prev a::after {
  content: "";
}

@media (min-width: 768px) {
  .business-product .pd-wrap--with-gallery {
    grid-template-columns: minmax(0, 48%) minmax(0, 48%);
    gap: 4%;
  }
  .business-product .pd-gallery {
    margin-bottom: 1.5rem;
  }
}

/* Related product cards use the same title rhythm as catalog cards */
.below-main:has(> .related-products) .related-products-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 50px;
}
.below-main:has(> .related-products)
  .related-products
  .product-card
  :is(h2, h3) {
  margin: 10px 0 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 400;
}
.below-main:has(> .related-products)
  .related-products
  .product-card
  .featured-image {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .below-main:has(> .related-products) .related-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .below-main:has(> .related-products)
    .related-products
    .product-card
    :is(h2, h3) {
    font-size: 20px;
  }
}

/* Root menu sizing must not stretch nested links. */
.main-menu .menu-item > .menu-level .menu-item > :is(a, .menu-label) {
  min-height: 0;
  padding: 16px 17px;
  font-size: 14px;
  line-height: normal;
}

/* Footer menu groups: Business, then Shop links split across two columns. */
footer .footer-menu {
  width: min(calc(100% - 16px), 1064px);
  margin: 20px auto 0;
  padding: 24px 30px 16px;
  border-top: 1px solid #ffffff40;
}
footer .footer-menu .menu-level-0 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row dense;
  gap: 0 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
footer .footer-menu .menu-level-0 > .menu-item {
  min-width: 0;
  padding: 0.3rem 0;
}
footer .footer-menu .menu-level-0 > .menu-item > a {
  display: inline-block;
  min-height: 0;
  padding: 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
}
footer .footer-menu .menu-level-0 > .menu-item > a:hover {
  color: #ffde7f;
  text-decoration: underline;
}
footer .footer-menu .menu-level-0 > .menu-item > .menu-label {
  display: block;
  padding: 0 0 0.5rem;
  color: #ffde7f;
  font-size: 18px;
  font-weight: 600;
}
footer .footer-menu .menu-level-0 > :nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}
footer .footer-menu .menu-level-0 > :nth-child(n + 2):nth-child(-n + 8) {
  grid-column: 1;
}
footer .footer-menu .menu-level-0 > :nth-child(9) {
  grid-column: 2 / 4;
  grid-row: 1;
}
footer .footer-menu .menu-level-0 > :nth-child(n + 10):nth-child(-n + 15) {
  grid-column: 2;
}
footer .footer-menu .menu-level-0 > :nth-child(n + 16) {
  grid-column: 3;
}
@media (max-width: 700px) {
  footer .footer-menu {
    padding: 20px 10px 12px;
  }
  footer .footer-menu .menu-level-0 {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1rem;
  }
  footer .footer-menu .menu-level-0 > .menu-item {
    flex: 0 0 calc(50% - 0.5rem);
  }
  footer .footer-menu .menu-level-0 > .menu-item:has(> .menu-label) {
    flex-basis: 100%;
  }
  footer .footer-menu .menu-level-0 > :nth-child(9) {
    margin-top: 1rem;
  }
}
