.yd-elementor-section { margin-block: clamp(24px, 5vw, 64px); }
.yd-elementor-section:empty { display: none; }
.yd-view-articles .archive a.page-numbers.current,
.yd-view-articles .archive span.page-numbers.current { background: #293441; color: #fff; }
.yd-view-articles .archive-filter button { min-height: 42px; cursor: pointer; }
.yd-view-article-pellet .post-prose iframe { max-width: 100%; }
.detail-banner:not(:has(.detail-picture)) { grid-template-columns: 1fr; min-height: 0; }
.product-info-card { overflow-wrap: anywhere; }
.product-info-card table { display: block; max-width: 100%; overflow-x: auto; }
.yd-form-status { font-weight: 700; }
.yd-form-status[data-state=error] { color: #902823; }
.yd-design-fallback { min-height: clamp(100px, 18vw, 200px); padding: 2rem; }
.yd-product-image { aspect-ratio: 1; overflow: hidden; background: #f5f7f9; }
.yd-product-image img { width: 100%; height: 100%; object-fit: cover; }
.yd-pagination a:focus-visible { outline: 2px solid #a8302b; outline-offset: 3px; }
.yd-view-article-pellet .post-prose :is(h2,h3)[id] { scroll-margin-top: 112px; }
.yd-layout-items.e-con {
  --padding-top: 0px;
  --padding-right: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --gap: 0px;
}

.yd-elementor-layout .yd-layout-items.e-con,
.yd-elementor-layout .yd-layout-items.e-con > .e-con-inner {
  display: contents;
}

.yd-product-gallery {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}

.yd-product-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.yd-product-extensions {
  margin-block: 2rem;
}

.yd-polish-home body.yd-view-home > .header .nav {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.yd-polish-home body.yd-view-home > .header .nav > a {
  padding-inline: clamp(6px, 0.8vw, 13px);
}

.yd-polish-home body.yd-view-home > .header:not(.is-scrolled) {
  background: linear-gradient(180deg, #192a3bd9 0%, #192a3b8f 60%, #192a3b20 100%);
}

/* Open the same light header used on scroll while a visitor uses the menu. */
.yd-polish-home body.yd-view-home > .header.yd-header-active:not(.is-scrolled) {
  --nav-ink: #293441;
  --nav-base: #f5f7fa;
  --nav-line: #dfe5ec;
  --nav-active: #faeeed;
  --nav-accent: #a72925;
  background: #fff;
  border-bottom-color: #dfe5ec;
  box-shadow: 0 8px 22px #29344112;
}

.yd-polish-home body.yd-view-home > .header.yd-header-active:not(.is-scrolled) .header-tools > .button {
  background: #202a36;
}

body.admin-bar { --yd-toolbar-height: 32px; }
.yd-polish body.admin-bar > .header { top: var(--yd-toolbar-height); }
body.admin-bar .yd-reading-progress { top: calc(var(--yd-header-height, 76px) + var(--yd-toolbar-height)); }

@media (max-width: 782px) {
  body.admin-bar { --yd-toolbar-height: 46px; }
}

.yd-polish body.admin-bar > .header .mobile-nav {
  max-height: calc(100dvh - 82px - var(--yd-toolbar-height));
}

.detail-review .product-detail-page .detail-banner {
  min-height: 0;
}

.detail-review .product-detail-page .detail-copy {
  padding: clamp(18px, 3vw, 44px);
}

.detail-review .product-detail-page .detail-picture img {
  height: clamp(180px, 21vw, 280px);
  max-width: 100%;
}

.detail-review .product-detail-page .detail-info {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(10px, 1.5vw, 18px);
  margin-block: clamp(12px, 2vw, 24px);
}

.detail-review .product-detail-page .product-info-card {
  padding: clamp(14px, 2vw, 26px);
}

@media (max-width: 760px) {
  .detail-review .product-detail-page .detail-picture { order: -1; }
  .detail-review .product-detail-page .detail-picture img { height: clamp(116px, 34vw, 158px); }
}

.yd-polish body > .header .nav > a[href*="employee-form"] {
  white-space: nowrap;
}

.yd-view-contact .contact-pathways > .content-pathway {
  position: relative;
  min-width: 0;
  border: 1px solid #dbe1e7;
  border-radius: 8px;
  background: #fff;
  padding: clamp(17px, 2vw, 26px);
  box-shadow: none;
  transition: border-color .18s ease, background-color .18s ease;
}

.yd-view-contact .contact-pathways > .content-pathway:is(:hover, :focus-within) {
  border-color: #a8322d;
  background: #fbfcfd;
}

.yd-view-contact .contact-pathways .section-link::after {
  position: absolute;
  inset: 0;
  content: "";
}

.yd-view-unit-broiler-farms .yd-farm-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: 0;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  color: #fff;
  background: #192a3b;
}

.yd-farm-copy {
  padding: clamp(24px, 4.5vw, 66px);
  align-self: center;
  min-width: 0;
}

.yd-farm-copy h1 {
  color: #fff;
  font-size: clamp(25px, 3.2vw, 46px);
  line-height: 1.5;
}

.yd-farm-copy p { color: #e1e7ee; }
.yd-farm-copy .yd-farm-kicker {
  border-inline-start: 3px solid #d94a42;
  padding-inline-start: 10px;
  margin-block-end: 10px;
  font-weight: 700;
}

.yd-farm-media {
  margin: 0;
  height: 100%;
  min-height: 260px;
  border-radius: 0;
  position: relative;
}

.yd-farm-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yd-farm-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-block-start: 15px; }
.yd-farm-actions a { display: inline-flex; min-height: 44px; align-items: center; color: #fff; font-weight: 700; }
.yd-farm-actions a:first-child { padding-inline: 12px; border-radius: 6px; background: #a82f2a; }
.yd-farm-actions a:is(:hover, :focus-visible) { text-decoration: underline; }

.yd-farm-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(22px, 4vw, 48px);
}

.yd-farm-article,
.yd-farm-related { min-width: 0; }
.yd-farm-article { scroll-margin-top: 100px; }
.yd-farm-article .review-prose.post-prose {
  max-width: 72ch;
  color: #283443;
  overflow-wrap: anywhere;
  line-height: 2.1;
}

.yd-farm-article .review-prose :is(h2, h3, h4, .elementor-heading-title) {
  color: #192a3b;
  line-height: 1.65;
}

.yd-farm-article .review-prose :is(.elementor-section.elementor-section-stretched, .e-con, .elementor-container) {
  width: 100% !important;
  max-width: 100%;
  inset-inline: auto !important;
  margin-inline: 0;
}

.yd-farm-article .review-prose .elementor-column { min-width: 0; }
.yd-farm-related { padding: 19px; background: #f3f5f7; border-radius: 8px; }
.yd-farm-related h2 { margin-block-end: 10px; font-size: 1.1rem; }
.yd-farm-related a { display: block; padding-block: 9px; }

.yd-product-extensions .woocommerce-tabs { margin-block-end: 30px; }
.yd-product-extensions .woocommerce-tabs ul.tabs { padding: 0; margin-block-end: 12px; }
.yd-product-extensions .woocommerce-tabs ul.tabs::before,
.yd-product-extensions .woocommerce-tabs ul.tabs li::before,
.yd-product-extensions .woocommerce-tabs ul.tabs li::after { display: none; }
.yd-product-extensions .woocommerce-tabs ul.tabs li {
  margin: 0 0 5px;
  padding: 0;
  border: 1px solid #dce1e8;
  border-radius: 8px;
  background: #f3f5f8;
}
.yd-product-extensions .woocommerce-tabs ul.tabs li a {
  color: #243449;
  padding: 10px 15px;
}
.yd-product-extensions .woocommerce-tabs ul.tabs li.active { background: #e9edf3; }
.yd-product-extensions .woocommerce-tabs ul.tabs li a:is(:hover, :focus-visible) { color: #a8322d; }

.yd-product-extensions #reviews {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(12px, 2.5vw, 26px);
}
.yd-product-extensions #reviews > :is(#comments, #review_form_wrapper, .woocommerce-verification-required) {
  padding: clamp(16px, 2.6vw, 28px);
  border: 1px solid #dce1e8;
  border-radius: 8px;
  background: #fff;
  min-width: 0;
}
.yd-product-extensions #reviews h2,
.yd-product-extensions #reviews .comment-reply-title { font-size: 1.12rem; font-weight: 800; color: #192a3b; }
.yd-product-extensions #reviews #respond :is(input[type="text"], input[type="email"], textarea, select) {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 8px 11px;
  margin-top: 5px;
  border: 1px solid #cbd3dd;
  border-radius: 6px;
  color: #243449;
  background: #fbfcfd;
  font: inherit;
  font-size: max(16px, 1em);
}
.yd-product-extensions #reviews #respond textarea { min-height: 105px; resize: vertical; }
.yd-product-extensions #reviews #respond :focus-visible,
.yd-view-contact .contact-pathways a:focus-visible { outline: 2px solid #a8322d; outline-offset: 3px; }
.yd-product-extensions #reviews #respond .form-submit input {
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 6px;
  background: #a8322d;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.yd-product-extensions #reviews #respond .form-submit input:hover { background: #8e2825; }
.yd-product-extensions #reviews p.stars a { min-width: 34px; min-height: 30px; color: #9c371d; }
.yd-product-extensions #reviews #comments ol.commentlist { padding: 0; }
.yd-product-extensions #reviews #comments ol.commentlist li .comment-text { overflow-wrap: anywhere; }

.yd-product-extensions .related.products > h2 {
  color: #192a3b;
  font-size: clamp(18px, 2vw, 24px);
  margin-block-end: 14px;
}
.yd-product-extensions .related.products ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.yd-product-extensions .related.products ul.products::before,
.yd-product-extensions .related.products ul.products::after { display: none; }
.yd-product-extensions .related.products ul.products li.product {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid #dce1e8;
  border-radius: 8px;
  background: #fff;
  transition: border-color .18s ease;
}
.yd-product-extensions .related.products ul.products li.product:is(:hover, :focus-within) { border-color: #a8322d; }
.yd-product-extensions .related.products ul.products li.product a img {
  display: block;
  width: 100%;
  height: clamp(82px, 10vw, 138px);
  margin: 0;
  object-fit: contain;
  background: #f8f9fb;
  border-radius: 5px;
}
.yd-product-extensions .related.products ul.products li.product .woocommerce-loop-product__title {
  font-size: .9rem;
  line-height: 1.7;
  color: #192a3b;
  margin: 0;
  padding-block: 8px 4px;
  overflow-wrap: anywhere;
}
.yd-product-extensions .related.products ul.products li.product .button {
  white-space: normal;
  line-height: 1.45;
  font-size: .8rem;
  padding: 7px 9px;
  margin-block-start: 5px;
}

@media (max-width: 780px) {
  .yd-view-unit-broiler-farms .yd-farm-hero,
  .yd-farm-layout,
  .yd-product-extensions #reviews { grid-template-columns: minmax(0, 1fr); }
  .yd-farm-media { min-height: 0; aspect-ratio: 16 / 9; }
  .yd-product-extensions .related.products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yd-polish body > .header .mobile-nav a { min-height: 44px; }
}

:is(.yd-view-article-pellet, .yd-view-about, .yd-view-unit-broiler-farms) .post-prose {
  min-width: 0;
  overflow-wrap: anywhere;
}

:is(.yd-view-article-pellet, .yd-view-about, .yd-view-unit-broiler-farms) .post-prose :is(img, video, iframe) {
  max-width: 100%;
}

:is(.yd-view-article-pellet, .yd-view-unit-broiler-farms) .post-prose table {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}

.yd-view-article-pellet .post-prose .table-scroll > table {
  display: table;
  min-width: 540px;
}
