/* Writing catalogue inherits Speaking M gallery. Scope changes to the two-course layout. */
:root{--preview-orange:#343B46}
.cards{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1010px;margin:0 auto;gap:24px}
.course-art{height:184px}
.course-art svg{width:176px;height:142px}
.card-body{min-height:245px;padding:24px 24px 21px}
.card-body h3{font-size:31px;margin-top:8px;margin-bottom:5px}
.card-subtitle{color:#343B46;font-size:11px;font-weight:800;letter-spacing:.055em;margin:0 0 13px;text-transform:uppercase}
.card-desc{font-size:13px;margin-bottom:13px}
.skill-list{display:flex;gap:6px;flex-wrap:wrap;list-style:none;margin:0 0 23px;padding:0}
.skill-list li{border:1px solid #DFE2E6;border-radius:6px;color:#343B46;background:#F8F9FA;padding:5px 7px;font-weight:700;font-size:9px;white-space:nowrap}
.card-footer{margin-top:auto}
.course-card:focus-within{outline:none}
.course-card:has(.action:focus-visible){outline:2px solid var(--orange);outline-offset:3px}
.release-control select:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.card-small{display:block}
.header-badge{background:#F8F9FA;border:1px solid #DFE2E6;border-radius:99px;color:#343B46;padding:6px 10px;font-size:10px;font-weight:800;white-space:nowrap}
.bottom-line{margin-top:26px}
.card-count{font-size:12px;color:var(--sub)}.card-count strong{font-size:16px;color:var(--ink);font-weight:850}
@media(max-width:960px){.cards{gap:15px}.card-body{min-height:264px;padding:20px}.skill-list{margin-bottom:17px}}
@media(max-width:720px){.cards{grid-template-columns:1fr;max-width:none}.course-art{min-height:220px}.card-body{min-height:220px;padding:18px 16px}.card-body h3{font-size:25px}.card-desc{font-size:12px;line-height:1.5;margin-bottom:13px}.skill-list{display:none}.course-art svg{width:88%;max-width:155px;height:auto}.card-subtitle{font-size:10px;margin-bottom:11px}}
@media(max-width:420px){.card-body h3{font-size:23px}.card-body{padding:16px 14px}.card-subtitle{font-size:9px}.card-desc{font-size:11px}.course-art{min-height:218px}.card-footer{gap:8px}.action{padding:8px 9px;font-size:11px}}
@media(max-width:345px){.course-card{display:flex;flex-direction:column}.course-art{min-height:145px;height:145px}.course-art svg{height:130px}.card-body{min-height:0}.skill-list{display:flex}.card-footer{margin-top:15px}}
