/* Wet pressing Molded Pulp Trays. The hero is untouched; light backgrounds only below it.
   Categories as a directory, products as a showroom (list on the right, photo on the left). */

main .card { box-shadow: none; }

/* ---------- 1. Categories directory + product showroom ---------- */
.wp-range { gap: clamp(2.5rem, 4vw, 3.5rem) !important; }
.wp-dir { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); overflow: hidden; border-radius: var(--r-large); background: var(--bg); }
.wp-dir a { text-decoration: none; transition: color .2s, background .25s; }
.wp-dir a:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.wp-dir__main { display: flex; flex-direction: column; gap: 1.75rem; padding: clamp(1.75rem, 3.5vw, 3rem); }
.wp-dir__lead { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.5rem; align-items: center; color: var(--green-deep); font-size: var(--h5); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.wp-dir__lead img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-medium); }
.wp-dir__subs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; margin-top: auto; }
.wp-dir__subs > li { display: grid; border-top: 1px solid var(--border); }
.wp-dir__subs a { position: relative; display: flex; align-items: center; min-height: 3.75rem; padding: .625rem 1.5rem .625rem 0; color: var(--heading); font-size: .9375rem; font-weight: 500; line-height: 1.35; }
.wp-dir__subs a::after, .wp-dir__row::after { content: ""; width: .5rem; height: .5rem; border: solid var(--green); border-width: 2px 2px 0 0; transform: rotate(45deg); transition: translate .25s var(--ease); }
.wp-dir__subs a::after { position: absolute; right: .25rem; top: calc(50% - .25rem); }
.wp-dir__subs a:hover::after, .wp-dir__row:hover::after { translate: 4px 0; }
.wp-dir__subs a:hover, .wp-dir__mini a:hover { color: var(--green-deep); }
.wp-dir__others { display: flex; flex-direction: column; border-left: 1px solid var(--border); }
.wp-dir__others > li { display: flex; flex-direction: column; justify-content: center; flex: 1 0 auto; }
.wp-dir__others > li + li { border-top: 1px solid var(--border); }
.wp-dir__row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) .5rem; gap: 1.25rem; align-items: center; flex: 1; padding: .75rem 1.75rem .75rem .75rem; color: var(--heading); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.wp-dir__row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-medium); }
.wp-dir__row:hover { background: #fff; color: var(--green-deep); }
.wp-dir__mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.wp-dir__mini > li + li { border-left: 1px solid var(--border); }
.wp-dir__mini a { display: block; height: 100%; padding: .75rem .875rem; color: var(--text); font-size: .8125rem; line-height: 1.4; }
.wp-dir__mini a:hover { background: #fff; }

.wp-show { --stage: 54%; position: relative; display: flex; flex-direction: column; padding-left: calc(var(--stage) + 2.5rem); border: 0; }
.wp-show__i { border-top: 1px solid var(--border); }
.wp-show__i:last-child { border-bottom: 1px solid var(--border); }
.wp-show__h { font-size: 1rem; font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.wp-show__row { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) .625rem; gap: 1.125rem; align-items: center; width: 100%; min-height: 4.5rem; padding: .5rem .75rem .5rem .5rem; border: 0; background: none; color: var(--text); font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; transition: background .25s, color .25s; }
.wp-show__row img { width: 3.5rem; height: 3.5rem; object-fit: cover; border-radius: var(--r-medium); }
.wp-show__row::after { content: ""; width: .5rem; height: .5rem; border: solid var(--green); border-width: 2px 2px 0 0; transform: rotate(45deg); opacity: 0; transition: opacity .25s; }
.wp-show__row:hover { color: var(--green-deep); }
.wp-show__row:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.is-open > .wp-show__h .wp-show__row { background: var(--bg); color: var(--green-deep); font-weight: 600; }
.is-open > .wp-show__h .wp-show__row::after { opacity: 1; }
.wp-show__p { position: absolute; left: 0; top: 0; bottom: 0; width: var(--stage); display: grid; grid-template-rows: minmax(0, 1fr) auto auto; overflow: hidden; border-radius: var(--r-large); background: var(--bg); color: var(--text); text-decoration: none; visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; }
.is-open > .wp-show__p { visibility: visible; opacity: 1; }
.wp-show__p .media { min-height: 0; border-radius: 0; background: #F1EFE9; }
.wp-show__p .media img { position: absolute; inset: 0; transition: transform .7s var(--ease); }
.wp-show__p:hover .media img { transform: scale(1.03); }
.wp-show__specs { display: grid; grid-auto-flow: column; grid-template: auto 1fr / repeat(4, minmax(0, 1fr)); gap: .125rem 1.25rem; padding: 1.25rem 1.5rem; }
.wp-show__s { font-size: .9375rem; line-height: 1.35; }
.wp-show__s:nth-child(odd) { color: var(--muted); font-size: .8125rem; }
.wp-show__s:nth-child(even) { color: var(--heading); font-weight: 500; }
.wp-show__go { margin: 0 1.5rem 1.5rem; padding: .875rem 1rem; border-radius: var(--r-small); background: var(--green); color: #fff; font-weight: 500; text-align: center; transition: background .2s; }
.wp-show__p:hover .wp-show__go { background: var(--green-deep); }

/* ---------- 4. Industries: ruled two-column index with square thumbnails ---------- */
main .section:has(a[href="/industry/stationery/"]) .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 5rem); border-bottom: 1px solid var(--border); }
main .section:has(a[href="/industry/stationery/"]) .card { background: none; border: 0; border-top: 1px solid var(--border); border-radius: 0; }
main .section:has(a[href="/industry/stationery/"]) .card a { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) 1.5rem; gap: 1.5rem; align-items: center; padding: .875rem 0; }
main .section:has(a[href="/industry/stationery/"]) .card a::after { content: ""; width: .625rem; height: .625rem; border: solid var(--green); border-width: 2px 2px 0 0; transform: rotate(45deg); transition: translate .25s var(--ease); }
main .section:has(a[href="/industry/stationery/"]) .card:hover a::after { translate: 6px 0; }
main .section:has(a[href="/industry/stationery/"]) .media { aspect-ratio: 1 / 1; border-radius: var(--r-medium); }
main .section:has(a[href="/industry/stationery/"]) .card__body { padding: 0; }
main .section:has(a[href="/industry/stationery/"]) .h6 { font-size: 1.125rem; }

/* ---------- 5. Call to action: light panel with the tray photo on the right ---------- */
main .section:has(.cta-card) .cta-card { align-items: flex-start; min-height: 24rem; justify-content: center; padding: clamp(1.75rem, 4vw, 4rem) 48% clamp(1.75rem, 4vw, 4rem) clamp(1.75rem, 4vw, 4rem); border: 0; text-align: left; background: #EEF4E2 url("/img/live/2024-09-Wet-pressing-Molded-Pulp-Trays.webp") right center / 44% 100% no-repeat; }
main .section:has(.cta-card) .btn-group { justify-content: flex-start; }

/* ---------- 6. Why Choose BonitoPak: one connected three-by-two grid ---------- */
main .section:has(.feat) .grid-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-large); background: var(--border); }
main .section:has(.feat) .feat { border: 0; border-radius: 0; background: var(--bg); transition: background .3s; }
main .section:has(.feat) .feat:hover { background: #fff; }
main .section:has(.feat) .card__body { padding: 2rem; }
main .section:has(.feat) .h5 { padding-bottom: .75rem; font-size: var(--h6); }
main .section:has(.feat) .h5::before { content: ""; display: block; width: 1.75rem; height: 3px; margin-bottom: 1.125rem; border-radius: 3px; background: var(--green); transition: width .35s var(--ease); }
main .section:has(.feat) .feat:hover .h5::before { width: 3.5rem; }

/* ---------- 7. Articles: full-width rows ---------- */
main .section:has(a[href^="/can-carrier-for-breweries"]) .grid-cards { display: block; border-bottom: 1px solid var(--border); }
main .section:has(a[href^="/can-carrier-for-breweries"]) .card { background: none; border: 0; border-top: 1px solid var(--border); border-radius: 0; }
main .section:has(a[href^="/can-carrier-for-breweries"]) .card a { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 2.5rem; align-items: center; padding: 1.5rem 0; }
main .section:has(a[href^="/can-carrier-for-breweries"]) .media { order: 2; aspect-ratio: 16 / 10; border-radius: var(--r-medium); }
main .section:has(a[href^="/can-carrier-for-breweries"]) .card__body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: .5rem 2.5rem; padding: 0; }
main .section:has(a[href^="/can-carrier-for-breweries"]) .h6 { grid-row: 1 / span 2; font-size: var(--h5); line-height: 1.25; }
main .section:has(a[href^="/can-carrier-for-breweries"]) .btn-link { justify-self: start; margin-top: 0; }

