/* POLACY PRESTON — polska, polonia, online learning hub */
body.portal[data-pp-page="community"] .pp-directory-layout{display:block!important;max-width:1120px;padding-bottom:82px}
.pp-directory-layout *, .pp-directory-intro *{box-sizing:border-box}
.pp-directory-kicker{display:block;color:#da2d52;font-weight:850;font-size:11px;letter-spacing:.13em;margin:0 0 9px}
.pp-directory-intro{margin-top:20px!important}
.pp-feature-banner{background:linear-gradient(114deg,#0b2344 0%,#173f69 67%,#195d89);color:white;border-radius:25px;padding:31px 33px;display:flex;gap:20px;align-items:center;justify-content:space-between;box-shadow:0 13px 35px #142d5130;position:relative;overflow:hidden;margin:0 0 23px}
.pp-feature-banner:before{content:"";position:absolute;width:330px;height:330px;right:-95px;top:-125px;border:1px solid #ffffff2b;border-radius:50%;pointer-events:none}
.pp-feature-banner .pp-eyebrow{display:block;color:#a4d9ff;font-weight:800;font-size:11px;letter-spacing:.13em;margin-bottom:12px}
.pp-feature-banner h2{color:white!important;font-size:clamp(24px,3.2vw,35px)!important;line-height:1.12;letter-spacing:-.035em;margin:0 0 13px;font-weight:850}
.pp-feature-banner p{color:#e3edf7;font-size:14px;line-height:1.7;max-width:745px;margin:0}
.pp-stat-pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:19px}.pp-stat-pills span{border:1px solid #9dd1fa55;color:#f4f9ff;background:#ffffff13;border-radius:40px;padding:7px 11px;font-size:11px;font-weight:700}
.pp-feature-figure{display:flex;flex-shrink:0;align-items:center;justify-content:center;flex-direction:column;font-weight:900;font-size:65px;line-height:1;color:#fff;min-width:120px;text-shadow:0 6px 14px #01101e4b}.pp-feature-figure span{font-size:13px;text-transform:uppercase;letter-spacing:.09em;margin-top:10px}
.pp-poland-banner{background:linear-gradient(115deg,#0b2444,#12436b 72%,#bd2449)}.pp-poland-heart{font-size:75px}
.pp-section-line{margin:26px 0 16px;display:flex;justify-content:space-between;align-items:end;gap:20px}.pp-section-line .pp-eyebrow{font-size:11px;font-weight:900;letter-spacing:.12em;color:#df2d57}.pp-section-line h2,.pp-dir-heading h2{font-size:clamp(21px,2.6vw,29px);font-weight:850;color:#132b45;margin:4px 0 8px;line-height:1.2}.pp-section-line p,.pp-dir-heading p{font-size:13px;color:#5d6f82;line-height:1.65;max-width:750px;margin:0}
.pp-catalog-count{font-size:13px;font-weight:800;color:#8090a4;white-space:nowrap}.pp-catalog-count strong{font-size:23px;color:#d52b4d}
.pp-catalog-controls{display:flex;gap:13px;align-items:center;flex-wrap:wrap;margin-bottom:18px}
.pp-catalog-search{display:flex;align-items:center;gap:9px;min-width:210px;flex:1;border-radius:13px;border:1px solid #d6e2ef;background:white;padding:12px 14px;box-shadow:0 3px 12px #122b4208;font-weight:900;color:#315e8a}
.pp-catalog-search input{min-width:0;flex:1;border:none;outline:none;background:transparent;font-size:13px;color:#193450}.pp-catalog-search:focus-within{outline:3px solid #b9ddff}
.pp-filter-row{display:flex;gap:6px;overflow-x:auto;padding:3px 0;max-width:100%;scrollbar-width:thin}.pp-filter-row button{flex-shrink:0;border:1px solid #d8e4f0;background:#fff;color:#294462;border-radius:28px;padding:9px 13px;font-size:12px;font-weight:800;cursor:pointer}.pp-filter-row button.active{background:#143b6b;border-color:#143b6b;color:#fff}
.pp-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.pp-course-card{border:1px solid #dce7f2;border-radius:21px;background:#fff;padding:20px;display:flex;flex-direction:column;min-width:0;box-shadow:0 7px 22px #0e385112;transition:transform .18s,box-shadow .18s}
.pp-course-card:hover{transform:translateY(-3px);box-shadow:0 15px 28px #0b2e5324}.pp-course-card[hidden]{display:none!important}.pp-course-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.pp-course-icon{display:grid;place-items:center;width:48px;height:48px;background:#eff5ff;border-radius:14px;font-size:25px}.pp-course-no{color:#8797a8;font-weight:850;font-size:11px}.pp-course-cat{font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#d83254}.pp-course-card h3{font-size:19px;color:#132e4f;line-height:1.28;letter-spacing:-.02em;margin:7px 0 10px;font-weight:850}.pp-course-card p{font-size:12.5px;color:#52677f;line-height:1.65;margin:0 0 17px;flex:1}.pp-course-foot{display:flex;flex-direction:column;gap:12px;border-top:1px solid #e7edf5;padding-top:13px}.pp-course-foot>span{font-size:11px;color:#667b8e}.pp-course-foot a{background:#f22751;color:white!important;text-decoration:none!important;border-radius:12px;padding:12px 14px;display:flex;justify-content:space-between;align-items:center;font-weight:850;font-size:12px}.pp-course-foot a:hover{background:#d41e44}
.pp-support-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pp-support-card{border:1px solid #dbe6f0;border-radius:18px;background:#fff;padding:21px;display:flex;flex-direction:column;gap:9px}.pp-support-symbol{font-size:25px}.pp-support-card h3{font-size:17px;font-weight:850;color:#153354;margin:0}.pp-support-card p{font-size:12px;line-height:1.65;color:#5a6f83;flex:1;margin:0}.pp-support-card a{font-size:12px;color:#1264aa!important;font-weight:850;text-decoration:none!important}
.pp-directory-note{padding:16px 19px;margin-top:18px;background:#f5faff;border:1px solid #cfe3f3;border-radius:15px;color:#4b6277;font-size:12px;line-height:1.65}
.pp-course-empty{text-align:center;padding:28px;font-size:14px;color:#677d95}.pp-course-empty[hidden]{display:none}
.pp-directory-jumps{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.pp-directory-jumps a{background:white;border:1px solid #d6e4f1;border-radius:11px;color:#184c78!important;font-size:12px;padding:11px 13px;text-decoration:none!important;font-weight:800}
.pp-dir-group{scroll-margin-top:12px;margin-bottom:28px}.pp-dir-heading{margin:0 0 15px}.pp-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.pp-directory-card{background:white;border:1px solid #dce7f1;border-radius:18px;padding:20px;display:flex;gap:15px;align-items:flex-start;box-shadow:0 5px 15px #122b450a}.pp-directory-ico{display:grid;place-items:center;border-radius:13px;background:#edf5ff;width:46px;height:46px;flex-shrink:0;font-size:25px}.pp-directory-card h3{color:#163150;font-weight:850;font-size:17px;line-height:1.3;margin:1px 0 8px}.pp-directory-card p{color:#5b6d80;font-size:12.5px;line-height:1.58;margin:0 0 12px}.pp-directory-card a{font-size:12px;font-weight:850;color:#146bae!important;text-decoration:none!important}
.pp-directory-links-mini{margin:15px auto;max-width:1040px;background:#eaf4ff;border-radius:16px;padding:20px}.pp-directory-links-mini h2{margin:0 0 8px;font-size:21px;color:#0b3252}.pp-directory-links-mini p{font-size:13px;line-height:1.5}.pp-directory-links-mini>div{display:flex;flex-wrap:wrap;gap:12px}.pp-directory-links-mini a{color:#084e99!important;font-weight:800;font-size:13px}
.pp-course-card a:focus-visible,.pp-directory-card a:focus-visible,.pp-directory-jumps a:focus-visible{outline:3px solid #f13159;outline-offset:3px}
.pp-history-timeline{margin:-7px 0 28px;background:#ffffff;border:1px solid #dee9f4;border-radius:20px;padding:21px}.pp-history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pp-history-grid>div{background:#f4f8fd;border-radius:14px;padding:17px 14px;min-width:0}.pp-history-grid b{display:block;color:#dc2851;font-size:24px;line-height:1.15;font-weight:900}.pp-history-grid span{display:block;font-size:12px;line-height:1.5;color:#374e64;margin-top:6px}.pp-tools-section{margin-top:18px}.pp-tools-section .pp-support-grid{margin-top:14px}
@media(max-width:650px){.pp-history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pp-history-grid b{font-size:22px}}
@media(max-width:950px){.pp-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pp-feature-figure{font-size:48px;min-width:90px}}
@media(max-width:600px){.pp-directory-layout{width:calc(100% - 20px)!important}.pp-feature-banner{padding:23px 20px;border-radius:19px;align-items:flex-start}.pp-feature-banner h2{font-size:25px!important}.pp-feature-banner p{font-size:12px}.pp-feature-figure{display:none}.pp-section-line h2{font-size:22px}.pp-catalog-controls{display:block}.pp-catalog-search{margin-bottom:9px}.pp-course-grid,.pp-support-grid,.pp-directory-grid{grid-template-columns:1fr}.pp-course-card,.pp-directory-card{padding:17px}.pp-directory-jumps{flex-wrap:nowrap;overflow-x:auto}.pp-directory-jumps a{white-space:nowrap}.pp-course-card h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){.pp-course-card{transition:none}}

/* POLACY PRESTON: catalogue of 100 free OpenLearn courses */
.pp-course-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin:24px 0 0;flex-wrap:wrap}
.pp-course-pagination button{border:1px solid #d8e4f0;border-radius:13px;padding:13px 16px;background:#12395f;color:#fff;font-size:13px;font-weight:850;cursor:pointer;min-height:46px}
.pp-course-pagination button:disabled{background:#e8edf3;color:#8a99a8;cursor:default}
.pp-course-pagination .pp-page-current{font-size:13px;font-weight:850;color:#193b5f;min-width:98px;text-align:center}
.pp-page-summary{text-align:center;color:#61768c;font-size:12px;margin:10px 0 28px}
@media(max-width:600px){.pp-course-pagination{gap:8px}.pp-course-pagination button{padding:11px 13px;min-height:45px}.pp-course-pagination .pp-page-current{font-size:12px;min-width:80px}}
