/* Dimensions, grid breakpoints and typography from молодежь-развивайся.рф. */
@font-face{font-family:PlatformEesti;src:url('/assets/eesti-light.woff2') format('woff2');font-style:normal;font-weight:300;font-display:swap}
@font-face{font-family:PlatformEesti;src:url('/assets/eesti-regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:PlatformEesti;src:url('/assets/eesti-medium.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:PlatformEesti;src:url('/assets/eesti-bold.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
.success-page{--grid-padding:16px;--color-background:#f6f6f6;--color-body:linear-gradient(180deg,#ececec,#fff 21.49%);--color-text:#252525;--color-primary:#8c64d8;background:linear-gradient(180deg,#ececec 0,#f6f6f6 1800px,#fff 4000px);font-family:PlatformEesti,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;color:#252525;max-width:1920px;min-width:320px;margin:0 auto;padding-top:64px}
.success-page .wrap{width:calc(100% - 2 * var(--grid-padding));max-width:none;margin-left:auto;margin-right:auto}
.success-page .site-header{position:fixed;z-index:10;top:0;left:0;right:0;max-width:1920px;width:100%;height:64px;margin:auto;padding:0 var(--grid-padding);background:#ececec;gap:0}
.success-page .site-header>a:first-of-type{width:192px;flex-shrink:0}
.success-page .logo{width:192px;max-width:100%}
.success-page .site-header>nav{padding:0 60px;gap:24px;flex:1}
.success-page .site-header>nav a{font-size:13px;font-weight:600}
.success-page .signin{background:#8c64d8;border-radius:8px;padding:9px 16px;font-size:13px;font-weight:600}
.success-page h1,.success-page .follow h2,.success-page .network h2,.success-page .section-head h2{font-weight:700;letter-spacing:-.025em}
.success-page h1{font-size:36px;line-height:1.02}
.success-page .lead,.success-page .network-copy p{font-size:14px;font-weight:400}
.success-page .site-header .current,.success-page .event-body h3,.success-page .section-head>a,.success-page .section-head>div>span{color:#8c64d8}
.success-page .primary{background:#8c64d8}
.success-page .eyebrow,.success-page .kicker{color:#8c64d8}
.success-page .check{background:#8c64d8}
.success-page .btn,.success-page .social,.success-page .network-action>span{font-weight:600}
.success-page .events{gap:32px}
.success-page .event-card{overflow:visible;border-radius:0;background:none;box-shadow:none}
.success-page .event-card img,.success-page .event-placeholder{border-radius:16px;box-shadow:0 5px 5px rgba(0,0,0,.15)}
.success-page .event-body{background:#fff;border-radius:16px;box-shadow:0 6px 14px rgba(0,0,0,.16);padding:16px;gap:16px}
.success-page .event-meta{font-size:14px;font-weight:300}.success-page .program{font-weight:600}
.success-page .category{font-size:13px;font-weight:600}
.success-page .event-body h3{font-size:24px;line-height:28px;font-weight:400}
.success-page [data-sr-only]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.success-page .the-footer{font-family:inherit;font-size:14px}
.success-page .the-footer-logo-icon{width:192px;height:auto}
.success-page .the-footer-legal-copy{font-size:13px}
.success-page .the-footer-socials-link img{height:24px;width:24px}
.success-page .mobile-nav{display:none}
@media(min-width:768px){.success-page{--grid-padding:20px}}
@media(min-width:1270px){.success-page{--grid-padding:60px}}
@media(max-width:991px){.success-page .site-header>nav{display:none}.success-page .site-header{padding:0 16px;justify-content:space-between}.success-page .site-header>a:first-of-type{width:192px}.success-page .signin{margin-left:0}.success-page .mobile-nav{display:block}.success-page .mobile-nav summary{width:32px;height:32px;border:1px solid #8c64d8;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;cursor:pointer;list-style:none}.success-page .mobile-nav summary::-webkit-details-marker{display:none}.success-page .mobile-nav summary span{width:12px;height:1px;background:#8c64d8}.success-page .mobile-nav nav{position:absolute;top:64px;left:0;right:0;background:#ececec;padding:20px 16px;display:flex;flex-direction:column;gap:20px;box-shadow:0 12px 18px #0002}.success-page .mobile-nav nav a{font-size:15px;font-weight:600}}
@media(max-width:680px){.success-page .events{gap:16px}.success-page h1{font-size:32px}.success-page .event-body h3{font-size:21px;line-height:25px}.success-page .site-header>a:first-of-type{width:192px}}

/* Header shadow mirrors the platform and is visible after scrolling. */
.success-page .site-header::before{content:"";position:absolute;left:0;right:0;bottom:0;height:64px;box-shadow:0 10px 0 -10px #8c64d8;opacity:0;pointer-events:none;transition:opacity .15s,box-shadow .25s}
.success-page .site-header.is-scrolled::before{box-shadow:0 10px 20px -10px #8c64d8;opacity:1}
.success-page .account-link{display:block;flex:none;width:32px;height:32px;border:1px solid #8c64d8;border-radius:50%;background:#fff}
.success-page .account-link:focus-visible{outline:2px solid #8c64d8;outline-offset:3px}

/* Official VK and MAX marks keep their proportions in both button styles. */
.success-page .button-logo{display:block;width:24px;height:24px;object-fit:contain;flex:none}
.success-page .button-logo.vk-logo{width:28px;height:28px;margin:-2px}
.success-page .button-logo-on-primary{width:21px;height:21px}

/* A compact first screen: the forum invitation and social links share the sidebar. */
.success-page .top-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
.success-page .success{display:flex;flex-direction:column;justify-content:center}
.success-page .sidebar{display:flex;flex-direction:column;gap:12px;min-width:0}
.success-page .network{margin:0;padding:24px 26px;flex:1;flex-direction:column;gap:15px}
.success-page .network:after{right:3%;top:-22px;font-size:170px}
.success-page .network-copy,.success-page .network-action{position:relative;z-index:1}
.success-page .network-copy p{max-width:490px}
.success-page .network-action{width:auto;align-self:flex-start}
.success-page .network-buttons{gap:8px}
.success-page .network-buttons .btn{flex:none;width:52px;height:44px;min-height:44px;padding:0;gap:0}
.success-page .network-buttons .btn img{width:23px;height:23px}
.success-page .follow{padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.success-page .follow h2{font-size:19px;line-height:1.1}
.success-page .follow p{margin:8px 0 0;max-width:340px}
.success-page .social-links{display:flex;align-items:center;gap:8px;flex:none}
.success-page .social{width:48px;height:48px;min-width:48px;margin:0;padding:0;justify-content:center}
.success-page .social:focus-visible,.success-page .network-buttons .btn:focus-visible{outline:2px solid #8c64d8;outline-offset:3px}
.success-page .event-card,.success-page .event-meta>span{min-width:0;overflow-wrap:anywhere}
@media(max-width:800px){.success-page .top-grid{grid-template-columns:1fr}.success-page .network{padding:22px 20px}.success-page .follow{padding:18px 20px}}
@media(max-width:539px){.success-page .events{grid-template-columns:minmax(0,1fr)}}
@media(max-width:400px){.success-page .follow h2{font-size:17px}.success-page .follow{gap:10px}.success-page .social-links{gap:6px}.success-page .social{width:44px;height:44px;min-width:44px}}

@media(max-width:500px){.success-page .follow{flex-direction:column;align-items:flex-start;gap:12px}}

/* Не оставляем последнее слово абзаца или заголовка на отдельной строке. */
.success-page main p,.success-page main h1,.success-page main h2,.success-page main h3,.success-page .notice span:last-child{text-wrap:pretty}

/* Тени карточек совпадают с эффектом наведения на платформе. */
.success-page .event-card img,.success-page .event-placeholder,.success-page .event-body{transition:box-shadow .25s}
@media (hover:hover){
  .success-page .event-card:hover img,.success-page .event-card:hover .event-placeholder{box-shadow:0 4px 10.4px 0 #8c64d8}
  .success-page .event-card:hover .event-body{box-shadow:0 41px 57px 0 rgba(140,100,216,.302)}
}
.success-page .event-card:focus-visible img,.success-page .event-card:focus-visible .event-placeholder{box-shadow:0 4px 10.4px 0 #8c64d8}
.success-page .event-card:focus-visible .event-body{box-shadow:0 41px 57px 0 rgba(140,100,216,.302)}
@media (prefers-reduced-motion:reduce){.success-page .event-card img,.success-page .event-placeholder,.success-page .event-body{transition:none}}
