/* Catalogue controls and availability, independent from the shared site chrome. */
/* Service templates are generated from one source; the catalogue intro is capped at 240 characters. */
body[data-shell-site=instructors] main{padding-top:0}
.catalog-choice{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center;padding:26px 0;margin-top:32px;border-block:1px solid var(--line)}
.catalog-choice>div:last-child{justify-self:end;text-align:right}
.catalog-choice strong{font-size:21px;font-weight:500;line-height:1.4}
.catalog-choice p{font-size:13px;color:var(--muted);line-height:1.6;margin-top:8px}
.catalog-choice .button{min-height:48px}
.catalog-filter-grid{display:grid;grid-template-columns:minmax(340px,1.45fr) minmax(180px,.8fr) minmax(200px,.9fr);gap:32px;align-items:end}
.catalog-filter-grid label{display:block;min-width:0}
.filter-label{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-bottom:10px}
.catalog-filter-grid select{width:100%;height:46px;min-width:0;border:1px solid var(--line);border-radius:0;background:#fff;color:var(--ink);padding:10px 34px 10px 13px;font:400 14px/1.4 Manrope,Arial,sans-serif}
.catalog-filter-grid .filters{gap:5px;flex-wrap:nowrap}
.catalog-filter-grid .filters button{min-height:46px;padding:10px 17px;white-space:nowrap;border-color:var(--line)}
.catalog-results{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0 25px}
.catalog-results .text-button{font-size:12px;border:0;padding:6px 0;background:none;text-decoration:underline;text-underline-offset:4px}
.catalog-empty{padding:38px;border:1px solid var(--line);margin-bottom:30px}
.catalog-empty h2{font-size:27px;margin-bottom:18px}
.catalog-empty p{max-width:640px;color:var(--muted);margin:0 0 22px;font-size:14px}
.profile-heading>.text-button{display:inline-block;margin-top:12px;font-size:13px;text-decoration:underline;text-underline-offset:5px}
.profile-story{margin-top:64px}
.lesson-review{scroll-margin-top:120px}
.catalog-intro h1 br{display:block!important}
main :is(select,input,button,a){scroll-margin-top:115px;scroll-margin-bottom:130px}
body[data-shell-site=instructors] main .detail-line{background:var(--section-accent)}
.inactive-action{position:relative}
.availability-tip{position:absolute;bottom:calc(100% + 10px);left:0;z-index:5;width:100%;padding:14px 16px;background:#202830;color:#fff;box-shadow:0 5px 18px #0002;font:400 12px/1.6 Manrope,Arial,sans-serif;text-align:left}
.availability-tip:after{content:'';position:absolute;bottom:-6px;left:20px;width:12px;height:12px;background:#202830;transform:rotate(45deg)}
body[data-shell-site] main .button[aria-disabled=true],body[data-shell-site] main .button[aria-disabled=true]:hover{background:#f2f4f6;border:1px solid #d9dfe4;color:#68727d;filter:none;cursor:help}
body[data-shell-site] main .button.demo-select,body[data-shell-site] main .button.demo-select:hover{background:#fff;color:var(--section-accent);border:1px solid var(--section-accent);filter:none}
.demo-state{color:var(--section-accent)}
@media(max-width:1050px){.catalog-filter-grid{grid-template-columns:1fr 1fr;gap:22px}.catalog-filter-grid>div:first-child{grid-column:1/-1}.catalog-filter-grid .filters{width:max-content;max-width:100%}.catalog-intro .intro-row{gap:35px}}
@media(max-width:650px){.catalog-intro{padding-top:34px;padding-bottom:28px}.catalog-intro h1{font-size:clamp(34px,9vw,44px)}.catalog-intro .intro-row{display:block;margin-top:17px}.intro-copy{margin-top:20px;font-size:14px;max-width:none}.catalog-choice{grid-template-columns:1fr;gap:21px;margin-top:24px;padding:22px 0}.catalog-choice>div:last-child{justify-self:stretch;text-align:left}.catalog-choice strong{font-size:19px}.catalog-choice .button{width:100%;max-width:340px}.catalog-filter-grid{grid-template-columns:minmax(0,1fr);gap:20px}.catalog-filter-grid>div:first-child{grid-column:auto}.catalog-filter-grid .filters{display:grid;grid-template-columns:.55fr 1fr 1fr;width:100%;gap:6px}.catalog-filter-grid .filters button{padding:10px 6px;font-size:12px;white-space:normal}.catalog-filter-grid select{font-size:14px}.catalog-results{padding:18px 0 23px}.catalog-empty{padding:26px 22px}.catalog-empty h2{font-size:24px}.profile-story{margin-top:40px}}

.catalog-intro{padding:52px 0 54px}
.catalog-intro h1{font-size:clamp(38px,4.6vw,65px);font-weight:500;line-height:1.16;letter-spacing:-.045em;margin-top:20px;max-width:1100px}
.service-nav{display:flex;gap:28px;margin-top:26px}
.service-nav a{font-size:14px;line-height:1.5;padding:7px 0;border-bottom:2px solid transparent}
.service-nav a[aria-current=page]{border-bottom-color:var(--blue);color:var(--blue)}
.ai-offer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:40px;background:#0078C8;color:white;margin-top:32px;padding:29px 34px}
.ai-offer h2{font-size:29px;font-weight:500;letter-spacing:-.035em}
.ai-offer p{font-size:14px;line-height:1.65;margin-top:10px;max-width:680px}
body[data-shell-site=instructors] main .ai-offer .ai-offer-button{background:#fff;border-color:#fff;color:#006EB8;font-weight:550;gap:24px;min-height:52px}
body[data-shell-site=instructors] main .ai-offer .ai-offer-button:hover{background:#eef7ff;color:#005992;filter:none}
.catalog{padding-bottom:76px}
.catalog>h2{font-size:clamp(27px,2.5vw,36px);font-weight:500;margin-bottom:27px}
.catalog-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:710px}
.catalog-results{padding:14px 0 26px}
.resort-tabs{display:flex;gap:8px;flex-wrap:wrap}
.resort-tabs button{font:400 14px/1.4 Manrope,Arial,sans-serif;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:0;min-height:44px;padding:10px 19px}
.resort-tabs button[aria-pressed=true]{background:var(--section-accent);border-color:var(--section-accent);color:#fff}
.resort-tabs button:hover:not([aria-pressed=true]){border-color:var(--section-accent);color:var(--section-accent)}
.resort-tariffs{margin-top:24px;padding:24px;background:#f3f8fc;border-top:2px solid var(--section-accent)}
.resort-tariffs table{width:100%;border-collapse:collapse;font-size:14px;table-layout:fixed}
.resort-tariffs caption{text-align:left;font-size:19px;font-weight:500;margin-bottom:17px;color:var(--section-accent)}
.resort-tariffs .tariff-format{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:7px}
.resort-tariffs th,.resort-tariffs td{text-align:left;padding:12px 8px;border-bottom:1px solid var(--line);font-weight:400;overflow-wrap:anywhere}
.resort-tariffs thead th{font-size:12px;color:var(--muted)}
.resort-tariffs th:first-child{width:48%}.resort-tariffs td:last-child,.resort-tariffs th:last-child{text-align:right}
.resort-tariffs p{font-size:11px;line-height:1.7;color:var(--muted);margin-top:14px}
.resort-tariffs p a{text-decoration:underline;text-underline-offset:3px}
@media(max-width:740px){.resort-tabs{display:grid;grid-template-columns:1.4fr 1fr .8fr 1.15fr;gap:6px}.resort-tabs button{padding:10px 5px;font-size:12px;white-space:nowrap}.resort-tariffs{padding:17px 13px}.resort-tariffs table{font-size:12px}.resort-tariffs caption{font-size:17px}.resort-tariffs th,.resort-tariffs td{padding:10px 5px}}
.catalog-results #result-count,.catalog-results .text-button{margin-top:0}
.instructor-grid{gap:48px 30px}
.card-body h3{font-size:27px;line-height:1.25;margin:14px 0 12px;font-weight:500;letter-spacing:-.025em}
.card-body h3 a:hover{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.card-intro{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;line-height:1.65;min-height:4.95em}
.card-media{position:relative;min-width:0}
.photo-controls{position:absolute;bottom:13px;right:13px;display:flex;align-items:center;background:#fff;color:#243344;box-shadow:0 1px 7px #0001}
.photo-controls button{display:grid;place-items:center;border:0;border-radius:0;background:#fff;color:inherit;font:400 20px/1 Manrope,Arial,sans-serif;width:38px;height:38px;padding:0}
.photo-controls button:hover{background:#edf5fa}
.photo-controls span{font-size:11px;padding:0 6px;min-width:39px;text-align:center}
.photo-dots{display:flex;align-items:center}
.photo-controls .photo-dots button{position:relative;width:20px;height:38px}
.photo-controls .photo-dots button:after{content:'';width:5px;height:5px;border-radius:50%;background:#adb9c2;display:block}
.photo-controls .photo-dots button[aria-pressed=true]:after{background:#0078C8;width:6px;height:6px}
.photo-controls [data-photo-pause]{font-size:13px;border-left:1px solid #e0e5e9;width:32px}
.photo-label{bottom:60px;left:13px}
.photo-sergey img{object-position:50% 0%}
.photo-polina img{object-position:50% 15%}
.photo-konstantin img{object-position:50% 20%}
.profile-gallery{padding-bottom:80px}
.profile-media{position:relative;width:100%;min-width:0;touch-action:pan-y}
.profile-main-image{display:block}
.profile-media img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}
@media(max-width:740px){.profile-media img{aspect-ratio:1.13}}
@media(max-width:740px){.profile-main-image img[src$="sp-148-002.webp"]{object-position:50% 0%}}
.profile-gallery h2{margin-top:15px;margin-bottom:28px;font-weight:500}
.gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.gallery-grid img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}
.photo-sp-148 .profile-media,.card-photo.photo-sp-148,.profile-gallery[data-gallery-profile="sp-148"] .gallery-grid a{overflow:hidden}
.photo-sp-148 .profile-media img[src$="sp-148-002.webp"],.card-photo.photo-sp-148 img[src$="sp-148-002.webp"],.profile-gallery[data-gallery-profile="sp-148"] .gallery-grid img[src$="sp-148-002.webp"]{transform:scaleX(1.08);filter:contrast(1.06) saturate(1.05)}
.illustrative-note{font-size:12px;color:var(--muted);margin-top:10px}
.gallery-note{font-size:12px;color:var(--muted);margin-top:15px}
.gallery-dialog{border:1px solid #ffffff26;border-radius:4px;padding:20px;background:#11191f;color:#f7f8fa;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);box-shadow:0 24px 80px #0006}
.gallery-dialog::backdrop{background:#080e14eb;backdrop-filter:blur(4px)}
.gallery-dialog .gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 16px}
.gallery-dialog .gallery-count{color:#d1e4ef;font:500 13px/1.3 ShellManrope,Manrope,Arial,sans-serif;font-variant-numeric:tabular-nums}
.gallery-dialog .gallery-close{display:inline-flex;align-items:center;justify-content:center;min-width:120px;min-height:48px;padding:12px 24px;background:transparent;color:#f7f8fa;border:1px solid #ffffff66;border-radius:2px;font:500 14px/1.4 ShellManrope,Manrope,Arial,sans-serif;letter-spacing:.02em;cursor:pointer;transition:background .16s ease,color .16s ease,border-color .16s ease}
.gallery-dialog .gallery-close:hover{background:#f7f8fa;border-color:#f7f8fa;color:#11191f}
.gallery-dialog .gallery-close:focus-visible{outline:2px solid #7fceff;outline-offset:4px}
.gallery-dialog img{display:block;max-height:calc(100dvh - 140px);width:auto;max-width:calc(100vw - 74px);object-fit:contain;margin:auto}
.gallery-dialog .gallery-viewer{position:relative;display:grid;place-items:center;min-width:0}
.gallery-dialog .gallery-prev,.gallery-dialog .gallery-next{position:absolute;z-index:1;top:50%;display:grid;place-items:center;width:48px;height:56px;padding:0;transform:translateY(-50%);border:1px solid #ffffff85;border-radius:4px;background:#0b1821cf;color:#fff;font:400 38px/1 Arial,sans-serif;cursor:pointer;transition:background .16s ease,border-color .16s ease}
.gallery-dialog .gallery-prev{left:8px}.gallery-dialog .gallery-next{right:8px}
.gallery-dialog .gallery-prev:hover,.gallery-dialog .gallery-next:hover{background:#0878b8;border-color:#fff}
.gallery-dialog .gallery-prev:focus-visible,.gallery-dialog .gallery-next:focus-visible{outline:2px solid #7fceff;outline-offset:3px}
.gallery-dialog .gallery-prev[hidden],.gallery-dialog .gallery-next[hidden]{display:none}
.service-location{font-size:12px;letter-spacing:.035em;text-transform:none}
@media(max-width:740px){.gallery-dialog{padding:12px;max-width:calc(100vw - 24px)}.gallery-dialog .gallery-toolbar{margin-bottom:12px}.gallery-dialog img{max-width:calc(100vw - 50px);max-height:calc(100dvh - 124px)}.gallery-dialog .gallery-prev,.gallery-dialog .gallery-next{width:44px;height:52px}.gallery-dialog .gallery-prev{left:2px}.gallery-dialog .gallery-next{right:2px}}
@media(prefers-reduced-motion:reduce){.gallery-dialog .gallery-close{transition:none}}
@media(min-width:741px) and (max-width:1050px){.instructor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-offer{gap:24px;padding:27px}.ai-offer h2{font-size:25px}.ai-offer .button{font-size:13px;padding:12px 18px}.card-intro{min-height:3.3em}}
@media(max-width:740px){.catalog-intro{padding:30px 0 35px}.catalog-intro h1{font-size:clamp(32px,8.7vw,48px);margin-top:17px;line-height:1.16}.catalog-intro h1 br{display:none!important}.catalog-intro h1 em{display:block}.service-nav{gap:25px;margin-top:19px}.service-nav a{font-size:13px}.ai-offer{grid-template-columns:1fr;gap:20px;margin-top:24px;padding:24px}.ai-offer h2{font-size:26px}.ai-offer p{font-size:13px;line-height:1.65}.ai-offer p br{display:none}.ai-offer .button{width:100%;justify-content:space-between;font-size:13px}.catalog>h2{font-size:28px;line-height:1.22;margin-bottom:24px;max-width:500px}.catalog-filter-grid{grid-template-columns:1.1fr 1fr;gap:12px}.filter-label{font-size:11px;margin-bottom:8px}.catalog-filter-grid select{font-size:13px;padding-left:10px;padding-right:20px;height:46px}.catalog-results{padding:17px 0 23px}.catalog-results #result-count{font-size:12px}.catalog-results .text-button{font-size:11px}.instructor-grid{gap:36px}.card-body{padding-top:17px}.card-body h3{font-size:27px}.card-intro{min-height:0;margin-bottom:17px}.catalog{padding-bottom:50px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-gallery{padding-bottom:50px}}
.egor-story{display:grid;grid-template-columns:1fr 1.1fr;gap:70px;border-top:1px solid var(--line);margin-top:72px;padding-top:40px;margin-bottom:72px}
.egor-story h2,.egor-request h2{font-size:38px;font-weight:400;line-height:1.2;letter-spacing:-.04em;margin:18px 0 24px}
.egor-story p,.egor-request>div>p{font-size:15px;line-height:1.9;color:var(--muted);max-width:530px}
.egor-story p+p{margin-top:20px}
.egor-request{display:grid;grid-template-columns:1fr 1.1fr;gap:70px;margin-bottom:80px;border-top:1px solid var(--line);padding-top:40px}
.egor-lesson-form{display:grid;gap:18px}.egor-form-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.egor-lesson-form label{display:grid;gap:9px;font-size:12px}.egor-lesson-form :is(input,select,textarea){font:400 14px/1.5 Manrope,Arial,sans-serif;background:white;border:1px solid var(--line);border-radius:0;padding:12px;width:100%;min-width:0;color:var(--ink)}.egor-lesson-form textarea{resize:vertical}.egor-lesson-form textarea::placeholder{font-size:12px;color:var(--muted)}.egor-request-review{padding:22px;background:#f1f7fc}.egor-request-review h3{font-size:18px;margin-bottom:16px}.egor-request-review p{font-size:13px;line-height:1.8;white-space:pre-line}.egor-request-review p+p{margin-top:15px;color:var(--muted)}
@media(max-width:740px){.egor-story,.egor-request{grid-template-columns:1fr;gap:22px;margin-top:44px;margin-bottom:44px;padding-top:28px}.egor-story h2,.egor-request h2{font-size:31px}.egor-story p,.egor-request>div>p{font-size:14px}.egor-form-pair{grid-template-columns:1fr}}
.instructor-card{display:flex;flex-direction:column;border:1px solid #dce3e9;background:#fff;overflow:hidden}
.instructor-card .card-body{display:flex;flex-direction:column;align-items:stretch;flex:1;padding:24px;min-width:0}
.instructor-card .card-intro{min-height:7.2em;line-height:1.8;-webkit-line-clamp:4}
.instructor-card .card-link{margin-top:auto;padding-top:14px}
@media(max-width:740px){.instructor-grid{gap:26px}.instructor-card .card-body{padding:20px 16px}.instructor-card .card-intro{min-height:7.2em}.instructor-card .card-body h3{font-size:26px}}

.instructor-card{transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
@media(hover:hover) and (pointer:fine){.instructor-card:hover{border-color:#9bbcd4;background:#fcfdff;box-shadow:0 7px 24px #254b6a10}}
.instructor-card:has(:focus-visible){border-color:#0078c8;box-shadow:0 0 0 1px #0078c8}
@media(prefers-reduced-motion:reduce){.instructor-card{transition:none}}

/* Compact catalogue: no description spacer, no separate location row. */
.instructor-grid{align-items:stretch;gap:32px 26px}
.instructor-card{align-self:stretch}
.instructor-card .card-body{flex:none;padding:22px}
.instructor-card .card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;min-height:22px}
.card-meta .tags{margin:0}.card-resort{font-size:11px;line-height:1.4;color:#687889}.card-resort[hidden]{display:none}
.instructor-card .card-body h3{font-size:25px;line-height:1.25;margin:12px 0 10px;overflow-wrap:anywhere}
.instructor-card .card-intro{font-size:13px;line-height:1.65;height:6.6em;min-height:6.6em;max-height:6.6em;flex-shrink:0;margin:0 0 12px;-webkit-line-clamp:4}
.instructor-card .card-link{margin-top:0;padding:0;border:0;min-height:0;font-size:12px}
.instructor-card .photo-label{bottom:13px}
/* One button system for catalogue and personal pages. */
.instructor-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:14px;width:100%}
.profile-heading .instructor-actions{max-width:400px;margin-top:24px}
.instructor-actions{grid-auto-rows:1fr}
body[data-shell-site=instructors][data-page] main .sp-choice-button{display:flex;align-items:center;justify-content:space-between;gap:11px;min-height:48px;padding:10px 13px;border:1px solid #0078c8;border-radius:0;background:#0078c8;color:#fff;font:600 12px/1.35 ShellManrope,Arial,sans-serif;text-align:left;text-decoration:none;cursor:pointer}
body[data-shell-site=instructors][data-page] main .sp-choice-button:hover{background:#0067ad;border-color:#0067ad;color:#fff;filter:none}
body[data-shell-site=instructors][data-page] main .sp-choice-button>span:not(.instructor-cta-icon){flex:1;min-width:0;text-align:left;font:inherit}
body[data-shell-site=instructors][data-page] main .sp-choice-button>.instructor-cta-icon{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border:1px solid currentColor;border-radius:50%;opacity:.9}
body[data-shell-site=instructors] main .instructor-cta-icon svg{display:block;width:19px;height:19px}
body[data-shell-site=instructors][data-page] main .sp-choice-button>svg{display:none}
body[data-shell-site=instructors][data-page] main .sp-choice-button::after{content:'→' / '';flex:none;font-size:19px;font-weight:400;line-height:1;margin-left:auto}
body[data-shell-site=instructors][data-page] main .sp-choice-button.sp-secondary{background:#fff;border-color:#b7c3ce;color:#263c50}
body[data-shell-site=instructors][data-page] main .sp-choice-button.sp-secondary:hover{background:#f6f9fb;border-color:#7e98ad;color:#172d42}
body[data-shell-site=instructors][data-page=profile] main .sp-choice-button{min-height:54px;font-size:14px;padding-inline:18px}
@media(max-width:740px){body[data-shell-site=instructors][data-page=profile] main .sp-choice-button{font-size:12px;padding-inline:13px}}
@media(max-width:740px){.instructor-grid{grid-template-columns:minmax(0,1fr);gap:24px}.instructor-card .card-body{padding:18px 16px}.instructor-card .card-body h3{font-size:25px}.instructor-card .card-intro{display:block;font-size:13px;height:auto;min-height:0;max-height:none;-webkit-line-clamp:unset;overflow:visible}.profile-heading .instructor-actions{max-width:none}}

/* Starting S score before completed requests; separate editorial partner seal. */
.card-marks{position:absolute;inset:12px 12px auto;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;z-index:2;pointer-events:none}
.s-rating-wrap{position:relative;pointer-events:auto}
.s-rating{display:flex;align-items:center;gap:6px;min-height:34px;padding:6px 9px;background:linear-gradient(125deg,#1689c4,#3d66ae 72%,#6c5ba1);border:1px solid #ffffff9c;border-radius:3px;color:#fff;box-shadow:0 3px 9px #173d6033,inset 0 1px 0 #ffffff38;font:400 15px/1 ShellManrope,Manrope,Arial,sans-serif;cursor:pointer}
.s-rating img{width:19px;height:19px;filter:brightness(0) invert(1);object-fit:contain}.s-rating-value{font-weight:400;font-variant-numeric:tabular-nums}
.s-rating:focus-visible{outline:2px solid #fff;outline-offset:3px}
.s-rating-tip{display:none;position:absolute;top:calc(100% + 9px);left:0;width:252px;max-width:calc(100vw - 70px);padding:15px 16px;background:#f9fcff;color:#344757;border:1px solid #dce6ef;border-radius:5px;box-shadow:0 7px 22px #19375626;font:400 12px/1.6 ShellManrope,Manrope,Arial,sans-serif;cursor:default;z-index:5}
.s-rating-tip strong{font-size:14px;font-weight:600}.s-rating-tip p{margin:7px 0 8px}.s-rating-tip small{display:block;font-size:10px;line-height:1.5;color:#718291}
.s-rating-wrap.is-open .s-rating-tip{display:block}.card-marks:has(.is-open){z-index:4}
.top-instructor{position:relative;display:grid;place-items:center;flex:0 0 84px;width:84px;height:84px;overflow:hidden;isolation:isolate;background:linear-gradient(125deg,#ffffff80,transparent 37%,#eee6ff55 64%,#ffffff90),conic-gradient(from 25deg,#cbeade,#c0b3e7,#e3badc,#f0e1bd,#aadce8,#d7b9ed,#cbeade);clip-path:polygon(50% 1%,57% 5.6%,65.1% 3.4%,70.4% 9.9%,78.8% 10.4%,81.8% 18.2%,89.6% 21.2%,90.1% 29.6%,96.6% 34.9%,94.4% 43%,99% 50%,94.4% 57%,96.6% 65.1%,90.1% 70.4%,89.6% 78.8%,81.8% 81.8%,78.8% 89.6%,70.4% 90.1%,65.1% 96.6%,57% 94.4%,50% 99%,43% 94.4%,34.9% 96.6%,29.6% 90.1%,21.2% 89.6%,18.2% 81.8%,10.4% 78.8%,9.9% 70.4%,3.4% 65.1%,5.6% 57%,1% 50%,5.6% 43%,3.4% 34.9%,9.9% 29.6%,10.4% 21.2%,18.2% 18.2%,21.2% 10.4%,29.6% 9.9%,34.9% 3.4%,43% 5.6%)}
.top-instructor img{position:relative;z-index:2;width:100%;height:100%;object-fit:contain}
@media(max-width:740px){.top-instructor{width:58px;height:58px;flex-basis:58px}}
.top-instructor::after{content:"";position:absolute;z-index:1;inset:-60%;background:linear-gradient(115deg,transparent 32%,#bda4ef33 41%,#ffffffc9 50%,#b6e8ed66 57%,transparent 68%);transform:translateX(-75%);animation:top-foil-sheen 7s ease-in-out infinite}
@keyframes top-foil-sheen{0%,35%{transform:translateX(-75%)}80%,100%{transform:translateX(75%)}}
@media(prefers-reduced-motion:reduce){.top-instructor::after{animation:none;transform:translateX(0)}}

/* One AI story: emblem, explanation and action. */
.ai-offer.ai-match{grid-template-columns:196px minmax(0,1fr) 260px;grid-template-areas:"symbol heading action" "symbol copy action";grid-template-rows:auto 1fr;gap:12px 32px;align-items:start;padding:0 48px 0 0;min-height:208px;overflow:hidden}
.ai-match .ai-match-symbol{grid-area:symbol;display:grid;place-items:center;align-self:stretch;background:#ffffff0c;border-right:1px solid #ffffff26}
.ai-match-symbol svg{display:block;width:126px;height:126px;overflow:visible;color:#fff}
.ai-match-symbol circle{fill:none;stroke:currentColor;stroke-width:.25;opacity:.5}
.ai-match-symbol path{fill:currentColor;stroke:none}
.ai-offer.ai-match h2{grid-area:heading;font-size:29px;line-height:1.2;margin:32px 0 0;align-self:end}
.ai-offer.ai-match p{grid-area:copy;font-size:14px;line-height:1.7;margin:0 0 32px;max-width:620px;color:#f4faff}
.ai-match .ai-offer-button{grid-area:action;align-self:center;justify-content:space-between;gap:18px;width:100%;min-height:54px;font-size:13px;padding:14px 18px;white-space:normal}
.ai-match .ai-offer-button>span{white-space:nowrap}
@media(min-width:901px) and (max-width:1150px){.ai-offer.ai-match{grid-template-columns:148px minmax(0,1fr) 250px;column-gap:24px;padding-right:32px}.ai-match-symbol svg{width:104px;height:104px}.ai-offer.ai-match h2{font-size:26px}}
@media(max-width:900px){.ai-offer.ai-match{grid-template-columns:52px minmax(0,1fr);grid-template-areas:"symbol heading" "copy copy" "action action";grid-template-rows:auto auto auto;gap:20px 16px;min-height:0;padding:24px}.ai-match .ai-match-symbol{width:52px;height:52px;background:none;border:0;align-self:center}.ai-match-symbol svg{width:52px;height:52px}.ai-offer.ai-match h2{font-size:26px;line-height:1.2;margin:0;align-self:center}.ai-offer.ai-match p{margin:0;font-size:14px;max-width:none}.ai-match .ai-offer-button{min-height:52px;font-size:13px}}

/* Original Astrakov AI brand artwork, reused from the owner's WBStat project. */
.ai-match .ai-brain{position:relative;isolation:isolate;background:radial-gradient(ellipse at 50% 45%,#c3efff38,transparent 68%);overflow:hidden}
.ai-brain img{display:block;width:230px;height:230px;max-width:none;object-fit:contain;position:relative;z-index:1;filter:drop-shadow(0 12px 10px #002c6540);animation:astrakov-brain-float 5s ease-in-out infinite}
.ai-brain-shadow{position:absolute;z-index:0;bottom:12px;left:27%;width:46%;height:14px;border-radius:50%;background:#003c70;filter:blur(8px);opacity:.4;animation:astrakov-brain-shadow 5s ease-in-out infinite}
@keyframes astrakov-brain-float{0%,100%{transform:translateY(4px)}50%{transform:translateY(-7px)}}
@keyframes astrakov-brain-shadow{0%,100%{transform:scaleX(1);opacity:.4}50%{transform:scaleX(.78);opacity:.24}}
@media(min-width:901px) and (max-width:1150px){.ai-brain img{width:180px;height:180px}}
@media(max-width:900px){.ai-match .ai-brain{width:64px;height:64px;overflow:visible;background:none}.ai-offer.ai-match{grid-template-columns:64px minmax(0,1fr);column-gap:14px}.ai-brain img{width:80px;height:80px;margin-left:-8px}.ai-brain-shadow{bottom:-7px;height:7px;filter:blur(4px)}}
@media(prefers-reduced-motion:reduce){.ai-brain img,.ai-brain-shadow{animation:none}}
/* Ski catalogue: keep the heading visually connected to the breadcrumbs. */
body[data-page="catalog"]:is([data-service="ski"],[data-service="snowboard"]) .breadcrumbs{padding-bottom:18px}
body[data-page="catalog"]:is([data-service="ski"],[data-service="snowboard"]) .catalog-intro{padding-top:32px}
@media(max-width:740px){
  body[data-page="catalog"]:is([data-service="ski"],[data-service="snowboard"]) .breadcrumbs{padding-bottom:13px}
  body[data-page="catalog"]:is([data-service="ski"],[data-service="snowboard"]) .catalog-intro{padding-top:22px}
  body[data-page="catalog"]:is([data-service="ski"],[data-service="snowboard"]) .catalog-intro h1{font-size:clamp(24px,6.7vw,29px);line-height:1.13}
}

/* Eduard's photo crops keep his face in view on cards and mobile. */
.photo-sp-007 .profile-media img,.card-photo.photo-sp-007 img,.profile-gallery[data-gallery-profile="sp-007"] .gallery-grid img{aspect-ratio:1;object-fit:cover}
.photo-sp-007 .profile-media img[src$="sp-007-received-419190.jpg"],.card-photo.photo-sp-007 img[src$="sp-007-received-419190.jpg"],.profile-gallery[data-gallery-profile="sp-007"] .gallery-grid img[src$="sp-007-received-419190.jpg"]{object-position:50% 12%}
.instructor-card .card-media,.profile-hero .profile-media{position:relative}
.instructor-save{position:absolute;z-index:6;top:12px;right:12px;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#fff;color:#0f314b;box-shadow:0 3px 15px #10283e4a;cursor:pointer}
.instructor-save:hover,.instructor-save:focus-visible{background:#e8f5ff}
/* Keep the common heart in the upper right; move the rare partner seal below. */
.instructor-card .card-media:has(.top-instructor) .card-marks{bottom:12px}
.instructor-card .card-media:has(.top-instructor) .top-instructor{align-self:flex-end}

/* Match the lift and image movement of ski-pass cards. */
.instructor-card{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.instructor-card .card-media{overflow:hidden}
.instructor-card .card-media img{transition:transform .35s ease}
@media(hover:hover) and (pointer:fine){.instructor-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px #0d405824;border-color:#89b9d2;background:#fff}.instructor-card:hover .card-media img{transform:scale(1.04)}}
@media(prefers-reduced-motion:reduce){.instructor-card,.instructor-card .card-media img{transition:none}.instructor-card:hover,.instructor-card:hover .card-media img{transform:none}}
body[data-shell-site=instructors] button.instructor-save[data-save-offer]:not([aria-pressed=true]){background:#edf1f4f0;color:#6e8392;border-color:#fff;box-shadow:0 2px 12px #182a3740}
body[data-shell-site=instructors] button.instructor-save[data-save-offer]:not([aria-pressed=true]):hover{background:#fff;color:#4d6d83}
