
.v3-article { max-width: 760px; color: var(--text); font-size: 17px; line-height: 1.7; overflow-wrap: break-word; }
.v3-article > :first-child { margin-top: 0; }
.v3-article > :last-child { margin-bottom: 0; }
.v3-article p { margin: 0 0 18px; }
.v3-article :is(h2, h3, h4) { font-family: var(--serif); color: var(--ink); letter-spacing: -.02em; scroll-margin-top: 90px; }
.v3-article h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 400; line-height: 1.2; margin: 52px 0 16px; }
.v3-article h3 { font-size: clamp(21px, 2vw, 25px); font-weight: 400; line-height: 1.25; margin: 40px 0 12px; }
.v3-article h4 { font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; margin: 32px 0 10px; }
.v3-article :is(h2, h3, h4) + :is(h3, h4) { margin-top: 16px; }
.v3-article a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.v3-article a:hover { color: var(--accent-dark); }
.v3-article :is(strong, b) { font-weight: 600; color: var(--ink); }

/* lists */
.v3-article ul, .v3-article ol { margin: 0 0 20px; padding-left: 24px; }
.v3-article li { margin: 0 0 8px; padding-left: 4px; }
.v3-article li::marker { color: var(--accent); }
.v3-article ol > li::marker { font-weight: 600; }
.v3-article li > :is(ul, ol) { margin: 8px 0 0; }
.v3-article li > p { margin-bottom: 8px; }

/* tables: full width with thin rules; scroll sideways on phones */
.v3-article table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px; line-height: 1.5; }
.v3-article :is(th, td) { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.v3-article th, .v3-article thead td { background: var(--paper); color: var(--ink); font-weight: 600; }
.v3-article table p { margin: 0; }

/* quotes: serif, thin rules above and below, no side stripe */
.v3-article blockquote { margin: 36px 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--ink); }
.v3-article blockquote p:last-child { margin-bottom: 0; }
.v3-article blockquote :is(cite, footer) { display: block; margin-top: 12px; font: 500 14px/1.4 var(--sans); font-style: normal; color: var(--muted); }

/* pictures and media */
.v3-article img { max-width: 100%; height: auto; border-radius: var(--r); margin: 28px 0; }
.v3-article figure { margin: 32px 0; }
.v3-article figure img { margin: 0; }
.v3-article figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.v3-article :is(iframe, video) { display: block; max-width: 100%; border: 0; border-radius: var(--r); margin: 28px 0; }
.v3-article hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.v3-article code { font-size: .9em; background: var(--soft); padding: 2px 6px; border-radius: 6px; }

/* FAQ as details/summary, like .faq of the hubs */
.v3-article details { border-bottom: 1px solid var(--line); }
.v3-article :not(details) + details, .v3-article details:first-child { border-top: 1px solid var(--line); margin-top: 28px; }
.v3-article summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; font: 600 18px/1.35 var(--sans); color: var(--ink); position: relative; transition: color .15s; }
.v3-article summary::-webkit-details-marker { display: none; }
.v3-article summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 300 26px var(--sans); color: var(--muted); transition: transform .25s; }
.v3-article details[open] summary::after { transform: rotate(45deg); }
.v3-article summary:hover { color: var(--accent); }
.v3-article details > :not(summary) { padding-right: 48px; }
.v3-article details > :last-child:not(summary) { padding-bottom: 24px; margin-bottom: 0; }

@media (max-width: 760px) {
  .v3-article { font-size: 16px; }
  .v3-article h2 { margin-top: 40px; }
  .v3-article h3 { margin-top: 32px; }
  .v3-article table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
  .v3-article :is(th, td) { min-width: 120px; }
  .v3-article blockquote { font-size: 19px; }
  .v3-article summary { font-size: 16px; padding-right: 36px; }
  .v3-article details > :not(summary) { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .v3-article summary::after { transition: none; }
}
.in-head { padding: 8px 0 0; }
.in-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; margin-top: 28px; }
.in-grid--top { margin-top: 40px; }
.in-head h1 { font-size: clamp(34px, 4vw, 54px); font-weight: 400; letter-spacing: -.03em; line-height: 1.08; }
.in-head .lead { max-width: 640px; }
.in-head .v3-article { margin-top: 32px; }
.in-aside { position: sticky; top: 96px; }
.in-note { margin-top: 24px; padding: 16px 20px; border-radius: var(--r); background: var(--accent-soft); color: var(--ink); font-size: 15px; max-width: 640px; }

