/* Catalog-only paper margins and one shared frame language. */
body.catalog-design{position:relative;isolation:isolate;background:#e8f4fc}
body.catalog-design>header,body.catalog-design>main,body.catalog-design>footer,body.catalog-design>.app-portal-nav{position:relative;z-index:1}
@media(min-width:1100px){body.catalog-design::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:0;background-image:linear-gradient(#7fb8d32b 1px,transparent 1px),linear-gradient(90deg,#7fb8d32b 1px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(90deg,#000,transparent max(30px,calc((100vw - 1288px)/2)),transparent calc(100% - max(30px,calc((100vw - 1288px)/2))),#000)}}
.catalog-design.section-hub .p-cards>a.p-card{--catalog-tile:#fff0bb;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:stretch;gap:0;background:var(--catalog-tile);border:0;border-radius:28px;overflow:hidden;min-height:320px;padding:163px 20px 20px;box-shadow:none;transform:none;transition:box-shadow .15s ease}
.catalog-design.section-hub .p-cards>a.p-card:nth-child(3n+2){--catalog-tile:#e5dafb}.catalog-design.section-hub .p-cards>a.p-card:nth-child(3n){--catalog-tile:#c6eee1}
.catalog-design .p-cards>a.p-card::after,.catalog-design .en-card::after,.catalog-design.word-selection #sets>.set::after{content:"";position:absolute;inset:0;border:4px solid #fff;border-radius:inherit;pointer-events:none;z-index:5;box-sizing:border-box}
.catalog-design.section-hub .p-cards>a.p-card h2{display:block;min-height:2.6em;line-height:1.3;margin:0 0 9px;font-size:1.13rem;align-self:stretch}
.catalog-design.section-hub .p-cards>a.p-card p{min-height:2.9em;margin:0 0 18px;font-size:.88rem;line-height:1.5}
.catalog-design.section-hub .p-cards>a.p-card small{width:auto;min-height:0;margin:auto 0 0;padding:0;display:flex;flex-direction:row;align-items:center;gap:10px;flex-wrap:wrap;font-size:.77rem}
.catalog-design .p-card-cta{margin:0;background:transparent!important;padding:0!important;color:#245887!important;border-radius:0!important;font-weight:750}
.catalog-design .p-cards>a.p-card .unified-preview,.catalog-design .p-cards>a.p-card .speech-preview{position:absolute;inset:0 0 auto;width:100%;height:144px;padding:10px;border:4px solid #fff;border-radius:28px 28px 0 0;display:flex;justify-content:center;align-items:center;overflow:hidden;background:#ffffff75;gap:4px;box-sizing:border-box}
.catalog-design .p-cards>a.p-card .unified-preview img,.catalog-design .p-cards>a.p-card .speech-preview img{max-width:100%;width:auto;height:100%;object-fit:contain;border-radius:12px}
.catalog-design .p-cards>a.p-card .speech-preview img:not(:only-child){width:auto;max-width:45%;height:100%;object-fit:contain}
.catalog-design.section-hub .p-cards>a.p-card .p-card-icon{position:absolute;inset:0 0 auto;transform:none;margin:0;display:flex;justify-content:center;align-items:center;width:100%;height:144px;border:4px solid white;border-radius:28px 28px 0 0;background:#ffffff70;font-size:2.25rem}
.catalog-design .en-card,.catalog-design.word-selection #sets>.set{position:relative;isolation:isolate;border:0!important;border-radius:28px!important;box-shadow:none!important;transform:none!important;transition:box-shadow .15s ease}
.catalog-design .en-card .en-card-wash{display:none}.catalog-design .en-card .en-card-photo{position:relative;display:block;width:100%;height:144px;top:0;right:0;border:4px solid #fff;border-radius:28px 28px 0 0;object-fit:cover}.catalog-design .en-card .en-card-copy{width:100%;padding:18px 20px 20px;background:transparent;min-height:190px}
.catalog-design.word-selection #sets>.set .set-art{border:4px solid #fff;border-radius:20px;background:#ffffff55;padding:8px}
@media(hover:hover){.catalog-design.section-hub .p-cards>a.p-card:hover,.catalog-design .en-card:hover,.catalog-design.word-selection #sets>.set:hover{box-shadow:0 4px 14px #24476618!important;transform:none!important}}
@media(max-width:700px){.catalog-design.section-hub .p-cards>a.p-card{padding:132px 15px 18px;min-height:300px;border-radius:24px}.catalog-design .p-cards>a.p-card .unified-preview,.catalog-design .p-cards>a.p-card .speech-preview{inset:0 0 auto;width:100%;height:116px;padding:8px;border-radius:24px 24px 0 0}.catalog-design.section-hub .p-cards>a.p-card .p-card-icon{inset:0 0 auto;width:100%;height:116px;transform:none;border-radius:24px 24px 0 0;font-size:2rem}.catalog-design.section-hub .p-cards>a.p-card h2{font-size:1.02rem;min-height:2.6em;margin-bottom:9px}.catalog-design.section-hub .p-cards>a.p-card p{font-size:.85rem;min-height:2.9em;margin-bottom:16px}.catalog-design .en-card .en-card-photo{position:relative;width:100%;height:120px;display:block;border-radius:24px 24px 0 0;object-fit:cover}.catalog-design .en-card .en-card-copy{width:100%;min-height:210px;padding:16px}.catalog-design .en-card .en-card-desc{min-height:2.7em}.catalog-design.section-hub .p-cards>a.p-card small{flex-direction:column;align-items:start}}
@media(prefers-reduced-motion:reduce){.catalog-design .p-card,.catalog-design .en-card,.catalog-design #sets>.set{transition:none!important}}

.catalog-design .en-card .en-card-copy strong{max-width:none;min-height:2.6em}.catalog-design .en-card .en-card-cta{margin-top:auto}.catalog-design .p-card-cta::before{content:none}

/* Speaking previews are photographs, separate from the exercise illustrations. */
.catalog-design.speech-hub .p-cards>a.p-card .speech-preview{padding:0;background:transparent;border:4px solid #fff}
.catalog-design.speech-hub .p-cards>a.p-card .speech-preview img:only-child{display:block;width:100%;max-width:100%;height:100%;object-fit:cover;object-position:center 45%;border-radius:0}
.catalog-design.speech-hub .p-cards>a.p-card{min-height:286px}
.catalog-design.speech-hub .p-cards>a.p-card h2{min-height:0;margin-bottom:10px}
.catalog-design.speech-hub .p-cards>a.p-card p{min-height:0;margin-bottom:18px}
@media(max-width:700px){.catalog-design.speech-hub .p-cards>a.p-card{min-height:280px}.catalog-design.speech-hub .p-cards>a.p-card h2{min-height:2.6em}.catalog-design.speech-hub .p-cards>a.p-card p{min-height:2.9em}}
/* Keep the full photographic composition in a responsive 16:9 header. */
.catalog-design.speech-hub .p-cards>a.p-card{padding:0 0 18px;min-height:0}
.catalog-design.speech-hub .p-cards>a.p-card .speech-preview{position:relative;inset:auto;flex:0 0 auto;width:100%;height:auto;aspect-ratio:16/9}
.catalog-design.speech-hub .p-cards>a.p-card .speech-preview img:only-child{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 25%}
.catalog-design.speech-hub .p-cards>a.p-card h2{margin:16px 18px 9px}
.catalog-design.speech-hub .p-cards>a.p-card p{margin:0 18px 16px}
.catalog-design.speech-hub .p-cards>a.p-card small{margin:auto 18px 0;width:calc(100% - 36px)}
@media(max-width:700px){.catalog-design.speech-hub .p-cards>a.p-card{padding:0 0 16px}.catalog-design.speech-hub .p-cards>a.p-card h2{margin:13px 14px 8px}.catalog-design.speech-hub .p-cards>a.p-card p{margin:0 14px 15px}.catalog-design.speech-hub .p-cards>a.p-card small{margin:auto 14px 0;width:calc(100% - 28px)}}
/* Section hierarchy: title band, preview, then the compact action area. */
.catalog-design.section-hub .p-cards>a.p-card,.catalog-design.speech-hub .p-cards>a.p-card{padding:0 0 18px;min-height:0;display:flex;flex-direction:column}
.catalog-design.section-hub .p-cards>a.p-card>h2,.catalog-design.speech-hub .p-cards>a.p-card>h2{order:0;display:flex;align-items:center;align-self:stretch;margin:0;padding:17px 20px;min-height:72px;line-height:1.25;font-size:1.22rem;font-weight:780}
.catalog-design.section-hub .p-cards>a.p-card .unified-preview,.catalog-design.section-hub .p-cards>a.p-card .speech-preview,.catalog-design.section-hub .p-cards>a.p-card .p-card-icon{position:relative;inset:auto;transform:none;flex:0 0 auto;width:100%;border:0;border-top:4px solid #fff;border-bottom:4px solid #fff;border-radius:0;margin:0}
.catalog-design.section-hub .p-cards>a.p-card .unified-preview,.catalog-design.section-hub .p-cards>a.p-card .p-card-icon{height:144px}
.catalog-design.section-hub .p-cards>a.p-card .speech-preview{height:auto;aspect-ratio:16/9}
.catalog-design.section-hub .p-cards>a.p-card>p,.catalog-design.speech-hub .p-cards>a.p-card>p{margin:15px 20px 16px;min-height:0;font-size:.9rem;line-height:1.5}
.catalog-design.section-hub .p-cards>a.p-card>small,.catalog-design.speech-hub .p-cards>a.p-card>small{margin:auto 20px 0;width:calc(100% - 40px);padding:0;min-height:24px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px}
.catalog-design .en-card>.en-card-heading{display:flex;align-items:center;min-height:72px;margin:0;padding:17px 20px;max-width:none;font-size:1.22rem;line-height:1.25;font-weight:780}
.catalog-design .en-card .en-card-photo{border-radius:0;border-left:0;border-right:0}
.catalog-design .en-card .en-card-copy{padding:14px 20px 18px;min-height:150px}
@media(max-width:700px){.catalog-design.section-hub .p-cards>a.p-card>h2,.catalog-design.speech-hub .p-cards>a.p-card>h2,.catalog-design .en-card>.en-card-heading{min-height:78px;font-size:1.04rem;padding:14px 15px}.catalog-design.section-hub .p-cards>a.p-card .unified-preview,.catalog-design.section-hub .p-cards>a.p-card .p-card-icon{height:116px}.catalog-design.section-hub .p-cards>a.p-card>p,.catalog-design.speech-hub .p-cards>a.p-card>p{margin:13px 15px 15px;font-size:.85rem}.catalog-design.section-hub .p-cards>a.p-card>small,.catalog-design.speech-hub .p-cards>a.p-card>small{margin:auto 15px 0;width:calc(100% - 30px);flex-direction:column;align-items:start;gap:10px}.catalog-design .en-card .en-card-copy{padding:13px 15px 17px;min-height:165px}}
/* Department cards: keep the decision together, with the photo underneath. */
.catalog-design.section-hub .p-cards>a.p-card,.catalog-design.speech-hub .p-cards>a.p-card{padding:0;min-height:0}
.catalog-design.section-hub .p-cards>a.p-card>h2,.catalog-design.speech-hub .p-cards>a.p-card>h2{order:0;min-height:0;padding:20px 20px 0;margin:0;font-size:1.22rem}
.catalog-design.section-hub .p-cards>a.p-card>p,.catalog-design.speech-hub .p-cards>a.p-card>p{order:1;min-height:0;margin:10px 20px 16px}
.catalog-design.section-hub .p-cards>a.p-card>small,.catalog-design.speech-hub .p-cards>a.p-card>small{order:2;margin:auto 20px 18px;min-height:24px;width:calc(100% - 40px);flex-direction:row;align-items:center}
.catalog-design.section-hub .p-cards>a.p-card .unified-preview,.catalog-design.section-hub .p-cards>a.p-card .speech-preview,.catalog-design.section-hub .p-cards>a.p-card .p-card-icon{order:3;border-bottom:0;border-radius:0;overflow:hidden}
.catalog-design .en-card{display:flex;flex-direction:column}.catalog-design .en-card>.en-card-heading{order:0;min-height:0;padding-bottom:0}.catalog-design .en-card .en-card-copy{order:1;min-height:0;padding-top:10px;padding-bottom:18px;flex:1}.catalog-design .en-card .en-card-photo{order:2;border-bottom:0;border-radius:0}
@media(max-width:600px){.catalog-design.section-hub nav.p-cards,.catalog-design.selection-hub .en-cards{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;gap:18px}.catalog-design.section-hub .p-cards>a.p-card>h2,.catalog-design.speech-hub .p-cards>a.p-card>h2{font-size:1.2rem;min-height:0;padding:20px 20px 0}.catalog-design.section-hub .p-cards>a.p-card>p,.catalog-design.speech-hub .p-cards>a.p-card>p{font-size:.95rem;min-height:0;margin:9px 20px 16px}.catalog-design.section-hub .p-cards>a.p-card>small,.catalog-design.speech-hub .p-cards>a.p-card>small{font-size:.84rem;flex-direction:row;align-items:center;margin:0 20px 18px;width:calc(100% - 40px)}.catalog-design .en-card>.en-card-heading{font-size:1.2rem;padding:20px 20px 0;min-height:0}.catalog-design .en-card .en-card-copy{padding:10px 20px 18px;min-height:0}.catalog-design .en-card .en-card-photo{height:auto;aspect-ratio:16/9}}
/* Strong titles and one contextual action over the photograph. */
.catalog-design.section-hub .p-cards>a.p-card>h2,.catalog-design.speech-hub .p-cards>a.p-card>h2,.catalog-design .en-card>.en-card-heading{font-size:1.6rem;line-height:1.2;font-weight:800;color:#20394c;letter-spacing:-.025em}
.catalog-design.section-hub .p-cards>a.p-card>p,.catalog-design.speech-hub .p-cards>a.p-card>p{font-weight:400;font-size:.9rem;margin-top:9px;margin-bottom:12px}
.catalog-design.section-hub .p-cards>a.p-card>small,.catalog-design.speech-hub .p-cards>a.p-card>small{font-size:.78rem;font-weight:400;margin-bottom:14px;min-height:0}
.catalog-design .p-card-meta{font-weight:400}
.catalog-design .p-cards>a.p-card .speech-preview .p-card-cta,.catalog-design .p-cards>a.p-card .unified-preview .p-card-cta,.catalog-design .en-preview .en-card-cta{position:absolute;right:14px;bottom:14px;z-index:3;display:block;padding:10px 15px!important;border:0;border-radius:12px!important;background:#183447d9!important;color:#fff!important;font-size:1.25rem;font-weight:750;line-height:1.2;min-height:0;box-shadow:none;margin:0;white-space:nowrap}
.catalog-design .en-preview{position:relative;order:2;display:block;aspect-ratio:16/9;overflow:hidden;border-top:4px solid white;flex:none}
.catalog-design .en-card .en-preview .en-card-photo{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;object-fit:cover}
@media(max-width:600px){.catalog-design.section-hub .p-cards>a.p-card>h2,.catalog-design.speech-hub .p-cards>a.p-card>h2,.catalog-design .en-card>.en-card-heading{font-size:1.6rem}.catalog-design .p-cards>a.p-card .speech-preview .p-card-cta,.catalog-design .p-cards>a.p-card .unified-preview .p-card-cta,.catalog-design .en-preview .en-card-cta{font-size:1.3rem;right:15px;bottom:15px}}
/* A photo remains full bleed when its preview also contains the action label. */
.catalog-design.speech-hub .p-cards>a.p-card .speech-preview>img,
.catalog-design.section-hub .p-cards>a.p-card .unified-preview>img{position:absolute;inset:0;display:block;width:100%;max-width:none;height:100%;object-fit:cover;object-position:center 25%;border-radius:0}
.catalog-design.section-hub .p-cards>a.p-card .unified-preview{padding:0}

/* Specific lesson content replaces generic counts and filler. */
.catalog-design .en-card .en-card-desc{max-width:none;width:100%;font-size:.88rem;line-height:1.5;min-height:0}
.catalog-design .en-card .en-card-desc b{font-weight:700}
.catalog-design .en-card .en-card-copy{gap:7px;padding-bottom:18px}
.catalog-design .en-card .en-card-status{display:none}

/* First-word lessons use the portal's full-bleed photo cards. */
.catalog-design.word-selection #sets{gap:22px;align-items:stretch}.catalog-design.word-selection #sets>.photo-set{display:flex;flex-direction:column;padding:0;gap:0;min-height:0;overflow:hidden;filter:none;color:#233e46}.catalog-design.word-selection .photo-set .set-copy{display:flex;flex-direction:column;gap:13px;padding:26px 24px 24px;flex:1}.catalog-design.word-selection .photo-set .set-eyebrow{font-size:.73rem;font-weight:750;letter-spacing:.09em;color:#536976}.catalog-design.word-selection .photo-set strong{font-size:clamp(1.4rem,2.2vw,1.8rem);line-height:1.15;letter-spacing:-.025em;margin:0;min-height:0}.catalog-design.word-selection .photo-set small{font-size:.9rem;line-height:1.65;color:#4c6573;margin:0;min-height:0}.catalog-design.word-selection .photo-set .set-photo{display:block;position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-top:4px solid #fff;flex:none}.catalog-design.word-selection .photo-set .set-photo>img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 35%;mix-blend-mode:normal}.catalog-design.word-selection .photo-set .set-status{display:block;position:absolute;right:16px;bottom:16px;padding:11px 17px;margin:0;border-radius:12px;background:#244b4be8;color:white;font-size:1.12rem;font-weight:800;line-height:1.2}.catalog-design.word-selection .intro h1{font-size:clamp(1.8rem,3.3vw,2.6rem)}
@media(max-width:850px){.catalog-design.word-selection #sets{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.catalog-design.word-selection #sets{grid-template-columns:1fr;gap:20px}.catalog-design.word-selection .photo-set .set-copy{padding:24px;gap:11px}.catalog-design.word-selection .photo-set strong{font-size:1.8rem}.catalog-design.word-selection .photo-set small{font-size:.94rem}.catalog-design.word-selection .photo-set .set-status{font-size:1.25rem}}

/* Compact two-column word selection on phones. */
@media(max-width:700px){
body.catalog-design.word-selection #menu>.sets{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:12px}
body.catalog-design.word-selection #menu #sets>.photo-set{min-height:0;padding:0;border-radius:22px!important}
body.catalog-design.word-selection #menu .photo-set .set-copy{padding:17px 13px 18px;gap:9px;flex:1}
body.catalog-design.word-selection #menu .photo-set .set-eyebrow{font-size:.59rem;letter-spacing:.045em;line-height:1.3}
body.catalog-design.word-selection #menu .photo-set strong{font-size:1.12rem;line-height:1.2;letter-spacing:-.02em;min-height:0;margin:0}
body.catalog-design.word-selection #menu .photo-set small{font-size:.76rem;line-height:1.5;min-height:0;margin:0}
body.catalog-design.word-selection #menu .photo-set .set-status{font-size:.92rem;padding:9px 11px;right:9px;bottom:9px;border-radius:10px;line-height:1.1;margin:0;max-width:calc(100% - 18px);white-space:nowrap}
body.catalog-design.word-selection #menu .photo-set .set-photo{aspect-ratio:4/3}
body.catalog-design.word-selection #menu>.intro h1{font-size:1.45rem;line-height:1.2;margin:5px 0 14px}
body.catalog-design.word-selection #menu #resume{font-size:.95rem;min-height:45px;padding:10px 15px;border-radius:13px}
body.catalog-design.word-selection #menu .collection{font-size:.8rem;line-height:1.45;margin:13px 0 18px}
}
