.course-section{background:#f3f3f3;color:#161616}
.course-intro{display:grid;grid-template-columns:1fr minmax(240px,.72fr);align-items:end;gap:40px;margin-bottom:32px}
.course-intro h2{margin:.25em 0 0;font:400 clamp(2.6rem,4.6vw,5rem)/1.02 var(--headline);text-transform:uppercase;letter-spacing:-.025em}
.course-intro>p{max-width:49ch;margin:0;font-size:1.04rem;line-height:1.5;color:#484848}
.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.5vw,25px);align-items:start}
.course-mentor{overflow:hidden;border-radius:12px;background:white;min-width:0}
.course-photo{position:relative;overflow:hidden;isolation:isolate;min-height:180px;aspect-ratio:2;background:#e8e8e8}
.mentor-roberta .course-photo{background:#bbbbbb}.mentor-tautvydas .course-photo{background:#979797}
.course-photo:before{content:'';position:absolute;z-index:-1;right:5%;top:3%;width:45%;height:100%;border:5px solid #242424;border-radius:50%;transform:rotate(22deg)}
.mentor-roberta .course-photo:before{border:none;background:#e8e8e8;border-radius:0;transform:rotate(-25deg);height:140%;top:-19%;width:30%}
.mentor-tautvydas .course-photo:before{background:#acacac;border:none;width:50%;right:-6%;top:-10%}
.course-photo img{position:absolute;height:89%;width:49%;right:1.5%;bottom:0;object-fit:contain;object-position:right bottom;transform-origin:right bottom;filter:grayscale(1);transition:transform .3s ease}
.course-photo>div{position:absolute;bottom:15px;left:clamp(12px,1.5vw,24px)}
.course-photo h3{margin:4px 0 0;font:400 clamp(2.2rem,3.8vw,4.4rem)/1 var(--headline);letter-spacing:-.03em}
.course-area,.course-session{padding:clamp(16px,1.6vw,25px)}.course-area p{color:#5a5a5a;margin:2px 0 0;font-size:.92rem}.course-area strong{font-size:1.1rem}
.course-session{border-top:1px solid #e1e1e1}.course-session h4{margin:0 0 10px;font:580 clamp(1.13rem,1.4vw,1.62rem)/1.18 var(--bodyface);letter-spacing:-.035em;text-wrap:balance}
.course-session summary{width:fit-content;padding:6px 0;color:#545454;cursor:pointer;font-size:.93rem;text-decoration:underline;text-underline-offset:.2em}
.course-session details p{font-size:.95rem;line-height:1.5;margin:10px 0;color:#434343}
.course-session details p strong{display:block;color:#111}
.course-register{display:inline-flex;align-items:center;min-height:42px;border:0;border-radius:30px;background:#222222;color:#fff;padding:7px 17px;font:650 .94rem var(--bodyface);margin-top:9px}
.course-register:hover,.course-register:focus-visible{background:var(--acid);color:#151515}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.course-mentor:hover .course-photo img{transform:translateY(-2px) scale(1.024)}}
@media(max-width:850px){.course-intro{grid-template-columns:1fr;gap:12px}.course-grid{grid-template-columns:1fr}.course-photo{min-height:0;aspect-ratio:2.5;max-height:230px}.course-photo img{width:47%}.course-photo h3{font-size:clamp(2.7rem,8vw,4.5rem)}.course-photo>div{left:18px}.course-area,.course-session{padding:17px 19px}.course-session h4{font-size:1.3rem}}

.course-photo{container-type:inline-size}
.course-photo h3{line-height:1.12;font-size:clamp(1.75rem,9.5cqw,3.8rem)}
.course-photo>div{left:4.7%;bottom:7.5%;max-width:45%;z-index:1}
