/* Kompozycja O Grzybusiach: wspólny las, niskie przejście i opakowania na pniu. */
.brand-story { background-size: cover; background-position: center top; isolation: isolate; }
.brand-story .about-hero { min-height: 385px; background-color: transparent; }
.brand-story .about-hero .hero-sign { top: 118px; left: 29%; width: 44%; min-height: 238px; padding: 30px 24px; }
.brand-story .about-hero .hero-sign h1 { font-size: clamp(40px,5.2vw,78px); }
.brand-story .about-hero .hero-mascots { width: 33%; bottom: -60px; z-index: 6; }
.brand-story .about-hero .feature-signs { top: 110px; width: 21%; }
.brand-story .about-hero .feature-sign { min-height: 72px; padding: 14px; }
.brand-story .about-hero .feature-sign::before { background: #321608b5; }
.brand-story .about-hero .feature-sign p { font-size: clamp(16px,1.3vw,20px); line-height: 1.2; color: #fff9e8; text-shadow: 0 1px 2px #291409; }
.brand-story .about-hero .hero-butterfly { left: 66%; top: 295px; }
.brand-story .about-benefits { width: 68%; max-width: none; margin: -30px 6% 0 auto; padding: 20px 26px; border-radius: 90px 90px 35px 35px / 45px 45px 25px 25px; background: #fff9e8; }
.brand-story .about-benefits .benefits-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; }
.brand-story .about-benefits .benefit { padding: 0 10px; gap: 9px; min-width: 0; border-radius: 0; border-right: 1px solid #d7c99580; }
.brand-story .about-benefits .benefit:last-child { border: 0; }
.brand-story .about-benefits .benefit p:last-child { font-size: 16px; line-height: 1.3; }
.brand-story .about-benefits .benefit-icon { min-width: 52px; width: 52px; height: 52px; flex: 0 0 52px; font-size: 30px; }
.about-benefit-leaf { width: 34px; filter: brightness(0) invert(95%) sepia(10%) saturate(650%) hue-rotate(330deg); }
.brand-story .about-story-world { padding: 0 2.5%; background-color: transparent; position: relative; margin-top: -16px; }
.about-story-grid { display: grid; grid-template-columns: minmax(0,32fr) minmax(0,68fr); align-items: end; max-width: 1500px; margin: auto; gap: 0; }
.brand-story .about-copy { position: relative; z-index: 4; padding: 30px; border-radius: 32px 44px 18px 22px; background: #fff9e8; box-shadow: 0 5px 18px #223b2025; }
.brand-story .about-copy h2 { font-size: clamp(26px,2.1vw,36px); letter-spacing: -.025em; margin-bottom: 14px; }
.brand-story .about-copy p { font-size: 17px; line-height: 1.45; margin-bottom: 14px; }
.brand-story .about-copy .wp-block-button__link { font-size: 18px; padding: 13px 20px; }
.about-product-display { position: relative; min-width: 0; padding-top: 36px; margin-left: -3%; align-self: end; }
.about-product-pair { display: flex; align-items: end; margin-bottom: -2px; filter: drop-shadow(0 7px 8px #10221c30); }
.about-product-piece.piece-small { width: 45.0958%; flex: 0 0 45.0958%; }
.about-product-piece.piece-large { width: 54.9042%; flex: 0 0 54.9042%; }
.about-pack-labels { position: absolute; inset: 24px 0 0; z-index: 3; pointer-events: none; }
.about-pack-tag { position: absolute; width: 160px; padding: 18px 12px; background-size: 100% 100%; text-align: center; filter: drop-shadow(0 4px 2px #23180e35); }
.about-pack-tag h3 { margin: 0; font: 700 24px/1.05 'Baloo 2',sans-serif; color: #fff9e8; text-shadow: 0 2px 1px #4f210d; }
.tag-small { left: 12%; top: 10%; transform: rotate(-8deg); }
.tag-large { right: 5%; top: 0; transform: rotate(6deg); }
.about-pack-arrow { position: absolute; right: -28px; bottom: -16px; color: #fff9e8; font: 48px/1 Georgia,serif; margin: 0; text-shadow: 0 1px 3px #183e2c; }
.tag-large .about-pack-arrow { right: auto; left: -26px; }
.story-leaf { position: absolute; z-index: 6; width: 64px; pointer-events: none; }
.story-leaf.leaf-left { top: 10%; left: 0; transform: rotate(-38deg); }
.story-leaf.leaf-right { bottom: 4%; right: 0; transform: rotate(22deg); }
.about-quality-strip { position: relative; z-index: 5; padding: 22px 3%; background: #003b2d; color: #fff9e8; border-radius: 22px 22px 0 0; margin-top: -2px; }
.about-quality-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); max-width: 1500px; margin: auto; }
.about-quality { display: flex; gap: 12px; align-items: center; padding: 0 12px; border-right: 1px solid #7b9b8260; min-width: 0; }
.about-quality:last-child { border: 0; }
.about-quality-art { width: 80px; flex: 0 0 80px; mask-image: radial-gradient(ellipse,#000 52%,transparent 76%); }
.about-quality-copy h3 { color: #fff9e8; font: 700 17px/1.25 'Trebuchet MS',sans-serif; margin: 0 0 4px; }
.about-quality-copy p { font: 15px/1.4 'Trebuchet MS',sans-serif; margin: 0; }
.about-quality-strip .hero-motion-toggle { position: static; width: fit-content; display: block; margin: 18px auto 0; font-size: 12px; padding: 5px 10px; }
@media (prefers-reduced-motion: reduce) { .about-quality-strip .hero-motion-toggle { display: none; } }
.editor-styles-wrapper .about-story-grid > .block-editor-inner-blocks,
.editor-styles-wrapper .about-quality-grid > .block-editor-inner-blocks { display: contents; }
.editor-styles-wrapper .about-story-grid > .block-editor-inner-blocks > .block-editor-block-list__layout { display: grid; grid-template-columns: minmax(0,32fr) minmax(0,68fr); align-items: end; }
.editor-styles-wrapper .about-quality-grid > .block-editor-inner-blocks > .block-editor-block-list__layout { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.editor-styles-wrapper .about-quality > .block-editor-inner-blocks > .block-editor-block-list__layout { display: flex; align-items: center; gap: 14px; }
.editor-styles-wrapper .about-quality-strip p { color: #fff9e8; }
.editor-styles-wrapper .about-pack-labels { pointer-events: auto; }
.editor-styles-wrapper .about-product-pair > .block-editor-inner-blocks { width: 100%; }
.editor-styles-wrapper .about-product-pair > .block-editor-inner-blocks > .block-editor-block-list__layout { display: flex; align-items: end; }
@media (max-width: 1100px) {
    .brand-story .about-hero { min-height: 475px; }
    .brand-story .about-hero .hero-sign { top: 160px; min-height: 210px; }
    .brand-story .about-hero .hero-sign h1 { font-size: clamp(38px,5vw,54px); }
    .brand-story .about-hero .feature-signs { top: 164px; }
    .brand-story .about-hero .feature-sign { min-height: 76px; }
    .brand-story .about-hero .feature-sign p { font-size: 16px; }
    .brand-story .about-benefits { width: 72%; margin-top: -35px; margin-right: 2%; padding: 20px 12px; }
    .brand-story .about-benefits .benefit { padding: 0 7px; }
    .brand-story .about-benefits .benefit p:last-child { font-size: 14px; }
    .about-story-grid { grid-template-columns: minmax(0,38fr) minmax(0,62fr); }
    .brand-story .about-copy { padding: 26px 22px; }
    .brand-story .about-copy p { font-size: 17px; }
    .about-pack-tag { width: 125px; padding: 13px 9px; }
    .about-pack-tag h3 { font-size: 22px; }
    .about-quality { gap: 8px; padding: 0 10px; }
    .about-quality-art { width: 64px; flex-basis: 64px; }
    .about-quality-copy h3 { font-size: 16px; }
    .about-quality-copy p { font-size: 14px; }
}
@media (min-width: 781px) and (max-width: 1000px) {
    .about-story-grid { grid-template-columns: 1fr; }
    .brand-story .about-story-world { margin-top: 0; padding-top: 24px; }
    .brand-story .about-copy { max-width: none; padding: 28px; }
    .brand-story .about-copy h2 { font-size: 32px; }
    .brand-story .about-copy p { font-size: 18px; }
    .about-product-display { width: 100%; margin-left: 0; margin-top: 10px; }
    .about-quality-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
    .about-quality:nth-child(2) { border: 0; }
    .about-quality-art { width: 90px; flex-basis: 90px; }
    .editor-styles-wrapper .about-story-grid > .block-editor-inner-blocks > .block-editor-block-list__layout { grid-template-columns: 1fr; }
    .editor-styles-wrapper .about-quality-grid > .block-editor-inner-blocks > .block-editor-block-list__layout { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 780px) {
    .brand-story { background-size: auto 1150px; background-repeat: no-repeat; background-color: #21462a; }
    .brand-story::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to bottom,transparent 850px,#254d2d 1150px,#163c29); }
    .brand-story .about-hero { min-height: 665px; }
    .brand-story .about-hero .hero-sign { top: 130px; left: 5%; width: 90%; min-height: 230px; }
    .brand-story .about-hero .hero-sign h1 { font-size: clamp(35px,8vw,55px); }
    .brand-story .about-hero .hero-mascots { width: 54%; left: -3%; bottom: 0; }
    .brand-story .about-hero .feature-signs { top: auto; bottom: 40px; width: 48%; right: 2%; }
    .brand-story .about-hero .feature-sign { min-height: 82px; }
    .brand-story .about-hero .hero-butterfly { top: 365px; left: 12%; }
    .brand-story .about-benefits { width: 94%; margin: -12px auto 0; border-radius: 32px; padding: 22px 10px; }
    .brand-story .about-benefits .benefits-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 8px; }
    .brand-story .about-benefits .benefit:nth-child(2) { border: 0; }
    .brand-story .about-benefits .benefit p:last-child { font-size: 16px; }
    .brand-story .about-story-world { margin-top: 0; padding: 22px 4% 0; }
    .about-story-grid { grid-template-columns: 1fr; }
    .brand-story .about-copy { padding: 26px; border-radius: 28px; }
    .brand-story .about-copy p { font-size: 18px; line-height: 1.55; }
    .about-product-display { margin: 24px -4.3% 0; padding-top: 26px; }
    .about-pack-labels { inset: 0; }
    .about-pack-tag { width: 110px; padding: 10px 8px; }
    .about-pack-tag h3 { font-size: 20px; }
    .tag-small { left: 7%; top: 0; }
    .tag-large { right: 5%; top: 0; }
    .about-pack-arrow { font-size: 36px; right: -19px; bottom: -15px; }
    .tag-large .about-pack-arrow { left: -18px; }
    .story-leaf { width: 44px; }
    .story-leaf.leaf-left { top: 4px; }
    .about-quality-strip { padding: 25px 4%; }
    .about-quality-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 12px; }
    .about-quality { flex-direction: column; text-align: center; padding: 0 6px; gap: 8px; }
    .about-quality:nth-child(2) { border: 0; }
    .about-quality-art { width: 82px; flex-basis: auto; }
    .about-quality-copy h3 { font-size: 17px; }
    .about-quality-copy p { font-size: 15px; }
    .editor-styles-wrapper .about-story-grid > .block-editor-inner-blocks > .block-editor-block-list__layout { grid-template-columns: 1fr; }
    .editor-styles-wrapper .about-quality-grid > .block-editor-inner-blocks > .block-editor-block-list__layout { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
