.offer-photo-preview .path-basics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.offer-photo-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #e3dfd6;border-radius:20px;background:#fff;color:#173e32;transition:background .2s,transform .2s}
.offer-photo-card:hover,.offer-photo-card:focus-visible{background:#f7f3eb;color:#173e32;transform:translateY(-3px)}
.offer-photo{display:block;position:relative;height:250px;overflow:hidden;background:#f7f3eb}
.offer-photo img{width:100%;height:100%;object-fit:cover;display:block}
.offer-mother .offer-photo img{position:absolute;width:200%;max-width:none;height:auto;right:0;top:50%;transform:translateY(-50%)}
.offer-copy{padding:27px;display:flex;flex:1;flex-direction:column;gap:16px}
.offer-copy h3{font-size:1.5rem;line-height:1.3;letter-spacing:-.025em;margin:0}
.offer-description{font-size:.95rem;line-height:1.7}
.offer-method{font-size:.83rem;font-weight:700;color:#53664b;margin-top:auto;padding-top:8px}
.offer-note{font-size:.78rem;border-top:1px solid #ded2be;padding-top:12px}
.offer-photo-badge{position:absolute;top:16px;left:16px;padding:6px 11px;border-radius:7px;background:#173e32;color:#fff;font-size:.72rem;font-weight:700;line-height:1.4}
.offer-note strong{font-size:.83rem;font-weight:700;color:#53664b}
.offer-special-photo .offer-photo-card{display:grid;grid-template-columns:1fr 2fr}
.offer-special-photo .offer-photo{height:330px}
.offer-special-photo img{object-position:center 57%}
.offer-special-photo .offer-copy{justify-content:center;padding:34px}
.offer-special-photo .offer-method{margin-top:0}
.selfstudy-compact-card{display:flex;align-items:flex-start;gap:20px;padding:26px;border:1px solid #e3dfd6;border-radius:18px;background:#fff;transition:background .2s}
.selfstudy-compact-card:hover,.selfstudy-compact-card:focus-within{background:#f7f3eb}
.selfstudy-small-icon{display:grid;place-items:center;flex:0 0 64px;width:64px;height:64px;border-radius:50%;background:#f1e8d9;color:#173e32}
.selfstudy-small-icon svg{width:54px;height:54px}
.selfstudy-compact-card h3{font-size:1.2rem;line-height:1.4;margin:0 0 12px}
.selfstudy-compact-card p:not(.eyebrow){font-size:.85rem;margin:0 0 14px}
.selfstudy-compact-card .eyebrow{font-size:.62rem;margin-bottom:10px}
.compact-method{font-size:.8rem;color:#53664b}
.selfstudy-compact-card .card-bottom{margin-top:18px;padding-top:16px}
@media(max-width:900px){.offer-photo-preview .path-basics{gap:14px}.offer-copy{padding:20px}.offer-copy h3{font-size:1.25rem}.offer-photo{height:205px}.selfstudy-compact-card{gap:12px;padding:20px}.selfstudy-small-icon{flex-basis:48px;width:48px;height:48px}.selfstudy-small-icon svg{width:42px;height:42px}}
@media(max-width:700px){.offer-photo-preview .path-basics{grid-template-columns:1fr}.offer-photo{height:260px}.offer-special-photo .offer-photo-card{display:flex}.offer-special-photo .offer-photo{height:260px}.offer-special-photo .offer-copy{padding:24px}.offer-copy h3{font-size:1.4rem}}
.offer-photo-inner{display:block;height:100%}.offer-mother .offer-photo{background:#eeebea}.offer-mother .offer-photo-inner{width:56%;margin:auto;position:relative;overflow:hidden}.offer-mother .offer-photo img{width:200%;height:100%;left:0;right:auto;top:0;transform:none;object-fit:cover}
.selfstudy-small-icon{display:flex;align-items:center;justify-content:center}.selfstudy-small-icon svg:not(:only-child){width:29px;height:45px}@media(max-width:900px){.selfstudy-small-icon svg:not(:only-child){width:22px;height:36px}}

.offer-price-note{font-size:.7rem;font-weight:400;color:#53664b;white-space:nowrap}
.selfstudy-icon-pair{display:flex;flex-direction:column;gap:10px;flex-shrink:0}
/* Shared content rows keep neighboring cards aligned, even when text wraps. */
@media(min-width:701px){
 .offer-photo-preview .path-basics{grid-auto-rows:auto;row-gap:0}
 .offer-photo-preview .path-basics>.offer-photo-card{display:grid;grid-template-rows:subgrid;grid-row:span 5;row-gap:0;transform:none}
 .offer-photo-preview .path-basics .offer-photo{height:250px}
 .offer-photo-preview .path-basics .offer-copy{display:grid;grid-template-rows:subgrid;grid-row:span 4;row-gap:16px;padding:27px}
 .offer-photo-preview .path-basics .offer-copy h3{min-height:2.6em}
 .offer-photo-preview .path-basics .offer-description{min-height:5.1em}
 .offer-photo-preview .path-basics .offer-method{margin-top:0;min-height:3.3em}
 .offer-photo-preview .path-basics .offer-note{min-height:3.3em}
 .offer-photo-preview .selfstudy-grid{row-gap:0}
 .offer-photo-preview .selfstudy-compact-card{display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 5;row-gap:0;align-items:stretch}
 .offer-photo-preview .selfstudy-compact-card>.selfstudy-icon-pair,.offer-photo-preview .selfstudy-compact-card>.selfstudy-small-icon{grid-column:1;grid-row:1 / span 5;align-self:start}
 .offer-photo-preview .selfstudy-compact-card>div{display:grid;grid-column:2;grid-row:1 / span 5;grid-template-rows:subgrid;min-width:0}
 .offer-photo-preview .selfstudy-compact-card h3{min-height:2.8em}
 .offer-photo-preview .selfstudy-compact-card .card-bottom{align-self:end}
 .offer-photo-preview .path-workshops .path-course-title{min-height:2.8em}
 .offer-photo-preview .path-workshops .path-method{min-height:3.6em}
 .offer-photo-preview .path-workshops .path-scope{min-height:3em}
}
@media(min-width:701px) and (max-width:900px){
 .offer-photo-preview .path-basics .offer-photo{height:205px}
 .offer-photo-preview .path-basics .offer-copy{padding:20px}
 .offer-photo-preview .selfstudy-compact-card{grid-template-columns:48px minmax(0,1fr)}
}

.offer-photo-card.offer-package{background:#f7f3eb}
.offer-photo-card.offer-package:hover,.offer-photo-card.offer-package:focus-visible{background:#f1e8d9}
