/* Editorial layouts for the JS Edibles detail pages. */
.detail-intro .detail-back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 12px;
  letter-spacing: .04em;
  color: #006838;
  text-decoration: none
}

.detail-intro .detail-back:hover {
  text-decoration: underline;
  text-underline-offset: 5px
}

.detail-intro h1 {
  max-width: 1000px;
  margin: 12px 0 20px;
  font-family: 'DM Sans',sans-serif;
  font-size: clamp(48px,6.1vw,88px);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -.045em;
  color: #012069
}

.detail-intro .eyebrow {
  font-size: .7rem;
  color: #006838
}

.detail-intro h1:last-child {
  margin-bottom: 0
}

.detail-intro .detail-lead {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted)
}

.detail-page h2 {
  letter-spacing: -.035em
}

.detail-page .prose p:where(:not(.eyebrow)) {
  line-height: 1.75
}

.detail-tinted {
  background: #f1f5ef
}

.detail-hero {
  isolation: isolate;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: 530px;
  padding: var(--intro-space,64px) 0;
  background: #006838;
  color: #fff
}

.detail-hero .page-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(0,37,22,.85),rgba(0,37,22,.4) 54%,rgba(0,37,22,.08));
  z-index: -1
}

.detail-hero .page-hero-inner {
  position: relative;
  z-index: 1;
  padding-block: 0
}

.detail-hero-copy {
  max-width: 700px
}

.detail-hero .eyebrow {
  font-size: .7rem;
  color: #e0efdb
}

.detail-hero h1 {
  margin: 18px 0 30px;
  font-family: 'DM Sans',sans-serif;
  font-size: clamp(58px,7.3vw,106px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.045em;
  color: #fff
}

.detail-hero-copy>p:not(.eyebrow) {
  max-width: 480px;
  margin: 0 0 32px;
  color: #f3f5ef;
  font-size: 18px;
  line-height: 1.7
}

.detail-hero .button {
  margin-top: 8px
}

.detail-farm-hero .page-hero-image {
  object-position: center 64%
}

.detail-kitchen-hero .page-hero-image {
  object-position: center 70%
}

.detail-ara-hero .page-hero-image {
  object-position: right 48%
}

.detail-ara-hero::after {
  background: linear-gradient(90deg,rgba(0,57,29,.97),rgba(0,57,29,.88) 35%,rgba(0,57,29,.15) 75%)
}

.detail-community-hero .page-hero-image {
  object-position: center 45%
}

.detail-community-hero::after {
  background: linear-gradient(90deg,rgba(0,35,18,.88),rgba(0,35,18,.5) 60%,rgba(0,35,18,.12))
}

.detail-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 24px;
  color: white;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid #ffffff70;
  padding-bottom: 6px
}

.detail-features {
  width: 100%;
  border-top: 0
}

.detail-features .feature-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 22px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid #d5ddd5;
  border-bottom: 0
}

.detail-features .feature-row:first-of-type {
  padding-top: 0;
  border-top: 0
}

.detail-features h3 {
  font-family: "DM Sans",sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.025em;
  color: #012069;
  margin: 0 0 8px
}

.detail-features p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 0
}

.detail-number {
  font-size: 12px;
  letter-spacing: .09em;
  color: #006838;
  font-weight: 500;
  padding-top: 6px
}

.detail-sticky-grid {
  align-items: start
}

.detail-sticky {
  position: sticky;
  top: 130px
}

.detail-sticky-grid>.media-frame {
  margin: 0
}

.detail-page .media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: transform .7s ease
}

.detail-page .media-frame {
  overflow: hidden
}

.detail-page .media-frame:hover img {
  transform: scale(var(--photo-hover-scale,1.025))
}

.detail-page .media-frame figcaption {
  position: relative;
  padding: 17px 0;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .015em
}

.detail-tinted .media-frame figcaption {
  background: #f1f5ef
}

.detail-grain-map img {
  aspect-ratio: 5/6;
  object-position: 57% center
}

.detail-illustration {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center
}

.detail-illustration img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain
}

.detail-caption {
  margin-top: 16px;
  text-align: center
}

.detail-warehouse {
  padding-top: var(--section-space,88px)
}

.detail-cta {
  background: #006838;
  color: #fff
}

.detail-cta h2 {
  font-size: clamp(36px,4.2vw,59px);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  max-width: 600px;
  color: #fff
}

.detail-cta .eyebrow {
  color: #c3d8bd
}

.detail-cta .prose {
  align-self: center
}

