.portal{padding-bottom:32px}.portal>h1{margin:6px 0 24px;font-size:clamp(1.65rem,3vw,2.25rem)}.learning-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}.learning-topic{background:white;border-radius:20px;overflow:hidden;color:#263e57;box-shadow:0 5px 15px #233f6008;display:flex;flex-direction:column}.topic-heading{display:flex;align-items:center;gap:13px;padding:21px 23px;min-height:100px}.topic-heading h2{font-size:1.45rem;letter-spacing:-.025em}.topic-icon{background:#ffffff80;border-radius:12px;min-width:48px;height:48px;display:grid;place-items:center;font-weight:800;font-size:1.4rem}.slowa .topic-heading{background:#ffe49a}.czytanie .topic-heading{background:#ddceff}.zegar .topic-heading{background:#adedd8}.liczenie .topic-heading{background:#ffd4be}.swiat .topic-heading{background:#c4e6ff}.angielski .topic-heading{background:#f5d0e9}.topic-links{padding:9px 23px 16px;flex:1;display:flex;flex-direction:column}.topic-links a{display:flex;justify-content:space-between;gap:10px;padding:12px 0;min-height:46px;border-bottom:1px solid #edf2f7;font-size:.97rem;font-weight:500}.topic-links a span{color:#7891ac}.topic-links a:hover,.other-links a:hover{text-decoration:underline}.topic-links .more-link{margin-top:auto;border:0;color:#2d61cc;font-weight:750}.other-links{display:flex;flex-wrap:wrap;gap:12px 25px;margin:26px 0;font-size:.95rem;color:#385d89}.other-links a{padding:8px 0}.portal-intro{margin:32px 0 0;max-width:820px}.portal-intro p{line-height:1.65;color:#536b82}.back-link{display:inline-block;margin:0 0 14px;color:#3563a0}.clock-start{background:#baf0df;border-radius:20px;padding:26px;display:flex;align-items:center;justify-content:space-between;gap:24px}.clock-start p{max-width:620px;line-height:1.6}.start-button{display:inline-block;background:#3268db;color:white;border-radius:12px;padding:13px 20px;font-weight:750}.clock-art{font-size:110px;line-height:1;color:#226d58}.clock-shortcuts{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 32px}.clock-shortcuts a{background:white;padding:12px 16px;border-radius:12px;color:#315474}.clock-films h2{margin-bottom:18px}.clock-films .grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:700px){.learning-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.topic-heading{padding:15px 14px;min-height:80px;gap:8px}.topic-heading h2{font-size:1.1rem}.topic-icon{min-width:33px;height:36px;font-size:1.05rem}.topic-links{padding:6px 14px 10px}.topic-links a{font-size:.88rem;line-height:1.35}.clock-start{padding:20px}.clock-art{display:none}.clock-films .grid{grid-template-columns:1fr}.portal>h1{margin-bottom:18px}}@media(max-width:370px){.learning-grid{grid-template-columns:1fr}.topic-heading{min-height:70px}.topic-links a{padding:10px 0}}
.learning-purpose{color:#536b82;font-size:.9rem;line-height:1.5;margin:-10px 0 22px;max-width:800px}.hub-exercises{margin:22px 0 30px}.hub-exercises h2,.hub-films h2{margin:0 0 16px}.hub-start{display:flex;gap:22px;background:#fff0b7;padding:24px;border-radius:20px;align-items:center}.hub-start h3{margin:0;font-size:1.2rem}.hub-start p{line-height:1.6;max-width:730px}.hub-icon{font-size:4rem}.hub-films{scroll-margin-top:20px}.portal-intro h2{line-height:1.35}@media(max-width:600px){.hub-icon{display:none}.hub-start{padding:20px}.learning-purpose{font-size:.875rem}}
.compact-word-start{margin:18px 0 28px}.compact-word-start .hub-start{display:flex;gap:24px;padding:24px;align-items:center}.word-preview{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;max-width:210px}.word-preview span{display:grid;place-items:center;width:58px;height:66px;background:#ffffff90;border-radius:15px;font-size:2.5rem}.word-start-body{flex:1}.exercise-label{display:block;color:#725d25;font-size:.8rem;font-weight:650;margin-bottom:6px}.compact-word-start h2{margin:0;font-size:1.35rem}.compact-word-start p{margin:10px 0 15px;line-height:1.45}.word-start-body small{display:block;font-size:.8rem;color:#6d613f;margin-top:12px}@media(max-width:600px){.compact-word-start .hub-start{display:block;padding:18px}.word-preview{max-width:none;justify-content:flex-start;margin-bottom:13px;gap:8px}.word-preview span{width:44px;height:46px;font-size:1.9rem;border-radius:11px}.compact-word-start h2{font-size:1.2rem}.compact-word-start p{font-size:.95rem;margin:9px 0 14px}.compact-word-start .start-button{display:block;text-align:center;padding:12px}.word-start-body small{margin-top:9px}.portal>.back-link{margin-bottom:10px;font-size:.9rem}.portal>h1{font-size:1.5rem;margin-top:0;margin-bottom:16px}}
/* Compact home cards with distinct exercise and film groups. */
.learning-grid .topic-heading{min-height:76px;padding:15px 20px}.learning-grid .topic-heading h2{font-size:1.3rem}.learning-grid .topic-icon{min-width:40px;height:40px;font-size:1.15rem}.learning-grid .topic-links{padding:12px 20px 13px}.home-group-label{display:block;font-size:.75rem;font-weight:650;color:#66798b;margin-bottom:2px}.home-link-group+.home-link-group{border-top:1px solid #dce6ef;margin-top:8px;padding-top:11px}.learning-grid .topic-links .home-link-group a{border:0;padding:9px 0;min-height:44px;line-height:1.3}.learning-grid .topic-links .more-link{font-size:.9rem;padding:11px 0 4px;min-height:40px}.learning-grid .topic-links .home-link-group{flex:none}@media(max-width:700px){.learning-grid{grid-template-columns:1fr;gap:16px}.learning-grid .topic-heading{min-height:70px;padding:13px 17px}.learning-grid .topic-heading h2{font-size:1.2rem}.learning-grid .topic-links{padding:10px 17px 13px}.learning-grid .topic-links .home-link-group a{font-size:.95rem}.learning-grid .topic-links .more-link{font-size:.9rem}.home-group-label{font-size:.75rem}}
/* Goal-based portal hierarchy. */
.goal-grid,.stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}.goal-grid{font-weight:400}.goal-card{display:block;border-radius:19px;overflow:hidden;background:white;color:#243c55;box-shadow:0 4px 14px #233f6008}.goal-heading{display:flex;align-items:center;gap:12px;padding:19px 20px;min-height:83px}.goal-heading h2{font-size:1.35rem}.goal-icon{display:grid;place-items:center;min-width:42px;height:42px;border-radius:12px;background:#ffffff88;font-weight:800;font-size:1.2rem}.goal-arrow{margin-left:auto;font-size:1.3rem}.goal-card p{margin:0;padding:17px 20px 20px;line-height:1.5;color:#536b82;font-size:.95rem}.slowa .goal-heading{background:#ffe49a}.czytanie .goal-heading{background:#ddceff}.zegar .goal-heading{background:#adedd8}.liczenie .goal-heading{background:#ffd4be}.swiat .goal-heading{background:#c4e6ff}.angielski .goal-heading{background:#f5d0e9}.goal-card:hover .goal-arrow{transform:translateX(3px)}.stage-grid{margin:20px 0 35px;font-weight:400}.stage-card{display:flex;flex-direction:column;align-items:stretch;background:white;border-radius:20px;padding:22px;color:#243c55}.stage-card.begin{background:#fff0b7}.stage-card.build{background:#e4dafc}.stage-card.express{background:#c9f1e5}.stage-top{display:flex;align-items:center;gap:12px;margin-bottom:16px}.stage-icon{font-size:2.2rem;display:inline-block}.stage-number{font-size:.8rem;color:#526476}.stage-card h2{font-size:1.3rem;margin-bottom:9px}.stage-card p{font-size:.95rem;line-height:1.5;margin:0 0 14px}.stage-example{font-size:.9rem;color:#536576}.stage-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:20px}.stage-bottom small{font-size:.78rem}.stage-bottom>span{font-size:1.3rem}.planned-topic{background:white;border-radius:18px;padding:22px}.planned-topic h2{font-size:1.15rem;margin:14px 0 9px}.planned-topic p{color:#536b82;line-height:1.5}.planned-topic small{color:#66798b}.concept-note{background:#fff0b7;padding:15px 18px;border-radius:12px;line-height:1.5}.hub-return{margin:25px 0}.stage-card:hover,.goal-card:hover{box-shadow:0 5px 18px #24486b14}@media(max-width:900px){.goal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.goal-grid,.stage-grid{grid-template-columns:1fr;gap:13px}.goal-heading{min-height:66px;padding:13px 17px}.goal-heading h2{font-size:1.2rem}.goal-card p{padding:12px 17px 15px;font-size:.9rem}.goal-icon{min-width:35px;height:35px;font-size:1rem}.stage-card{padding:18px}.stage-top{margin-bottom:11px}.stage-card h2{font-size:1.2rem}.stage-bottom{padding-top:14px}.stage-grid{margin-top:15px}}
/* Restore classic cards, keep speaking choices compact and directly clickable. */
.classic-home .topic-heading{min-height:72px}.classic-home .topic-links>a:not(.more-link){border-bottom:1px solid #edf2f7;padding:11px 0;min-height:44px;font-weight:500}.classic-home .topic-links .more-link{margin-top:auto;padding-top:14px}.speech-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:stretch;margin:18px 0 30px;font-weight:400}.speech-choice{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:20px 20px 42px;border-radius:19px;min-width:0;color:#243c55;background:#fff0b7}.speech-choice.build{background:#e4dafc}.speech-choice.express{background:#c9f1e5}.speech-choice-icon{font-size:2.2rem;line-height:1.2;margin-bottom:12px}.speech-choice h2{font-size:1.15rem;line-height:1.25;margin:0 0 7px;overflow-wrap:normal;word-break:normal}.speech-choice p{font-size:.9rem;line-height:1.4;margin:0}.speech-choice small{font-size:.7rem;color:#627085;line-height:1.3;margin-top:9px}.speech-choice-arrow{position:absolute;bottom:12px;right:17px;font-size:1.2rem}.speech-choice:hover{box-shadow:0 4px 14px #31536a15}@media(max-width:600px){.speech-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:14px 0 25px}.speech-choice{padding:16px 13px 36px;min-height:160px;border-radius:16px}.speech-choice h2{font-size:1rem}.speech-choice p{font-size:.82rem}.speech-choice-icon{font-size:1.9rem;margin-bottom:10px}.classic-home .topic-heading{min-height:67px}.classic-home .topic-links>a:not(.more-link){padding:10px 0}.hub-films .grid{grid-template-columns:1fr}}
/* Editorial photos with an opaque reading area, inspired by the approved reference. */
.photo-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch;font-weight:400;color:#203b52}.photo-topic{--tile:#fff0bb;position:relative;isolation:isolate;overflow:hidden;border-radius:20px;min-width:0;background:var(--tile);min-height:240px;box-shadow:0 5px 16px #2447660a}.photo-czytanie{--tile:#e5dafb}.photo-zegar{--tile:#c6eee1}.photo-liczenie{--tile:#ffddcb}.photo-swiat{--tile:#d0eaff}.photo-angielski{--tile:#f4dced}.topic-photo{position:absolute;right:0;top:0;width:58%;height:100%;object-fit:cover;object-position:60% center;z-index:-3}.photo-shade{position:absolute;inset:0;background:linear-gradient(90deg,var(--tile) 0%,var(--tile) 44%,color-mix(in srgb,var(--tile) 93%,transparent) 52%,color-mix(in srgb,var(--tile) 30%,transparent) 72%,transparent 100%);z-index:-2}.photo-content{position:relative;width:72%;padding:20px 0 18px 20px;min-height:240px;display:flex;flex-direction:column}.photo-title{display:flex;align-items:center;gap:9px;margin:0 0 15px;color:#203b52;white-space:nowrap}.photo-title h2{font-size:1.22rem;line-height:1.2;letter-spacing:-.025em}.photo-symbol{display:grid;place-items:center;background:#ffffffb0;min-width:35px;height:35px;border-radius:10px;font-size:1rem;font-weight:800}.photo-links{display:flex;flex-direction:column;flex:1;max-width:220px}.photo-links a{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:37px;padding:7px 5px 7px 0;font-size:.9rem;font-weight:500;line-height:1.25;color:#243d52}.photo-links a>span{opacity:.6}.photo-links a:hover{text-decoration:underline}.photo-links .photo-more{justify-content:flex-start;margin-top:auto;padding-top:13px;font-weight:750;color:#245887;font-size:.88rem}.photo-title:hover h2{text-decoration:underline}@media(min-width:1050px){.photo-content{width:71%}.photo-title h2{font-size:1.3rem}}@media(max-width:1000px){.photo-topics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.photo-topics{grid-template-columns:1fr;gap:14px}.photo-topic,.photo-content{min-height:218px}.photo-content{width:71%;padding:17px 0 15px 17px}.photo-title{margin-bottom:10px}.photo-title h2{font-size:1.2rem}.photo-links{max-width:220px}.photo-links a{min-height:40px;font-size:.9rem}.topic-photo{width:55%}.photo-links .photo-more{font-size:.88rem;padding-top:9px}.photo-symbol{min-width:33px;height:33px}.photo-shade{background:linear-gradient(90deg,var(--tile) 0%,var(--tile) 44%,color-mix(in srgb,var(--tile) 95%,transparent) 53%,color-mix(in srgb,var(--tile) 25%,transparent) 78%,transparent 100%)}}@media(max-width:360px){.photo-content{width:76%}.photo-title h2{font-size:1.1rem}.photo-links a{font-size:.85rem}}

.photo-czytanie .topic-photo{object-position:40% center}

.photo-area-link{position:absolute;inset:0;z-index:0;border-radius:inherit}.photo-area-link:focus-visible{outline:3px solid #245887;outline-offset:-4px}.photo-content{z-index:1;pointer-events:none}.photo-content a{pointer-events:auto}.photo-angielski .topic-photo{object-position:85% center}

.speech-illustration{display:block;width:100%;height:165px;object-fit:contain;mix-blend-mode:multiply;margin:0 0 14px;border-radius:10px}.speech-choice:focus-visible{outline:3px solid #245887;outline-offset:3px}@media(max-width:600px){.speech-illustration{height:115px;margin-bottom:11px}}
/* Expanded nine-topic map, with the original blended photographs. */
.photo-praktyczna{--tile:#d8edcf}.photo-bezpieczenstwo{--tile:#dce5fb}.photo-logika{--tile:#e6dcf6}.photo-topic,.photo-content{min-height:278px}.photo-title{white-space:normal;align-items:flex-start}.photo-title h2{font-size:1.13rem!important;line-height:1.2}.photo-symbol{flex-shrink:0}.photo-links a{font-size:.86rem;min-height:36px}.photo-content{width:74%}.section-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 25px;align-items:stretch;white-space:normal}.section-shortcuts a{display:flex;justify-content:space-between;gap:10px;padding:14px 16px;border:1px solid #d5e2ee;background:#ffffffa6;border-radius:12px;font-size:.95rem;font-weight:650;color:#294c60}.section-shortcuts a:hover{background:white}.preview-outline{padding:22px;border-radius:16px;background:#ffffffa6;margin:20px 0 24px}.preview-outline ul{padding-left:22px;line-height:1.8;color:#536b82}@media(max-width:600px){.photo-topic,.photo-content{min-height:255px}.photo-title h2{font-size:1.18rem!important}.photo-links a{min-height:38px;font-size:.88rem}.section-shortcuts{grid-template-columns:1fr}.section-shortcuts a{font-size:.9rem}}

/* Four shortcuts without stretching the cards. */
.photo-topic,.photo-content{min-height:232px}.photo-content{padding-top:16px;padding-bottom:14px}.photo-title{margin-bottom:8px}.photo-links a{min-height:29px;padding-top:4px;padding-bottom:4px}.photo-links .photo-more{min-height:29px;padding-top:8px;padding-bottom:0}@media(max-width:600px){.photo-topic,.photo-content{min-height:232px}.photo-content{padding-top:14px;padding-bottom:12px}.photo-title{margin-bottom:7px}.photo-links a{min-height:33px;padding-top:4px;padding-bottom:4px}.photo-links .photo-more{min-height:29px;padding-top:7px}}

.parent-guide{margin:36px 0 24px;padding-top:26px;border-top:1px solid #cbdde9;max-width:850px;scroll-margin-top:20px}.parent-guide h2{font-size:1.4rem;line-height:1.3}.parent-guide h3{font-size:1.1rem;line-height:1.4;margin:24px 0 8px;color:#244c64}.parent-guide p{font-size:1rem;line-height:1.75;color:#4b6578;margin:9px 0 14px}.parent-guide .guide-answer{font-size:1.04rem;color:#294c60}.parent-guide .guide-byline{font-size:.77rem;color:#6b7e8a}.guide-related,.guide-sources{margin-top:22px}.parent-guide ul{padding-left:21px;line-height:1.7}.parent-guide a{color:#245e93;text-decoration:underline;text-underline-offset:3px}.guide-sources{font-size:.85rem}.guide-sources h3{font-size:.95rem}@media(max-width:600px){.parent-guide{margin-top:28px;padding-top:20px}.parent-guide h2{font-size:1.22rem}.parent-guide h3{font-size:1.04rem}.parent-guide p{font-size:.94rem;line-height:1.65}}

/* Homepage: curved photo compartment, thicker stable frame, no gradient. */
.photo-topics .photo-topic{--frame-color:#fff;border-radius:28px;transform:none;box-shadow:none;transition:box-shadow .15s ease}
.photo-topics .photo-topic::after{content:"";position:absolute;inset:0;border:4px solid var(--frame-color);border-radius:inherit;pointer-events:none;z-index:5;box-sizing:border-box;transition:border-color .15s ease}
.photo-topics .photo-frame{position:absolute;inset:0 0 0 auto;width:48%;z-index:-1;overflow:hidden;border:4px solid var(--frame-color);border-radius:28% 28px 28px 28% / 50% 28px 28px 50%;box-sizing:border-box;transition:border-color .15s ease}
.photo-topics .photo-frame .topic-photo{position:static;display:block;width:100%;height:100%;object-fit:cover;object-position:60% center}
.photo-topics .photo-angielski .topic-photo{object-position:85% center}
.photo-topics .photo-content{width:54%;padding-left:20px;padding-right:4px}
.photo-topics .photo-title{gap:8px}
.photo-topics .photo-title h2{overflow-wrap:normal}
.photo-topics .photo-links a{justify-content:flex-start}
@media(hover:hover){.photo-topics .photo-topic:hover{box-shadow:0 4px 14px #24476618;transform:none}}
.photo-topics .photo-topic:focus-within{box-shadow:0 4px 14px #24476618;transform:none}
@media(max-width:600px){.photo-topics .photo-content{width:55%;padding-left:20px}.photo-topics .photo-frame{width:47%}.photo-topics .photo-symbol{min-width:30px;height:30px}.photo-topics .photo-title h2{font-size:1.12rem!important}}
@media(prefers-reduced-motion:reduce){.photo-topics .photo-topic,.photo-topics .photo-topic::after,.photo-topics .photo-frame{transition:none}}

.photo-topics .photo-links a::before{content:"›";flex:0 0 auto;font-size:1.1em;font-weight:650;color:currentColor;margin-right:3px}

main.portal > .learning-purpose{max-width:none}

/* Prominent category titles on the homepage. */
.photo-topics .photo-title h2{font-size:1.55rem!important;font-weight:800;line-height:1.15}
@media(max-width:600px){.photo-topics .photo-title h2{font-size:1.5rem!important}}
@media(max-width:380px){.photo-topics .photo-title h2{font-size:1.4rem!important}}