/* ---------- smaller screens ---------- */
@media (max-width: 991px) {
  .wp-dir { grid-template-columns: 1fr; }
  .wp-dir__others { border-left: 0; border-top: 1px solid var(--border); }
  .wp-show { padding-left: 0; }
  .wp-show__p { display: none; position: static; width: auto; grid-template-rows: auto auto auto; border-radius: 0 0 var(--r-large) var(--r-large); }
  .is-open > .wp-show__p { display: grid; }
  .wp-show__p .media { aspect-ratio: 4 / 3; }
  main .section:has(.feat) .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  main .section:has(a[href^="/can-carrier-for-breweries"]) .card__body { grid-template-columns: 1fr; }
  main .section:has(a[href^="/can-carrier-for-breweries"]) .h6 { grid-row: auto; font-size: var(--h6); }
}
@media (max-width: 767px) {
  main .section:has(a[href="/industry/stationery/"]) .grid-cards { grid-template-columns: 1fr; }
  main .section:has(.cta-card) .cta-card { padding: 1.75rem 1.75rem calc(1.75rem + 14rem); background-position: center bottom; background-size: 100% 14rem; }
}
@media (max-width: 560px) {
  .wp-dir__subs, .wp-dir__mini { grid-template-columns: 1fr; }
  .wp-dir__mini > li + li { border-left: 0; border-top: 1px solid var(--border); }
  .wp-dir__lead { grid-template-columns: 6rem minmax(0, 1fr); gap: 1rem; font-size: var(--h6); }
  .wp-show__specs { grid-auto-flow: row; grid-template: none / repeat(2, minmax(0, 1fr)); padding: 1rem 1.125rem; }
  .wp-show__go { margin: 0 1.125rem 1.125rem; }
  main .section:has(.feat) .grid-cards { grid-template-columns: 1fr; }
  main .section:has(a[href^="/can-carrier-for-breweries"]) .card a { grid-template-columns: minmax(0, 1fr) 7rem; gap: 1.25rem; align-items: start; }
}