.detail-cta .prose p {
  color: #e1ede0;
  margin-top: 0;
  font-size: 16px
}

.detail-cta .button {
  background: #fff;
  color: #006838;
  border-color: #fff
}

.detail-cta .button:hover {
  background: #e5eedf
}

.people-grid {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 28px
}

.directors-grid,
.advisors-grid {
  grid-template-columns: repeat(3,minmax(0,1fr))
}

.person {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--cream);
  min-width: 0
}

.person-photo {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #e5ece3;
  margin: 0
}

.person-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transform: scale(var(--portrait-scale,1))
}

.person-photo--wide {
  --portrait-scale: 1.42;
}

.person-photo--wide img {
  transform-origin: 50% 22%;
}

.person-body {
  flex: 1;
  min-height: 114px;
  padding: 16px 20px 18px;
  border-top: 2px solid var(--green)
}

.person h3 {
  margin: 0 0 6px;
  font-family: "DM Sans",sans-serif;
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -.025em;
  color: var(--green);
  font-weight: 500
}

.person-body>p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  max-width: none
}

.warehouse-photo {
  height: 520px;
}

.detail-page .warehouse-photo img {
  aspect-ratio: auto;
}

.person-initials {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: 'DM Sans',sans-serif;
  font-size: 90px;
  color: #006838;
  background: #e5ece3
}

.detail-outcomes {
  padding: 0;
  margin: 0;
  list-style: none
}

.detail-outcomes li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid #cdd7cd
}

.detail-outcomes li:first-child {
  padding-top: 0;
  border-top: 0
}

.detail-outcomes span {
  font-size: 12px;
  color: #006838;
  padding-top: 4px
}

.detail-outcomes p {
  margin: 0;
  font-size: 22px;
  line-height: 1.5;
  color: #012069;
  letter-spacing: -.025em
}

.detail-domestic-footer {
  text-align: center
}

.detail-domestic-footer .detail-illustration {
  max-width: 900px;
  margin: 0 auto 28px
}

.detail-ara-products {
  display: flex;
  align-items: center
}

.detail-ara-products img {
  width: 100%;
  height: auto;
  transition: transform .65s
}

.detail-ara-products:hover img {
  transform: translateY(-8px)
}

.detail-character-art {
  margin-top: 40px
}

.detail-parrot {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0
}

.detail-parrot img {
  width: 75%;
  max-width: 370px;
  height: auto
}

.detail-bestsellers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw
}

.detail-bestsellers article {
  border-top: 1px solid #cad4c7;
  padding-top: 22px
}

.detail-bestsellers h3 {
  font-size: 28px;
  line-height: 1.25;
  color: #012069;
  font-weight: 500;
  margin: 20px 0 18px
}

.detail-bestsellers p {
  max-width: 450px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8
}

.detail-simple-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0
}

.detail-simple-list li {
  padding: 17px 0;
  border-top: 1px solid #d5ddd5;
  font-size: 17px;
  color: #365742
}

.detail-community-gallery {
  margin-top: var(--heading-space,40px);
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 20px
}

.detail-community-gallery figure {
  grid-column: span 2;
  margin: 0;
  overflow: hidden
}

.detail-community-gallery figure:nth-child(n+4) {
  grid-column: span 3
}

.detail-community-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform .65s ease
}

.detail-community-gallery figure:hover img {
  transform: scale(1.035)
}

.catalog-intro {
  font-size: 16px;
  color: var(--muted);
  max-width: 700px;
  line-height: 1.8;
  margin: 0 0 24px
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 25px;
  padding: 14px 0;
  border-top: 1px solid #d5ddd5;
  border-bottom: 1px solid #d5ddd5
}

.catalog-filters button {
  font: inherit;
  font-size: 14px;
  color: var(--muted);
  background: none;
  border: 0;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  padding: 9px 0;
  text-align: left;
  min-height: 44px;
  transition: color .2s,border-color .2s
}

.catalog-filters button[aria-pressed="true"] {
  color: #006838;
  border-bottom-color: #006838
}

.catalog-filters button:hover {
  color: #006838
}

.catalog-filters button:focus-visible {
  outline: 2px solid #006838;
  outline-offset: 5px
}

.catalog-count {
  font-size: 12px;
  color: #59675f;
  letter-spacing: .025em;
  margin: 20px 0 24px
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 36px 28px
}

.catalog-item[hidden] {
  display: none!important
}

.catalog-image {
  background: #f2f5ef;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 16px
}

