/* Open course gallery: photos retain their original dimensions. */
.course-gallery{display:flex;flex-direction:column;gap:70px}
.course-gallery-item{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:70px;align-items:center;min-width:0;padding:35px 0 0;border-top:1px solid var(--divider,#aeb8b2);text-decoration:none;color:var(--coal,#14292e)}
.course-gallery-item>*{min-width:0}.course-gallery-photo{align-self:center;overflow:visible;background:transparent}.course-gallery-photo img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;transform:none;transition:none}
.course-gallery-copy{padding:6px 0 18px}.course-gallery-item h3{font:700 clamp(40px,4vw,64px)/1.03 var(--heading);margin:0 0 25px;hyphens:manual;overflow-wrap:break-word;letter-spacing:-.015em}
.course-gallery-price{display:inline-flex;flex-direction:column;align-items:flex-start;padding:12px 18px;background:var(--accent,#bd1625);color:#fff;max-width:100%;margin:0 0 23px;font-variant-numeric:tabular-nums}.course-gallery-price strong{font:600 clamp(34px,3vw,44px)/1.08 var(--body);white-space:nowrap;letter-spacing:-.025em}.course-gallery-price span{font-size:12px;line-height:1.4;margin-top:6px}.course-gallery-price.is-request strong{font-size:24px;white-space:normal;letter-spacing:0}
.course-gallery-copy>p{font-size:17px;line-height:1.7;max-width:39ch;margin:0;color:var(--secondary,#526365)}.course-gallery-link{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%;max-width:440px;min-height:55px;border-bottom:1px solid var(--divider,#aeb8b2);margin-top:23px;padding:12px 0;font-size:15px;font-weight:600}.course-gallery-link svg{width:25px;height:25px;color:var(--accent,#bd1625);transition:transform .2s}.course-gallery-item:hover .course-gallery-link{color:var(--accent,#bd1625)}.course-gallery-item:hover .course-gallery-link svg{transform:translateX(4px)}.course-gallery-item:focus-visible{outline:3px solid var(--accent,#bd1625);outline-offset:8px}
.course-gallery-item:nth-child(even) .course-gallery-photo{grid-column:2;grid-row:1}.course-gallery-item:nth-child(even) .course-gallery-copy{grid-column:1;grid-row:1}
@media(max-width:1100px){.course-gallery{gap:55px}.course-gallery-item{gap:40px}.course-gallery-item h3{font-size:47px}.course-gallery-copy>p{font-size:16px}.course-gallery-price strong{font-size:38px}.course-gallery-price.is-request strong{font-size:23px}}
@media(max-width:750px){.course-gallery{gap:42px}.course-gallery-item{grid-template-columns:minmax(0,1fr);gap:23px;padding-top:24px}.course-gallery-item:nth-child(even) .course-gallery-photo,.course-gallery-item:nth-child(even) .course-gallery-copy{grid-column:auto;grid-row:auto}.course-gallery-copy{padding:0}.course-gallery-item h3{font-size:clamp(38px,9vw,52px);margin-bottom:20px}.course-gallery-price{padding:11px 15px;margin-bottom:19px}.course-gallery-price strong{font-size:36px}.course-gallery-price.is-request strong{font-size:22px}.course-gallery-copy>p{font-size:16px;max-width:43ch}.course-gallery-link{font-size:14px;max-width:none;margin-top:17px;min-height:52px}}
@media(max-width:359px){.course-gallery-item h3{font-size:36px}.course-gallery-price strong{font-size:32px}.course-gallery-price.is-request strong{font-size:20px}}
@media(prefers-reduced-motion:reduce){.course-gallery-link svg{transition:none;transform:none!important}}
