/* Leśne zabawy, aktualności, artykuły i wyszukiwanie. */
.community-story { background-size: 100% auto; background-position: center top; background-repeat: no-repeat; isolation: isolate; }
.community-story .forest-hero { min-height: 405px; background: transparent; }
.community-story .hero-sign { top: 113px; left: 30%; width: 43%; min-height: 240px; padding: 28px 22px; }
.community-story .hero-sign h1 { font-size: clamp(57px,6.2vw,91px); }
.community-story .hero-sign.long-title h1 { font-size: clamp(44px,5.5vw,80px); }
.community-story .hero-sign p { font-size: clamp(23px,2.25vw,33px); line-height: 1.2; }
.community-story .hero-mascots { width: 32%; left: -1%; bottom: -22px; }
.community-story .feature-signs { right: 1%; width: 23%; top: 119px; gap: 5px; transform: rotate(-3deg); }
.community-story .feature-sign { min-height: 72px; padding: 16px 12px; }
.community-story .feature-sign::before { background: #35180ab3; }
.community-story .feature-sign p { color: #fff8df; font: 700 clamp(16px,1.45vw,22px)/1.2 Georgia,serif; text-shadow: 0 1px 2px #301408; }
.community-story .hero-butterfly { left: 27%; top: 130px; width: 49px; }
.community-story .hero-leaf.leaf-one { top: 100px; left: 29%; width: 60px; }
.community-story .hero-leaf.leaf-two { top: 290px; left: 70%; width: 48px; }
.community-story .hero-leaf.leaf-three { bottom: 20px; left: 24%; width: 36px; }
.community-paper { position: relative; z-index: 5; background: #fff8df; border-radius: 60% 60% 0 0 / 35px 35px 0 0; padding: 40px max(4%,calc((100% - 1400px)/2)) 48px; }
.community-section-heading { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 0 auto 26px; max-width: 950px; text-align: center; }
.community-heading-leaf { width: 45px; flex: 0 0 45px; }
.community-section-heading h2 { font-size: clamp(30px,3vw,43px); margin: 0 0 9px; }
.community-section-heading p { font-size: 19px; line-height: 1.5; margin: 0; }
.play-activity-links { display: flex; justify-content: center; gap: 12px; margin-bottom: 30px; }
.play-activity-links .wp-block-button__link { font-size: 18px; padding: 12px 24px; }
.play-games { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items: start; gap: 26px; }
.community-story .paper-card { background: #fffcef; border: 1px solid #e5d7b4; padding: 28px; box-shadow: 0 7px 22px #344a1912; }
.play-game h2 { font-size: clamp(28px,2.5vw,35px); margin-bottom: 12px; }
.play-game p,.activity-instruction { font-size: 17px; line-height: 1.5; }
.forest-memory,.forest-quiz { scroll-margin-top: 90px; }
.memory-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 18px 0; flex-wrap: wrap; }
.memory-toolbar p { margin: 0; font-size: 16px; }
.memory-pairs-label { margin-left: 16px; }
.activity-reset { background: transparent; color: #003b2d; border: 1px solid #99ad7b; border-radius: 24px; font: 700 15px/1.3 'Trebuchet MS',sans-serif; padding: 10px 16px; cursor: pointer; }
.activity-reset:hover { background: #eff2db; }
.memory-board { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.memory-card { aspect-ratio: 1; border: 2px solid #8caa6d; border-radius: 17px; background: radial-gradient(circle at 30% 20%,#236a49,#003b2d); color: #fff8df; position: relative; cursor: pointer; padding: 8px; box-shadow: 0 3px 0 #b9c49a; transition: background .2s,transform .2s,border-color .2s; min-width: 0; }
.memory-card-back { display: block; font: 60px/1 Georgia,serif; opacity: .9; }
.memory-card-back svg { width: 62%; max-width: 90px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.memory-card-face { display: none; }
.memory-card.is-open,.memory-card.is-matched { background: #fff8df; color: #003b2d; border-color: #829b5b; }
.memory-card.is-open .memory-card-back,.memory-card.is-matched .memory-card-back { display: none; }
.memory-card.is-open .memory-card-face,.memory-card.is-matched .memory-card-face { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.memory-card-face img { width: 65%; height: 64px; object-fit: contain; }
.memory-card-face > span { font: 700 13px/1.1 'Trebuchet MS',sans-serif; overflow-wrap: anywhere; }
.memory-card.is-matched { border-color: #588521; box-shadow: 0 0 0 2px #d1e0b0; cursor: default; }
.activity-status:empty { display: none; }
.activity-status { background: #edf2db; color: #21452a; padding: 12px 15px; border-radius: 12px; margin: 18px 0 0; }
.quiz-question { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.quiz-question legend { font: 700 17px/1.4 'Trebuchet MS',sans-serif; margin-bottom: 12px; }
.quiz-number { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #dce8c7; width: 26px; height: 26px; margin-right: 8px; font-size: 15px; }
.quiz-answer { display: flex; align-items: center; gap: 11px; padding: 10px 13px; margin: 7px 0; border: 1px solid #dacdaf; border-radius: 11px; cursor: pointer; font-size: 16px; line-height: 1.35; background: #fffbec; }
.quiz-answer:has(:checked) { background: #e9efd9; border-color: #7d9c59; }
.quiz-answer input { accent-color: #003b2d; width: 17px; height: 17px; flex-shrink: 0; margin: 0; }
.quiz-question.is-correct .quiz-answer:has(:checked) { border-color: #588521; }
.quiz-question.is-incorrect .quiz-answer:has(:checked) { border-color: #b77538; background: #fff0da; }
.quiz-feedback { font-size: 15px!important; margin: 12px 0 0!important; color: #325326; }
.quiz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.activity-check { background: #003b2d; color: #fff8df; border: 0; border-radius: 28px; padding: 13px 21px; font: 700 18px/1.3 Georgia,serif; cursor: pointer; }
.activity-check:hover { background: #125a41; }
.play-bottom-note,.news-bottom-note { display: flex; align-items: center; justify-content: center; gap: 24px; padding: 32px 0 0; margin-top: 18px; border-top: 1px solid #d7cda9; }
.play-note-art,.news-note-art { width: 120px; flex: 0 0 120px; }
.play-bottom-note h3,.news-bottom-note h3 { font-size: 25px; margin: 0 0 10px; }
.play-bottom-note p,.news-bottom-note p { margin: 0 0 16px; font-size: 18px; }
.news-grid,.search-results-grid { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding: 0; margin: 0; }
.news-grid > li { min-width: 0; display: flex; }
.news-grid:has(>li:only-child) { grid-template-columns: minmax(0,950px); justify-content: center; }
.news-grid:has(>li:only-child) .news-card { display: grid; grid-template-columns: 1fr 1.1fr; }
.news-grid:has(>li:only-child) .news-cover { display: flex; align-items: center; }
.news-grid:has(>li:only-child) .news-card-copy { padding: 32px; }
.community-story .news-card { border-radius: 22px; overflow: hidden; padding: 0; display: flex; flex-direction: column; width: 100%; }
.news-cover { background: radial-gradient(circle at 50% 30%,#a880b7,#4f235e); min-height: 170px; position: relative; }
.news-cover:empty::after { content:'♧'; color:#fff8df; font: 100px/1 Georgia,serif; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); }
.news-cover .wp-block-post-featured-image { margin: 0; }
.news-cover img { object-fit: cover!important; transition: transform .25s; }
.news-cover img[src*="halloween-packs"] { object-fit: contain!important; padding: 16px; }
.news-card-copy { padding: 24px; flex: 1; }
.news-card .wp-block-post-date { font-size: 14px; color: #65694c; margin-bottom: 11px; }
.news-card h3 { font-size: 26px; line-height: 1.2; margin: 0 0 14px; }
.news-card h3 a:hover,.search-result h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-card .wp-block-post-excerpt__excerpt,.search-result .wp-block-post-excerpt__excerpt { font-size: 17px; line-height: 1.55; margin: 0 0 18px; }
.wp-block-post-excerpt__more-link { display: inline-block; color: #fff8df!important; background: #003b2d; padding: 10px 19px; border-radius: 25px; font: 700 17px/1.3 Georgia,serif; }
.forest-pagination { gap: 10px; margin: 32px 0 0; }
.forest-pagination a,.forest-pagination .current { padding: 10px 15px; background: #eaf0d8; border-radius: 25px; }
.forest-pagination .current { background: #003b2d; color: #fff8df; }
.forest-pagination .page-numbers { display: inline-block; }
.forest-search-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: 0 0 46px; border: 1px solid #e3d5b0; border-radius: 50%; color: #003b2d; }
.forest-search-toggle:hover { background: #e9eed9; }
.forest-search-toggle svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.forest-search-modal { border: 2px solid #c4b98b; border-radius: 26px; padding: 0; width: min(680px,calc(100% - 32px)); max-height: calc(100% - 40px); overflow: auto; background: #fff8df; color: #003b2d; box-shadow: 0 20px 70px #001f1c80; }
.forest-search-modal::backdrop { background: #00261ebd; backdrop-filter: blur(5px); }
.forest-search-dialog { padding: 40px; text-align: center; }
.search-dialog-leaf { width: 55px; margin: 0 auto 12px; }
.search-dialog-heading { font-size: 38px; margin: 0 0 12px; }
.forest-search-dialog > p { font-size: 18px; line-height: 1.5; margin-bottom: 22px; }
.forest-search-close { position: absolute; right: 13px; top: 11px; border: 0; border-radius: 50%; color: #003b2d; background: #edf0d9; cursor: pointer; width: 35px; height: 35px; font: 28px/1 sans-serif; }
.forest-search-form { width: 100%; }
.forest-search-form .wp-block-search__label { display: block; margin: 0 0 8px; font-size: 16px; font-weight: 700; text-align: left; }
.forest-search-dialog .wp-block-search__label { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.forest-search-form .wp-block-search__inside-wrapper { border: 1px solid #b9bb91; border-radius: 34px; padding: 6px; background: #fffdf4; }
.forest-search-form .wp-block-search__input { width: 100%; min-width: 0; border: 0; background: transparent; padding: 10px 16px; font: 17px/1.4 'Trebuchet MS',sans-serif; color: #003b2d; border-radius: 25px; }
.forest-search-form .wp-block-search__button { border: 0; background: #003b2d; color: #fff8df; border-radius: 28px; margin-left: 4px; padding: 11px 25px; font: 700 19px/1.3 Georgia,serif; cursor: pointer; }
.search-story .search-intro { max-width: 950px; margin: 0 auto 30px; }
.search-intro h2 { font-size: 29px; overflow-wrap: anywhere; margin: 0 0 22px; }
.search-results-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.search-result { height: 100%; }
.search-result h3 { font-size: 28px; margin-bottom: 13px; }
.community-empty { text-align: center; max-width: 760px; margin: 0 auto; }
.empty-result-art { width: 100px; margin: 0 auto 20px; }
.community-empty .wp-block-buttons { justify-content: center; margin-top: 16px; }
.journal-story .journal-hero { min-height: 430px; }
.journal-story .hero-sign { left: 29%; width: 64%; top: 115px; min-height: 270px; }
.journal-story .hero-sign h1 { font: 800 clamp(30px,3.2vw,48px)/1.15 'Baloo 2',sans-serif; margin: 10px 0; }
.journal-story .hero-sign p { font-size: 20px; }
.journal-story .hero-sign .wp-block-post-date { color: #fff8df; font-size: 15px; }
.journal-article { max-width: 1080px; margin: 0 auto; }
.journal-article > .wp-block-post-featured-image { max-width: 760px; margin: 0 auto 28px; background: radial-gradient(circle,#aa80b8,#50245f); border-radius: 20px; overflow: hidden; }
.journal-article > .wp-block-post-featured-image img { object-fit: contain!important; padding: 24px; }
.journal-article .wp-block-post-content > p { max-width: 800px; font-size: 19px; line-height: 1.7; }
.journal-article > .wp-block-buttons { margin-top: 30px; }
.memory-editor-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.privacy-layout { display: grid; grid-template-columns: minmax(0,.28fr) minmax(0,1fr); align-items: start; gap: 28px; }
.privacy-nav { position: sticky; top: 60px; }
.privacy-toc-toggle { display: none; width: 100%; align-items: center; justify-content: space-between; background: transparent; color: #003b2d; border: 0; padding: 0; text-align: left; font: 700 23px/1.3 Georgia,serif; cursor: pointer; }
.privacy-toc-toggle::after { content: '+'; margin-left: 10px; }
.privacy-toc-toggle[aria-expanded="true"]::after { content: '−'; }
.privacy-nav h2 { font-size: 23px; margin: 0 0 18px; }
.privacy-nav ul { list-style: none; margin: 0; padding: 0; }
.privacy-nav li { margin: 0 0 12px; font-size: 15px; line-height: 1.4; }
.privacy-nav a { display: block; padding: 5px 0; }
.privacy-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.privacy-copy > h2 { font-size: 35px; line-height: 1.2; margin: 0 0 16px; }
.privacy-copy .privacy-lead { font-size: 20px; padding-bottom: 24px; border-bottom: 1px solid #ddcfaf; }
.privacy-copy .privacy-section { margin: 30px 0; }
.privacy-copy .privacy-section h2 { font-size: 25px; line-height: 1.3; margin: 0 0 16px; scroll-margin-top: 70px; }
.privacy-copy .privacy-section p { font-size: 17px; line-height: 1.7; margin: 0 0 16px; }
.privacy-copy p a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.editor-styles-wrapper .privacy-layout:has(> .block-editor-inner-blocks) { display: block; }
.editor-styles-wrapper .privacy-layout > .block-editor-inner-blocks > .block-editor-block-list__layout { display: grid; grid-template-columns: minmax(0,.28fr) minmax(0,1fr); gap: 28px; }
@media (max-width:1000px) { .privacy-layout { grid-template-columns: 1fr; } .privacy-nav { position: static; } .privacy-nav ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; } .editor-styles-wrapper .privacy-layout > .block-editor-inner-blocks > .block-editor-block-list__layout { grid-template-columns: 1fr; } }
@media (max-width:1000px) { .privacy-toc-toggle { display: flex; } .privacy-nav:has(.privacy-toc-toggle) h2 { display: none; } .privacy-nav:has(.privacy-toc-toggle[aria-expanded="false"]) ul { display: none; } .privacy-nav:has(.privacy-toc-toggle[aria-expanded="true"]) ul { margin-top: 20px; } }
@media (max-width:480px) { .privacy-copy > h2 { font-size: 28px; } .privacy-copy .privacy-section h2 { font-size: 23px; } .privacy-copy .privacy-lead { font-size: 18px; } .privacy-nav ul { grid-template-columns: 1fr; } }
.memory-editor-card,.quiz-editor-question { border: 1px solid #d5c9a7; padding: 15px; border-radius: 15px; background: #fffcef; margin-bottom: 18px; }
.memory-editor-card img { height: 70px; width: 100%; object-fit: contain; margin-bottom: 8px; }
.memory-editor-card .components-button { margin: 4px; }
.editor-styles-wrapper .play-games:has(> .block-editor-inner-blocks),.editor-styles-wrapper .community-section-heading:has(> .block-editor-inner-blocks),.editor-styles-wrapper .play-activity-links:has(> .block-editor-inner-blocks),.editor-styles-wrapper .play-bottom-note:has(> .block-editor-inner-blocks),.editor-styles-wrapper .news-bottom-note:has(> .block-editor-inner-blocks) { display: block; }
.editor-styles-wrapper .play-games > .block-editor-inner-blocks > .block-editor-block-list__layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 26px; }
.editor-styles-wrapper .community-section-heading > .block-editor-inner-blocks > .block-editor-block-list__layout,.editor-styles-wrapper .play-bottom-note > .block-editor-inner-blocks > .block-editor-block-list__layout,.editor-styles-wrapper .news-bottom-note > .block-editor-inner-blocks > .block-editor-block-list__layout { display: flex; align-items: center; gap: 20px; }
.editor-styles-wrapper .forest-search-dialog { background: #fff8df; border: 1px solid #c4b98b; border-radius: 24px; max-width: 680px; margin: 20px auto; }
@media (hover:hover) { .memory-card:not(.is-matched):hover { transform: translateY(-3px); border-color: #c1a656; } .news-card:hover .news-cover img { transform: scale(1.025); } }
@media (min-width:1600px) { .community-story .forest-hero { min-height: 470px; } .community-story .hero-sign { top: 142px; min-height: 275px; } .community-story .feature-signs { top: 142px; } }
@media (max-width:1100px) { .play-games { grid-template-columns: 1fr; max-width: 850px; margin-inline: auto; } .memory-card-face img { height: 80px; } .memory-card-face > span { font-size: 16px; } .memory-board { grid-template-columns: repeat(4,minmax(0,1fr)); } .news-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .community-story .feature-sign p { font-size: 16px; } .editor-styles-wrapper .play-games > .block-editor-inner-blocks > .block-editor-block-list__layout { grid-template-columns: 1fr; } }
@media (max-width:780px) { .community-story { background-size: auto 850px; } .community-story .forest-hero { min-height: 590px; } .community-story .hero-sign { left: 5%; width: 90%; top: 125px; min-height: 225px; } .community-story .hero-sign h1 { font-size: 65px; } .community-story .hero-sign.long-title h1 { font-size: 48px; } .community-story .hero-sign p { font-size: 25px; } .community-story .hero-mascots { width: 68%; left: -7%; bottom: -7px; } .community-story .feature-signs { top: auto; bottom: 26px; right: 2%; width: 46%; gap: 3px; } .community-story .feature-sign { min-height: 66px; padding: 13px 9px; } .community-story .hero-butterfly { left: 2%; top: 112px; width: 36px; } .community-story .hero-leaf.leaf-one { left: 1%; top: 118px; width: 45px; } .community-story .hero-leaf.leaf-two { top: 302px; left: 87%; width: 36px; } .community-story .hero-leaf.leaf-three { display: none; } .community-paper { padding: 30px 20px 35px; border-radius: 55% 55% 0 0 / 22px 22px 0 0; } .community-heading-leaf { width: 30px; flex-basis: 30px; } .community-section-heading { gap: 12px; } .community-section-heading h2 { font-size: 30px; } .community-section-heading p { font-size: 17px; } .community-story .paper-card { padding: 22px; } .community-story .news-card { padding: 0; } .news-grid,.search-results-grid { grid-template-columns: 1fr; } .news-card h3 { font-size: 26px; } .news-cover { min-height: 190px; } .journal-story .journal-hero { min-height: 575px; } .journal-story .hero-sign h1 { font-size: 36px; } .journal-story .hero-mascots { width: 65%; left: 18%; } .play-note-art,.news-note-art { width: 80px; flex-basis: 80px; } .play-bottom-note,.news-bottom-note { gap: 16px; } .forest-search-dialog { padding: 38px 24px 28px; } .search-dialog-heading { font-size: 31px; } .forest-search-form .wp-block-search__button { padding: 11px 18px; } .forest-search-toggle { width: 40px; height: 40px; flex-basis: 40px; } }
@media (max-width:480px) { .memory-board { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; } .memory-card { border-radius: 12px; } .memory-card-back { font-size: 48px; } .memory-card-face img { height: 45px; } .memory-card-face > span { font-size: 12px; } .memory-toolbar { gap: 10px; } .activity-reset { padding: 9px 13px; } .community-paper { padding-left: 12px; padding-right: 12px; } .community-story .paper-card { padding: 20px; } .community-story .news-card { padding: 0; } .play-activity-links { gap: 9px; flex-wrap: wrap; } .play-activity-links .wp-block-button__link { padding: 11px 18px; font-size: 16px; } .community-section-heading h2 { font-size: 28px; } .play-bottom-note,.news-bottom-note { align-items: start; } .play-note-art,.news-note-art { width: 55px; flex-basis: 55px; } .play-bottom-note h3,.news-bottom-note h3 { font-size: 23px; } .play-bottom-note p,.news-bottom-note p { font-size: 16px; } .forest-search-form .wp-block-search__inside-wrapper { flex-wrap: wrap; border-radius: 20px; } .forest-search-form .wp-block-search__button { margin: 5px 0 0; width: 100%; } .forest-search-form .wp-block-search__input { font-size: 16px; } .memory-editor-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .journal-story .hero-sign h1 { font-size: 31px; } .journal-story .hero-sign p { font-size: 18px; } }
@media (prefers-reduced-motion:reduce) { .memory-card,.news-cover img { transition: none; } }
@media (max-width:780px) { .news-grid:has(>li:only-child) .news-card { display: flex; } .news-grid:has(>li:only-child) .news-cover { display: block; } .news-grid:has(>li:only-child) .news-card-copy { padding: 24px; } }