.catalog-image a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center
}

.catalog-image img {
  display: block;
  width: 85%;
  height: 85%;
  object-fit: contain;
  transition: transform .5s ease
}

.catalog-item:hover .catalog-image img {
  transform: scale(1.045)
}

.catalog-category {
  color: #59675f;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 7px
}

.catalog-item h3 {
  font-family: "DM Sans",sans-serif;
  font-size: 17px;
  line-height: 1.4;
  color: #012069;
  font-weight: 500;
  margin: 0
}

.news-loading {
  font-size: 15px;
  color: var(--muted);
  margin: 0
}

.gateway-page main {
  --green: #7a203a;
  --primary-green: #7a203a
}

.gateway-page main .eyebrow,.gateway-page main .detail-number {
  color: #7a203a
}

.gateway-page .gom-hero .eyebrow,.gateway-page .gom-contact .eyebrow {
  color: #f2d9e0
}

.gom-hero {
  min-height: 570px;
  background: #7a203a
}

.gom-hero::after {
  background: linear-gradient(90deg,rgba(85,12,35,.98),rgba(85,12,35,.87) 35%,rgba(85,12,35,.26) 78%)
}

.gom-hero .page-hero-image {
  object-position: 80% center
}

.gateway-page main .button {
  background: #7a203a;
  color: #fff;
  border-color: #7a203a
}

.gom-hero .button {
  background: #fff!important;
  border-color: #fff!important;
  color: #7a203a!important
}

.gom-brand {
  width: 180px;
  display: block;
  margin-top: 28px;
  max-width: 100%;
  height: auto
}

.gom-benefits {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 34px;
  list-style: none;
  padding: 0;
  margin: 0 0 48px
}

.gom-benefits li {
  padding: 22px 0 0;
  border-top: 1px solid #ccd5c8
}

.gom-benefits h3 {
  font-family: "DM Sans",sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  color: #012069;
  max-width: 210px;
  margin: 22px 0 0
}

.gom-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px
}

.gom-gallery figure {
  margin: 0;
  overflow: hidden
}

.gom-gallery img {
  width: 100%;
  aspect-ratio: 1/1;
  height: auto;
  object-fit: cover;
  transition: transform .65s ease
}

.gom-gallery figure:hover img {
  transform: scale(1.035)
}

.gateway-page .catalog-filters button[aria-pressed="true"] {
  color: #7a203a;
  border-color: #7a203a
}

.gateway-page .catalog-filters button:hover {
  color: #7a203a
}

.gateway-page .catalog-filters button:focus-visible {
  outline-color: #7a203a
}

.gateway-page .catalog-image {
  background: #f8f6f1
}

.gateway-page .catalog-image img {
  width: 80%;
  height: 80%
}

.gom-contact {
  background: #7a203a;
  color: #fff
}

.gom-contact h2,.gom-contact h3 {
  color: #fff
}

.gom-contact .prose>p {
  color: #f2d9e0;
  max-width: 430px
}

.gom-contact .button {
  background: #fff!important;
  border-color: #fff!important;
  color: #7a203a!important
}

.gom-address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.7;
  align-self: center
}

.gom-address>a {
  display: block;
  color: #fff;
  width: fit-content;
  text-decoration: none;
  margin-bottom: 10px
}

.gom-address>a:hover {
  text-decoration: underline;
  text-underline-offset: 4px
}

.gom-address p {
  font-size: 14px;
  color: #f2d9e0;
  max-width: 480px;
  margin: 30px 0 0
}

.gom-location {
  margin-top: 48px
}

.gom-location h3 {
  font-family: "DM Sans",sans-serif;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 22px
}

.gom-location iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: 0
}

@media(min-width:1500px) {
  .detail-hero {
    min-height: 580px
  }
}

@media(max-width:1000px) {
  .directors-grid,
  .advisors-grid {
    grid-template-columns: repeat(2,minmax(0,1fr))
  }

  .catalog-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 35px 22px
  }

  .detail-features .feature-row {
    grid-template-columns: 28px 1fr;
    gap: 14px
  }

  .detail-features h3 {
    font-size: 18px
  }

  .gom-benefits {
    grid-template-columns: repeat(2,1fr)
  }

  .detail-hero {
    min-height: 500px
  }
}

