.profile-formats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.profile-formats article{padding:25px;border:1px solid var(--border);border-radius:22px;background:var(--surface)}
.profile-formats h3{display:flex;align-items:center;gap:13px;font-size:20px;line-height:1.4;margin:0 0 20px}
.profile-formats h3 .art{width:40px;height:40px;flex:none}
.profile-formats p{color:var(--muted);font-size:14px;line-height:1.8;margin:0}
.profile-formats article>div{padding-top:18px;margin-top:20px;border-top:1px solid var(--border)}
.profile-formats strong{display:block;color:var(--gold);font-size:12px;margin-bottom:10px}
@media(min-width:1051px){.intensive-quality-page .writing-practice-card:nth-child(3n + 1):nth-last-child(2),.intensive-quality-page .writing-practice-card:nth-child(3n + 2):last-child{grid-column:span 3}}
@media(min-width:701px) and (max-width:1050px){.profile-formats{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-formats article:last-child{grid-column:1/-1}}
@media(max-width:700px){.profile-formats{grid-template-columns:1fr}.profile-formats article{padding:20px}}
/* A lone offer uses the whole row without a tall empty side column. */
@media(min-width:1051px){
.intensive-quality-page .writing-course:nth-child(3n + 1 of .writing-course:not([hidden])):nth-last-child(1 of .writing-course:not([hidden])){display:block}
.intensive-quality-page .writing-course:nth-child(3n + 1 of .writing-course:not([hidden])):nth-last-child(1 of .writing-course:not([hidden])) .writing-course-summary{display:grid;grid-template-columns:1fr 1fr;align-items:center}
.intensive-quality-page .writing-course:nth-child(3n + 1 of .writing-course:not([hidden])):nth-last-child(1 of .writing-course:not([hidden])) .writing-course-content{border-left:0;display:grid;grid-template-columns:1fr 1fr;gap:16px 24px}
.intensive-quality-page .writing-course:nth-child(3n + 1 of .writing-course:not([hidden])):nth-last-child(1 of .writing-course:not([hidden])) .writing-facts{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.intensive-quality-page .writing-course:nth-child(3n + 1 of .writing-course:not([hidden])):nth-last-child(1 of .writing-course:not([hidden])) .writing-details,.intensive-quality-page .writing-course:nth-child(3n + 1 of .writing-course:not([hidden])):nth-last-child(1 of .writing-course:not([hidden])) .writing-plan-course{grid-column:1/-1;margin-top:0}
}
@media(min-width:701px) and (max-width:1050px){
.intensive-quality-page .writing-course:nth-child(odd of .writing-course:not([hidden])):nth-last-child(1 of .writing-course:not([hidden])){display:block}
.intensive-quality-page .writing-course:nth-child(odd of .writing-course:not([hidden])):nth-last-child(1 of .writing-course:not([hidden])) .writing-course-summary{display:grid;grid-template-columns:1fr 1fr;align-items:center}
.intensive-quality-page .writing-course:nth-child(odd of .writing-course:not([hidden])):nth-last-child(1 of .writing-course:not([hidden])) .writing-course-content{border-left:0;display:grid;grid-template-columns:1fr 1fr;gap:16px 24px}
.intensive-quality-page .writing-course:nth-child(odd of .writing-course:not([hidden])):nth-last-child(1 of .writing-course:not([hidden])) .writing-facts{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.intensive-quality-page .writing-course:nth-child(odd of .writing-course:not([hidden])):nth-last-child(1 of .writing-course:not([hidden])) .writing-facts dd{margin-left:0}
.intensive-quality-page .writing-course:nth-child(odd of .writing-course:not([hidden])):nth-last-child(1 of .writing-course:not([hidden])) .writing-details,.intensive-quality-page .writing-course:nth-child(odd of .writing-course:not([hidden])):nth-last-child(1 of .writing-course:not([hidden])) .writing-plan-course{grid-column:1/-1;margin-top:0}
.intensive-quality-page .writing-practice-card:nth-child(odd):last-child{grid-template-columns:.8fr 1.2fr;align-items:center}
}

/* Compact editorial crops match the approved subject course cards. */
.intensive-quality-page .writing-course figure img,.intensive-quality-page .writing-practice-image{object-fit:cover;object-position:50% 48%}
.intensive-quality-page .writing-practice-image{height:auto;aspect-ratio:16/9;max-height:270px}




.intensive-quality-page .course-check-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.intensive-quality-page .course-check-item{grid-template-columns:42px minmax(0,1fr) 22px;padding:22px;gap:12px;align-items:start}
.intensive-quality-page .course-check-item .art{width:42px;height:42px}
.intensive-quality-page .course-check-copy strong{font-size:16px}
.intensive-quality-page .course-check-copy small{font-size:13px}
.intensive-quality-page .intensive-result-heading{display:flex;gap:14px;align-items:center;margin-bottom:22px}
.intensive-quality-page .intensive-result-heading .art{width:40px;height:40px;flex:none}
.intensive-quality-page .intensive-result-heading h3{margin:0}
.intensive-quality-page [data-course-questions]{list-style:none;padding:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 28px}
.intensive-quality-page [data-course-questions] li{position:relative;padding:4px 0 4px 34px}
.intensive-quality-page [data-course-questions] li:before{content:'✓';position:absolute;left:0;top:7px;display:grid;place-items:center;width:21px;height:21px;background:linear-gradient(140deg,#ffe2a6,#edbc70);color:#214131;border-radius:7px;font-size:14px;font-weight:700}
.intensive-quality-page .course-check-reset{display:flex;justify-content:center;min-width:210px;margin:22px auto 0}
@media(max-width:1050px){.intensive-quality-page .course-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.intensive-quality-page .course-check-grid,.intensive-quality-page [data-course-questions]{grid-template-columns:minmax(0,1fr)}.intensive-quality-page .course-check-item{padding:19px}.intensive-quality-page .course-check-reset{width:100%}.intensive-quality-page .intensive-result-heading h3{font-size:22px}}