/* forms */
.in-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 24px 48px -36px rgba(20,20,40,.35); }
.in-form-title { font: 400 24px/1.2 var(--serif); color: var(--ink); letter-spacing: -.02em; margin-bottom: 18px; }
.in-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.in-wide { grid-column: 1 / -1; }
.in-input { width: 100%; height: 48px; padding: 0 16px; border: 1px solid #c9ccd4; border-radius: 12px; font: 15px var(--sans); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
textarea.in-input { height: auto; min-height: 104px; padding: 12px 16px; resize: vertical; line-height: 1.5; }
.in-input::placeholder { color: #8a8f9c; }
.in-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.in-select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%236b7080' stroke-width='1.5' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E") no-repeat right 16px center; }
.in-file { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border: 1px dashed #c9ccd4; border-radius: 12px; color: var(--muted); font-size: 15px; cursor: pointer; overflow: hidden; transition: border-color .15s, color .15s; }
.in-file:hover { border-color: var(--accent); color: var(--accent-dark); }
.in-file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.in-file span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.in-field { display: block; margin-bottom: 14px; }
.in-field > span { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.in-field > span i { font-style: normal; color: var(--accent); }
.in-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.in-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.in-check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.in-form-hint { margin-top: 10px; font-size: 14px; color: #b42318; }
.in-submit { width: 100%; margin-top: 18px; border: 0; cursor: pointer; font-family: var(--sans); font-size: 16px; padding: 15px 22px; }
.in-submit:disabled { opacity: .6; cursor: wait; }
.in-form-status { border-radius: 14px; padding: 18px 20px; font-size: 15px; }
.in-form-status.is-error { background: #fdf0ef; color: #8a1f17; }
.in-form-status.is-ok { background: var(--accent-soft); color: var(--ink); }
.in-form-status .btn { margin-top: 14px; }
.in-errors { background: #fdf0ef; color: #8a1f17; border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; font-size: 14px; }
.in-errors ul { margin: 6px 0 0; padding-left: 18px; }
.in-done { text-align: center; padding: 24px 8px; }
.in-done-icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.in-done-title { font: 400 26px/1.2 var(--serif); color: var(--ink); letter-spacing: -.02em; }
.in-done p { color: var(--muted); margin-top: 8px; }
.in-fine { margin-top: 18px; color: var(--muted); font-size: 15px; }
.in-fine a { color: var(--accent); }

/* privacy dialog */
.in-dialog { width: min(860px, calc(100% - 32px)); max-height: calc(100vh - 64px); padding: 0; border: 0; border-radius: 20px; color: var(--text); box-shadow: 0 40px 80px -30px rgba(20,20,40,.5); }
.in-dialog::backdrop { background: rgba(20,22,32,.55); }
.in-dialog-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 28px; background: #fff; border-bottom: 1px solid var(--line); }
.in-dialog-title { font: 400 24px/1.2 var(--serif); color: var(--ink); }
.in-dialog-close { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.in-dialog-close:hover { border-color: var(--ink); }
.in-dialog-body { padding: 24px 28px 32px; max-width: none; font-size: 15px; }

/* /internships first screen: the «I want to go to ...» sentence with inline selects */
.in-promo { padding: 56px 0 64px; background: var(--paper); }
.in-promo-title { font: 300 clamp(30px, 3.9vw, 54px)/1.32 var(--serif); letter-spacing: -.03em; color: var(--ink); max-width: 1100px; }
.in-pick { display: inline-block; vertical-align: baseline; }
.in-pick select, .in-pick-probe { font: 400 clamp(30px, 3.9vw, 54px)/1.2 var(--serif); letter-spacing: -.03em; }
.in-pick select { appearance: none; -webkit-appearance: none; max-width: 100%; padding: 0 36px 2px 2px; border: 0; border-bottom: 2px solid var(--accent); border-radius: 0; color: var(--accent); cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%232434c9' stroke-width='1.4' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E") no-repeat right 6px center; }
.in-pick select:hover { color: var(--accent-dark); }
.in-pick select:focus { outline: none; box-shadow: 0 4px 0 -1px var(--accent-soft); background-color: rgba(255,255,255,.6); }
.in-pick select option { font: 16px var(--sans); color: var(--ink); }
.in-pick-probe { position: absolute; visibility: hidden; white-space: pre; left: -9999px; top: 0; }
.in-promo-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.in-promo-actions .btn { gap: 10px; }
.in-main { padding: 8px 0 0; }
.in-page-title h1, .in-page-title .in-show-h { font-size: clamp(32px, 3.6vw, 48px); font-weight: 400; letter-spacing: -.03em; line-height: 1.1; margin-top: 12px; }

/* SEO text of url_seo_tags with the «Read more» toggle */
.in-seo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 24px; }
.in-seo--img { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.in-seo-body { max-height: 220px; overflow: hidden; position: relative; }
.in-seo-body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(rgba(255,255,255,0), var(--bg, #fff)); pointer-events: none; }
.in-seo-text.is-open .in-seo-body { max-height: none; }
.in-seo-text.is-open .in-seo-body::after { display: none; }
.in-seo-more { margin-top: 12px; padding: 0; border: 0; background: none; color: var(--accent); font: 600 15px var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.in-seo-more:hover { color: var(--accent-dark); }
.in-seo-img img { width: 100%; height: auto; border-radius: var(--r); display: block; }

/* lists of internship cards (favourites, index, search) */
.in-h1-top { margin-top: 40px; }
.in-list { padding: 40px 0 72px; }
.in-list-title { font: 400 28px/1.2 var(--serif); letter-spacing: -.02em; }
.in-list-title a { color: var(--ink); }
.in-list-title a:hover { color: var(--accent-dark); }
.in-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.in-empty { margin-top: 24px; padding: 28px; border-radius: var(--r); background: var(--paper); color: var(--text); text-align: center; font-size: 16px; }
.in-list-more { display: flex; justify-content: center; margin-top: 36px; }
.in-show-sm { display: none; }

/* /internships sections */
.in-sec { margin-top: 64px; }
.in-sec:last-child { margin-bottom: 80px; }
.in-sec .v3-ad { margin-top: 28px; }
.in-places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.in-place { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.in-place-img { display: block; aspect-ratio: 16 / 9; background: var(--paper); overflow: hidden; }
.in-place-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.in-place-img:hover img { transform: scale(1.03); }
.in-place-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.in-place-title { font: 400 22px/1.2 var(--serif); letter-spacing: -.02em; }
.in-place-title a { color: var(--ink); }
.in-place-title a:hover, .in-place-count a:hover, .in-place-salary:hover { color: var(--accent-dark); }
.in-place-count { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.in-place-count a { color: var(--text); }
.in-place-salary { margin-top: auto; padding-top: 8px; font-size: 14px; color: var(--muted); }
.in-place-salary b { color: var(--ink); font-weight: 600; }
.in-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: none; }
.in-step { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line); }
.in-step-n { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font: 400 20px/1 var(--serif); }
.in-step-t { font-weight: 600; color: var(--ink); }
.in-step-d { color: var(--muted); font-size: 15px; margin-top: 2px; }
.in-reviews-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.in-reviews-nav { display: flex; gap: 8px; }
.in-round { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: border-color .15s, color .15s; }
.in-round:hover { border-color: var(--ink); }
.in-reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 40px) / 3)); gap: 20px; margin-top: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; outline: none; }
.in-reviews-track::-webkit-scrollbar { display: none; }
.in-review { scroll-snap-align: start; margin: 0; padding: 24px; border-radius: var(--r); background: var(--paper); display: flex; flex-direction: column; gap: 14px; }
.in-review-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.in-review-text { margin: 0; color: var(--text); font-size: 16px; line-height: 1.55; }
.in-review figcaption { margin-top: auto; }
.in-review-name { font-weight: 600; color: var(--ink); }
.in-review-link { font-size: 14px; color: var(--accent); }
.in-review-info { font-size: 14px; color: var(--muted); }

/* internship card: not a link itself (links and buttons inside), so no hover lift */
.in-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--text); }
.in-card-img { position: relative; aspect-ratio: 16 / 10; background: var(--paper); }
.in-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.in-card-dl { position: absolute; top: 12px; left: 12px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); cursor: help; outline: none; }
.in-card-dl.is-hot { background: var(--lime); }
.in-card-dl:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
.in-tip { position: absolute; left: 0; top: calc(100% + 8px); z-index: 3; width: max-content; max-width: 240px; padding: 8px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13px; line-height: 1.35; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; pointer-events: none; }
.in-card-dl:hover .in-tip, .in-card-dl:focus .in-tip { opacity: 1; visibility: visible; transform: none; }
/* just the heart on the photo, no white chip (Vlad 18.10): white outline with a shadow, white fill on hover, red when chosen */
.in-fav { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: transparent; color: #fff; filter: drop-shadow(0 1px 3px rgba(10,10,30,.55)); transition: color .15s, transform .15s; }
.in-fav svg { width: 24px; height: 24px; stroke-width: 2; transition: fill .15s; }
.in-fav:hover { transform: scale(1.08); }
.in-fav:hover svg { fill: #fff; }
.in-fav.active, .in-fav.active:hover { color: #e3242f; }
.in-fav.active svg { fill: currentColor; }
.in-card-flags { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.in-card-flags li { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 12px; font-weight: 600; }
.in-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.in-card-salary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 14px; color: var(--muted); }
.in-card-salary a { color: var(--ink); }
.in-card-salary a:hover { color: var(--accent-dark); }
.in-card-salary b { font-weight: 600; }
.in-card-title { margin-top: 8px; font: 600 17px/1.35 var(--sans); }
.in-card-title a { color: var(--ink); }
.in-card-title a:hover { color: var(--accent-dark); }
.in-card-info { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 14px; }
.in-card-info a { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.in-card-info a:hover { color: var(--accent-dark); }
.in-card-k { color: var(--muted); }
.in-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 18px; }
.in-card-actions .btn { justify-content: center; text-align: center; padding: 12px 14px; font-size: 15px; }

/* lead window of the cards */
.in-lead { width: min(520px, calc(100% - 24px)); overflow: auto; }
.in-lead-close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.in-lead-head { padding: 28px 28px 20px; border-bottom: 1px solid var(--line); }
.in-lead-head .in-dialog-title { padding-right: 48px; }
.in-lead-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }
.in-lead-sub:empty { display: none; }
.in-lead-cost { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: var(--accent-soft); }
.in-lead-cost-k { font-size: 14px; font-weight: 600; color: var(--ink); }
.in-lead-cost-note { font-size: 12px; color: var(--muted); margin-top: 2px; }
.in-lead-cost-v { font: 400 22px/1.2 var(--serif); color: var(--ink); text-align: right; }
.in-lead-body { padding: 22px 28px 28px; }
.in-lead-sec { margin-bottom: 18px; }
.in-lead-sec-t { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.in-lead-hint { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.in-lead-services { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; padding: 0; list-style: none; }
.in-lead-services[hidden] { display: none; }
.in-lead-services li { padding: 5px 12px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 600; }
.in-lead-services li[hidden] { display: none; }
.in-lead .in-done { padding: 48px 28px 32px; }
.in-lead .in-done[hidden] { display: none; }
.in-done--error .in-done-icon { background: #fdf0ef; color: #b42318; }
.in-lead .in-done .in-submit { margin-top: 24px; }

/* search filters, badges of active filters, results (task I7) and the facet pages (I8, I9) */
.in-search { padding: 40px 0 8px; }
.in-search-title { font: 400 clamp(30px, 3.4vw, 44px)/1.1 var(--serif); letter-spacing: -.03em; color: var(--ink); margin-bottom: 20px; }
.in-search-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.in-search-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 16px; }
.in-search-fields[hidden] { display: none; }
.in-range { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.in-range legend { padding: 0; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.in-range-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; color: var(--muted); }
.in-search-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.in-search-actions .btn { border: 0; cursor: pointer; font-family: var(--sans); font-size: 15px; }
.in-search-actions .btn--white { border: 1px solid var(--line); }
.in-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.in-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: 14px; }
.in-badge-x { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); }
.in-badge-x:hover { background: #fff; color: var(--accent-dark); }
.in-results { padding-bottom: 80px; }
.in-results .in-list-title { margin-top: 24px; }
.in-cards > .v3-ad { grid-column: 1 / -1; margin: 0; }
.in-results > .wrap > .v3-ad { margin-top: 28px; }
.in-empty--left { text-align: left; }
.in-empty--left p + p { margin-top: 10px; }
.in-empty a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.in-pager { margin-top: 36px; }
.in-results .in-sec--first { margin-top: 40px; }
.in-results .in-sec:last-child { margin-bottom: 0; }
.in-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: var(--accent); font-size: 15px; font-weight: 600; }
.in-back:hover { color: var(--accent-dark); }

@media (max-width: 1000px) {
  .in-grid { grid-template-columns: 1fr; gap: 36px; }
  .in-aside { position: static; }
  .in-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .in-seo--img { grid-template-columns: 1fr; }
  .in-places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .in-search-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .in-reviews-track { grid-auto-columns: minmax(280px, calc((100% - 20px) / 2)); }
}
@media (max-width: 560px) {
  .in-form { padding: 20px 16px; border-radius: 16px; }
  .in-form-grid { grid-template-columns: 1fr; }
  .in-dialog-head, .in-dialog-body { padding-left: 18px; padding-right: 18px; }
  .in-cards { grid-template-columns: 1fr; gap: 14px; }
  .in-places, .in-steps { grid-template-columns: 1fr; gap: 14px; }
  .in-search { padding-top: 28px; }
  .in-search-form { padding: 18px 16px; border-radius: 16px; }
  .in-search-fields { grid-template-columns: 1fr; }
  .in-search-actions .btn { flex: 1 1 100%; justify-content: center; }
  .in-steps { gap: 0; }
  .in-sec { margin-top: 48px; }
  .in-reviews-track { grid-auto-columns: 86%; gap: 12px; }
  .in-promo { padding: 36px 0 44px; }
  .in-promo-title { line-height: 1.4; }
  .in-pick { display: block; margin: 2px 0 6px; }
  .in-pick select { padding-right: 30px; }
  .in-promo-actions .btn { flex: 1 1 100%; justify-content: center; }
  .in-hide-sm { display: none; }
  .in-show-sm { display: inline; }
  .in-lead { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; margin: 0; }
  .in-lead-head, .in-lead-body { padding-left: 18px; padding-right: 18px; }
}
.it { padding-bottom: 72px; }
.it .v3-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 20px 0 0; font-size: 14px; color: var(--muted); }
.it .v3-crumbs li + li::before { content: "/"; margin-right: 6px; color: #c9ccd4; }
.it .v3-crumbs a { color: var(--muted); }
.it .v3-crumbs a:hover { color: var(--accent); }

/* home: hero as the abroad hub (H1 + lead + two buttons, illustration on the right, numbers under a black rule) */
.it-hero { padding: 40px 0 0; }
.it-hero-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
.it-hero h1 { font-size: clamp(40px, 4.6vw, 64px); font-weight: 300; letter-spacing: -.035em; line-height: 1.04; }
.it-hero h1 em { font-style: normal; color: var(--accent); }
.it-hero .art { aspect-ratio: 3 / 2; }
.it-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; border-top: 1px solid var(--ink); }
.it-trust div { padding-top: 16px; }
.it-trust b { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 3.4vw, 48px); color: var(--ink); letter-spacing: -.03em; line-height: 1.05; }
.it-trust span { color: var(--muted); font-size: 15px; }
.it-search { margin-top: 40px; padding: 28px; border-radius: 20px; background: var(--paper); }
.it-search .sf--live { margin-top: 0; }
.it-search-h { font: 600 18px/1.3 var(--sans); color: var(--ink); margin: 0 0 4px; }
.it-tiles { margin-top: 32px; }
.it-tiles.ec-grid { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.it-more { margin-top: 24px; }

/* how it works (decision p.44): four steps, the money step is ours */
.it-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
.it-steps li { counter-increment: st; position: relative; padding: 24px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.it-steps li::before { content: counter(st, decimal-leading-zero); display: block; font: 300 40px/1 var(--serif); color: var(--accent); }
.it-steps b { display: block; margin-top: 14px; font: 600 18px/1.3 var(--sans); color: var(--ink); }
.it-steps p { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.it-steps li.is-ours { background: var(--accent); border-color: var(--accent); color: #dfe3ff; }
.it-steps li.is-ours::before { color: var(--lime); }
.it-steps li.is-ours b { color: #fff; }
.it-steps li.is-ours p { color: #dfe3ff; }
.it-steps li.is-done::before { content: "✓"; color: var(--accent); }

/* reviews of participants */
.it-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; margin-top: 32px; }
.it-review { margin: 0; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.it-review blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text); }
.it-review figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.it-review figcaption b { display: block; color: var(--ink); font-size: 15px; }
.it-review figcaption a { color: var(--accent); }

/* FAQ (as on the hub) */
.it-faq { margin-top: 32px; border-top: 1px solid var(--line); max-width: 880px; }
.it-faq details { border-bottom: 1px solid var(--line); }
.it-faq summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; font: 600 18px/1.35 var(--sans); color: var(--ink); position: relative; transition: color .15s; }
.it-faq summary::-webkit-details-marker { display: none; }
.it-faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 300 26px var(--sans); color: var(--muted); transition: transform .25s; }
.it-faq details[open] summary::after { transform: rotate(45deg); }
.it-faq summary:hover { color: var(--accent); }
.it-faq details p { padding: 0 48px 24px 0; color: var(--text); line-height: 1.65; }
.it-faq a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* final CTA (blue band of the hub) */
.it-final { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; background: var(--accent); border-radius: 20px; padding: 48px; color: #dfe3ff; box-shadow: 0 24px 48px -24px rgba(36,52,201,.55); }
.it-final .h2 { color: #fff; }
.it-final p { margin-top: 12px; max-width: 620px; font-size: 18px; }
.it-final .cta-row { margin-top: 0; }

/* catalog head, places, results */
.it-head { padding: 32px 0 8px; }
.it-head h1 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 300; letter-spacing: -.035em; line-height: 1.06; max-width: 980px; }
.it-lead { margin-top: 16px; max-width: 820px; font-size: 18px; line-height: 1.6; color: var(--text); }
.it-places { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 24px 0 0; padding: 0; }
.it-places a { display: inline-flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 15px; transition: border-color .15s, color .15s; }
.it-places a:hover { border-color: var(--accent); color: var(--accent); }
.it-places small { color: var(--muted); font-size: 13px; }
.it-places span.it-of { color: var(--muted); font-size: 13px; }
.it-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; margin: 8px 0 20px; }
.it-bar .h2 { font-size: clamp(26px, 2.8vw, 36px); }
.it-sort { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.it-sort select { height: 42px; padding: 0 34px 0 14px; border: 1px solid #c9ccd4; border-radius: 999px; font: 15px var(--sans); color: var(--ink); background: #fff; }
.it-sort select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.it-photo { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--paper); display: block; }
.ec--mini .it-photo { width: 40px; height: 40px; border-radius: 10px; }
.it-empty { padding: 32px; border-radius: var(--r); background: var(--paper); max-width: 880px; }
.it-empty p + p { margin-top: 10px; }
.it-empty a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
/* #83 T9: the wider list under a place without live internships */
.it-wider { margin-bottom: 28px; }
.it-wider-h { margin: 0 0 16px; font-size: clamp(22px, 2.2vw, 28px); }
.it-wider-h small { font: 500 .6em/1 var(--sans); color: var(--muted); vertical-align: middle; }
.it-more-btn { display: block; width: 100%; margin-top: 20px; }
.it-more-btn[disabled] { opacity: .6; cursor: progress; }
.it-pager { margin-top: 24px; }
.it-seo { margin-top: 8px; }

/* internship page: header with the own photo, facts strip, price panel */
.it-card-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: start; padding: 28px 0 0; }
.it-kicker { font-size: 14px; color: var(--muted); }
.it-kicker a { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(120,124,140,.4); text-underline-offset: 3px; }
.it-kicker a:hover { color: var(--accent); }
.it-card-head h1 { margin: 8px 0 0; font-size: clamp(30px, 3.6vw, 48px); font-weight: 300; letter-spacing: -.03em; line-height: 1.08; }
.it-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; list-style: none; margin: 24px 0 0; padding: 0; }
.it-strip li { padding: 14px 16px; border-radius: var(--r); background: var(--accent-soft); }
.it-strip b { display: block; font: 600 18px/1.25 var(--sans); color: var(--ink); }
.it-strip span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.it-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.it-buy-price { margin-right: auto; }
.it-buy-price b { display: block; font: 600 24px/1.2 var(--sans); color: var(--ink); }
.it-buy-price span { display: block; font-size: 13px; color: var(--muted); }
.it-buy-price .it-buy-rub { color: var(--ink); font-size: 14px; margin: 2px 0 4px; }
.it-acts { display: flex; gap: 4px; }
.it-acts .ec-act { border: 1px solid var(--line); }
.it-figure { margin: 0; }
.it-figure .art { aspect-ratio: 4 / 3; }
.it-figure figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.it-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; }
.it-thumbs a { flex: none; width: 76px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--paper); }
.it-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.it-thumbs a:hover img { transform: scale(1.06); }
.it-toc { position: sticky; top: 0; z-index: 5; margin-top: 32px; background: var(--bg, #fff); border-bottom: 1px solid var(--line); }
.it-toc ul { display: flex; gap: 6px; overflow-x: auto; list-style: none; margin: 0; padding: 10px 0; scrollbar-width: none; }
.it-toc a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; color: var(--ink); white-space: nowrap; font-size: 15px; }
.it-toc a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.it-sec { padding-top: 44px; scroll-margin-top: 70px; max-width: 920px; }
.it-sec > h2 { margin: 0 0 16px; }
.it-sec .v3-article { max-width: 880px; }
.it-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.it-list li { position: relative; padding-left: 26px; line-height: 1.5; }
.it-list li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 10px; height: 6px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.it-list--no li::before { width: 10px; height: 2px; top: 11px; border: 0; background: #b4b8c2; transform: none; }
.it-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
.it-cols h3 { font: 600 16px/1.3 var(--sans); color: var(--ink); margin: 0 0 10px; }
.it-table-wrap { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--r); }
.it-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.it-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 12px 16px; background: var(--paper); }
.it-table td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.it-table td b { color: var(--ink); }
.it-note { margin-top: 12px; color: var(--muted); font-size: 15px; }
.it-apply { margin-top: 16px; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: #fff; max-width: 760px; }
.it-apply-lead { color: var(--muted); margin: 0 0 18px; }
.it-flags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 14px 0 0; padding: 0; }
.it-flags li { padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; font-weight: 600; }
.it-err { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: #fdf1ef; color: #8a2a1f; border: 1px solid #e7b3ad; font-size: 14px; }
.it-mob { display: none; }
.it-sub { margin: 24px 0 8px; font: 600 18px/1.3 var(--sans); color: var(--ink); }
.it-sec .cta-row { margin-top: 20px; }
.it-sec--wide { max-width: none; }
.it-sec .it-steps, .it-sec .it-faq { margin-top: 8px; }
.it-map { height: 300px; width: 100%; margin: 12px 0 24px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
/* IA 19.10 W3 №8: «Похожие стажировки» use the shared .ec-minis grid of the full cards (no own columns) */
.it-figure .art img { display: block; }

/* payment page */
.it-pay-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: start; margin-top: 28px; }
.it-pay-sum { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.it-pay-sum img { width: 120px; height: 90px; border-radius: 12px; object-fit: cover; background: var(--paper); }
.it-pay-sum h2 { font: 600 19px/1.3 var(--sans); color: var(--ink); margin: 0; }
.it-pay-sum h2 a { color: var(--ink); }
.it-pay-sum h2 a:hover { color: var(--accent); }
.it-pay-sum .it-kicker { margin-top: 4px; }
.it-pay-form { position: sticky; top: 96px; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: 0 24px 48px -36px rgba(20,20,40,.35); }
.it-pay-form h2 { font: 400 26px/1.2 var(--serif); letter-spacing: -.02em; color: var(--ink); margin: 0; }
.it-pay-fee { margin: 14px 0 18px; }
.it-pay-fee b { display: block; font: 600 28px/1.2 var(--sans); color: var(--ink); }
.it-pay-fee span { display: block; font-size: 14px; color: var(--muted); }
.it-pay-fee .it-pay-rub { color: var(--ink); margin-bottom: 2px; }
.it-pay-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.it-pay-note { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0 0 14px; }
.it-pay-note a { color: var(--accent); }
.it-pay h1 { margin: 8px 0 0; font-size: clamp(30px, 3.4vw, 46px); font-weight: 300; letter-spacing: -.03em; line-height: 1.08; }
.it-pay-art { margin-top: 24px; }
.it-pay-art .art { aspect-ratio: 16 / 9; }
.it-pay .it-pay-sum { grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
.it-pay .it-sec { padding-top: 36px; }
.it-pay .it-sec a { color: var(--accent); }
.it-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }

/* consultation form: one column, illustration on top */
.it-form-wrap { max-width: 720px; margin: 0 auto; }
.it-form-art { aspect-ratio: 3 / 2; margin-top: 28px; }
.it-form { margin-top: 28px; padding: 32px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.it-form .in-field { margin-bottom: 16px; }
.it-form-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.it-form-note a { color: var(--accent); }

@media (max-width: 1000px) {
  .it-hero-grid, .it-card-head, .it-pay-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .it-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .it-pay-form { position: static; }
}
@media (max-width: 760px) {
  .it-hero { padding-top: 24px; }
  .it-trust { grid-template-columns: 1fr; gap: 0; }
  .it-search { padding: 18px 14px; margin-left: -4px; margin-right: -4px; }
  .it-steps, .it-cols { grid-template-columns: 1fr; }
  .it-final { padding: 32px 22px; }
  .it-faq summary { font-size: 17px; padding-right: 40px; }
  .it-faq details p { padding-right: 0; }
  .it-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .it-pay-sum { grid-template-columns: 88px minmax(0, 1fr); }
  .it-pay-sum img { width: 88px; height: 66px; }
  .it-pay-fields { grid-template-columns: 1fr; }
  .it-form { padding: 22px 16px; }
  .it-apply { padding: 20px 14px; }
  .it-mob { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 14px; background: #fff; border-top: 1px solid var(--line); }
  .it-mob .btn { flex: 1; min-height: 44px; justify-content: center; }
  .it-card { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  .it-thumbs a:hover img { transform: none; }
}