@media(max-width:760px) {
  .detail-page .editorial-grid {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .detail-intro .detail-back {
    margin-bottom: 20px
  }

  .detail-intro h1 {
    font-size: clamp(43px,9vw,64px);
    margin: 15px 0 20px
  }

  .detail-intro .eyebrow {
    font-size: .7rem;
    color: #006838
  }

  .detail-intro .detail-lead {
    font-size: 16px
  }

  .detail-sticky {
    position: static
  }

  .detail-sticky-grid {
    gap: 32px
  }

  .detail-page .media-frame img {
    aspect-ratio: 4/3
  }

  .detail-features .feature-row {
    padding: 22px 0;
    gap: 14px
  }

  .detail-features h3 {
    font-size: 18px
  }

  .detail-features p {
    font-size: 14px
  }

  .detail-hero {
    padding: var(--intro-space,48px) 0;
    min-height: 460px
  }

  .detail-hero h1 {
    font-size: clamp(53px,11.5vw,82px);
    max-width: 650px
  }

  .detail-hero-copy>p:not(.eyebrow) {
    font-size: 16px;
    max-width: 360px
  }

  .detail-hero::after {
    background: linear-gradient(90deg,rgba(0,37,22,.83),rgba(0,37,22,.42))
  }

  .detail-hero-link {
    margin-left: 20px;
    margin-right: 0
  }

  .detail-community-hero .page-hero-image {
    object-position: 60% center
  }

  .detail-ara-hero .page-hero-image {
    object-position: 70% center
  }

  .detail-ara-hero::after {
    background: linear-gradient(90deg,rgba(0,57,29,.91),rgba(0,57,29,.4))
  }

  .detail-cta .editorial-grid {
    gap: 28px
  }

  .detail-cta h2 {
    font-size: 40px
  }

  .people-grid {
    gap: 24px 18px
  }

  .person-body {
    min-height: 134px
  }

  .person-initials {
    font-size: 70px
  }

  .warehouse-photo {
    height: 320px
  }

  .detail-outcomes p {
    font-size: 20px
  }

  .detail-character-art {
    margin: 30px 0 0;
    max-width: 370px
  }

  .detail-parrot img {
    max-height: 260px;
    width: auto;
    max-width: 75%
  }

  .detail-bestsellers {
    grid-template-columns: 1fr;
    gap: 34px
  }

  .detail-bestsellers h3 {
    font-size: 26px;
    margin-top: 12px
  }

  .detail-community-gallery {
    grid-template-columns: 1fr 1fr;
    margin-top: var(--heading-space,28px);
    gap: 14px
  }

  .detail-community-gallery figure,.detail-community-gallery figure:nth-child(n+4) {
    grid-column: auto
  }

  .detail-community-gallery figure:last-child {
    grid-column: 1/-1
  }

  .detail-community-gallery img {
    aspect-ratio: 4/3
  }

  .catalog-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 32px 15px
  }

  .catalog-filters {
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 6px 12px;
    scroll-padding-inline: 6px;
    scrollbar-width: thin
  }

  .catalog-filters button {
    flex: 0 0 auto;
    font-size: 13px;
    white-space: nowrap
  }

  .catalog-category {
    font-size: 9px;
    line-height: 1.5
  }

  .catalog-item h3 {
    font-size: 15px
  }

  .catalog-image {
    margin-bottom: 14px
  }

  .gom-hero {
    min-height: 530px
  }

  .gom-hero::after {
    background: linear-gradient(90deg,rgba(85,12,35,.92),rgba(85,12,35,.53))
  }

  .gom-benefits {
    gap: 30px 23px;
    margin: 0 0 32px
  }

  .gom-benefits h3 {
    font-size: 18px;
    margin-top: 14px
  }

  .gom-gallery {
    gap: 13px;
    grid-template-columns: 1fr 1fr
  }

  .gom-gallery figure:last-child {
    grid-column: 1/-1
  }

  .gom-gallery figure:last-child img {
    aspect-ratio: 2/1;
    object-position: center 57%
  }

  .gom-brand {
    width: 135px
  }

  .gom-location {
    margin-top: 32px
  }

  .gom-location iframe {
    height: 290px
  }

  .detail-warehouse {
    padding-top: var(--section-space,56px)
  }
}

@media(max-width:560px) {
  .directors-grid,
  .advisors-grid {
    grid-template-columns: 1fr
  }

  .people-grid {
    gap: 28px
  }

  .person-body {
    min-height: 114px
  }
}

@media(prefers-reduced-motion:reduce) {
  .detail-page img {
    transition: none!important
  }

  .detail-page img:hover,.detail-page a:hover img {
    transform: scale(var(--photo-scale,var(--portrait-scale,1)))!important
  }
}
