/* Scoped additions cloned from SH-K12 approved Reading & Literature cards. */
.task-card-section .supporting-grid,.task-recommended-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch;}
.task-card-section .product-card:last-child,.task-recommended-grid .product-card:last-child {grid-column:auto;max-width:none;width:auto;justify-self:stretch;}
.task-card-product .cover-link {display:block;background:#f2f5fa;}
.task-card-product .cover-link img {width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;display:block;}
.task-card-product .product-card-body {gap:9px;}
.task-card-product .product-card-body h3 {font-size:clamp(1.02rem,1.8vw,1.28rem);line-height:1.3;overflow-wrap:anywhere;}
.task-card-product .product-card-body>p:not(.product-series){line-height:1.55;flex:1;}
.task-card-product .card-meta {margin:4px 0 12px;}
.task-card-product .product-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;}
.task-card-product .product-card-actions a{flex:1 1 145px;text-align:center;font-size:.91rem;}
.task-cards-intro {margin-top:30px;}
.task-cards-intro .section-heading {max-width:960px;}
.task-steps {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.task-step,.task-directory-card {border:1px solid #d7dfeb;background:white;border-radius:16px;padding:20px;box-shadow:0 8px 22px rgba(7,27,69,.06);}
.task-step h3 {color:#122e4b;margin:0 0 8px;font-size:1.25rem;}
.task-step p {margin:0;line-height:1.55;color:#475269;}
.task-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.task-directory-card {display:flex;gap:18px;align-items:center;text-decoration:none;color:#173859;}
.task-directory-card img {width:104px;height:104px;object-fit:contain;flex-shrink:0;border-radius:12px;}
.task-directory-card h3 {margin:0 0 8px;font-size:1.35rem;line-height:1.2;color:#122e4b;}
.task-directory-card p {margin:0 0 9px;line-height:1.45;color:#475269;}
.task-directory-card strong {color:#1f598a;}
.task-directory-card:hover,.task-directory-card:focus-visible {border-color:#b58a31;outline:2px solid #c6a756;outline-offset:2px;}
.task-math-note {margin:15px 0;color:#566174;font-size:.94rem;}
.task-page-nav {display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;margin:28px auto 12px;}
.task-page-nav a,.task-page-nav span {display:inline-flex;min-height:42px;min-width:43px;align-items:center;justify-content:center;padding:8px 12px;border:1px solid #b8c5d8;border-radius:9px;background:#f7f9fc;color:#123351;text-decoration:none;font-weight:800;}
.task-page-nav .is-current{color:#fff;background:#123351;}
.task-list-note{padding:12px 15px;border-left:4px solid #c59b38;background:#fffaf0;margin:16px 0;color:#44556d;line-height:1.5;}
.task-recommendation .task-card-product .cover-link img{max-height:280px;object-fit:contain;}
.task-recommendation .task-card-product{max-width:none;}
.task-directory-shell {margin-bottom:24px;}
@media(max-width:800px){.task-steps{grid-template-columns:1fr;}.task-directory-card{gap:12px;padding:15px;}.task-directory-card img{width:76px;height:76px;}}
@media(max-width:620px){.task-card-section .supporting-grid,.task-recommended-grid,.task-directory-grid{grid-template-columns:1fr;}.task-directory-card img{width:85px;height:85px;}.task-card-product .product-card-actions a{flex-basis:100%;}}
