/* Сообщество: отдельные блоки и вкладки в общей оболочке сайта. */
.community-v2{width:min(1500px,calc(100% - 96px));padding-top:18px}
.community-v2 *{min-width:0}
.community-v2-head h1{font-size:clamp(38px,4.2vw,60px);line-height:1.05;letter-spacing:-.055em;margin:0 0 4px;font-weight:850}
.community-v2-head p{font-size:18px;color:var(--muted);line-height:1.45;margin:0}
.community-v2-tabs{display:flex;width:max-content;max-width:100%;overflow:auto;scrollbar-width:none;border:1px solid var(--line);border-radius:10px;margin:22px 0 19px;background:var(--paper)}
.community-v2-tabs::-webkit-scrollbar{display:none}
.community-v2-tabs a{min-width:125px;height:44px;padding:0 19px;display:flex;justify-content:center;align-items:center;font-weight:700;font-size:14px;white-space:nowrap;border-right:1px solid var(--line);transition:background .15s,color .15s}
.community-v2-tabs a:last-child{border-right:0}
.community-v2-tabs a:hover{background:var(--green-soft)}
.community-v2-tabs a.active,.community-v2-tabs a.active:hover{background:#00542f;color:#fff}
.community-v2-grid{display:grid;grid-template-columns:minmax(0,1fr) 410px;gap:30px;align-items:start}
.community-v2-grid>main{display:grid;gap:18px}
.community-v2-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 10px}
.community-v2-section-head h2{font-size:29px;letter-spacing:-.045em;line-height:1.15;margin:0}
.community-v2-section-head a{font-size:14px;font-weight:800;color:var(--green);white-space:nowrap}
.community-v2-section-head a:hover{text-decoration:underline}
.community-v2-empty,.community-v2-loading{border:1px solid var(--line);border-radius:12px;background:var(--paper);min-height:145px;padding:18px 22px;display:grid;grid-template-columns:minmax(160px,45%) 1fr;align-items:center;gap:20px}
.community-v2-section:first-child .community-v2-empty{background:linear-gradient(110deg,var(--green-soft),var(--paper));min-height:180px}
.community-v2-empty h3{font-size:23px;letter-spacing:-.035em;margin:0 0 7px;line-height:1.18}
.community-v2-empty p{color:var(--muted);font-size:15px;line-height:1.45;margin:0}
.community-v2-empty-art{height:110px;display:grid;place-items:center;border-radius:12px;background:radial-gradient(ellipse at center,var(--green-soft),transparent 70%)}
.community-v2-empty-art svg,.community-v2-empty>svg{width:83px;height:83px;color:var(--green)}
.community-v2-section:first-child .community-v2-empty-art svg{width:125px;height:95px}
.community-v2-outline,.community-v2-solid{display:inline-flex;justify-content:center;align-items:center;gap:8px;border-radius:100px;padding:0 21px;min-height:42px;font-size:13px;font-weight:800;text-decoration:none}
.community-v2-outline{border:1.5px solid var(--green);color:var(--green);background:transparent;margin-top:14px}
.community-v2-outline:hover{background:var(--green-soft)}
.community-v2-solid{border:1px solid #00542f;background:#00542f;color:#fff}
.community-v2-solid:hover{background:#0d7447}
.community-v2-loading{grid-template-columns:1fr;color:var(--muted);font-size:15px}
.community-v2-aside{display:grid;gap:18px}
.community-v2-how{min-height:690px;display:flex;flex-direction:column;position:relative;overflow:hidden;padding:30px;border-radius:12px;color:#fff;background:#004b2d url('/frontend/site-mockup/assets/community-handoff.png') center bottom/auto 69% no-repeat}
.community-v2-how::before{content:"";position:absolute;inset:0;background:linear-gradient(#00472ae8 0%,#00472ae5 55%,#00472a18 85%)}
.community-v2-how>*{position:relative;z-index:1}
.community-v2-how h2{font-size:33px;letter-spacing:-.04em;margin:0 0 20px}
.community-v2-how ol{list-style:none;padding:0;margin:0;display:grid;gap:25px}
.community-v2-how li{display:grid;grid-template-columns:52px 1fr;gap:17px;align-items:start}
.community-v2-how li>b{border-radius:50%;width:52px;height:52px;display:grid;place-items:center;background:#ffffff2c;font-size:23px}
.community-v2-how li strong{display:block;font-size:19px;margin:4px 0 4px}
.community-v2-how li span{display:block;font-size:15px;line-height:1.45;color:#fffdf3}
.community-v2-how>a{margin:auto 0 0 auto;border:1px solid #fff;border-radius:10px;padding:11px 18px;font-size:14px;font-weight:700;background:#003f2c88}
.community-v2-how>a:hover{background:#ffffff24}
.community-v2-aside-note,.community-v2-side-card{border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:24px}
.community-v2-aside-note{display:grid;grid-template-columns:55px 1fr;gap:15px;align-items:center}
.community-v2-aside-note svg{width:45px;height:45px;color:var(--green)}
.community-v2-aside-note strong{font-size:19px}
.community-v2-aside-note p,.community-v2-side-card p{color:var(--muted);font-size:14px;line-height:1.5;margin:6px 0 0}
.community-v2-side-card>svg{width:46px;height:46px;color:var(--green);margin-bottom:12px}
.community-v2-side-card h2{font-size:25px;line-height:1.2;letter-spacing:-.035em;margin:0}
.community-v2-side-card .community-v2-solid,.community-v2-side-card .community-v2-outline{margin-top:20px}
.community-v2-side-card+.community-v2-side-card{background:var(--green-soft)}
.community-v2-soon{display:inline-block;margin-top:16px;font-size:12px;font-weight:800;color:var(--green)}
.community-v2-job-list,.community-v2-event-grid,.community-v2-recipe-list{display:grid;gap:10px}
.community-v2-job{border:1px solid var(--line);border-radius:12px;background:var(--paper);display:grid;grid-template-columns:46px 1fr auto;gap:15px;align-items:center;padding:17px}
.community-v2-job-icon{background:var(--green-soft);color:var(--green);border-radius:50%;width:46px;height:46px;display:grid;place-items:center}
.community-v2-job-icon svg{width:25px;height:25px}
.community-v2-route{font-size:13px;font-weight:800;color:var(--green);margin:0 0 6px}
.community-v2-route span{margin:0 7px}
.community-v2-job h3{margin:0 0 5px;font-size:20px}
.community-v2-meta{margin:0;color:var(--muted);font-size:12px}
.community-v2-job-action{display:grid;justify-items:end;gap:9px}
.community-v2-job-action strong{font-size:19px;color:var(--green)}
.community-v2-job-action a{border-radius:100px;background:var(--green);color:#fff;padding:9px 17px;font-size:13px;font-weight:800}
.community-v2-event-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.community-v2-event-grid.full,.community-v2-recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.community-v2-event,.community-v2-recipe{border:1px solid var(--line);border-radius:12px;background:var(--paper);overflow:hidden;display:block}
.community-v2-event:hover,.community-v2-recipe:hover{border-color:var(--green)}
.community-v2-event>img,.community-v2-event>.community-v2-no-photo{display:block;width:100%;height:150px;object-fit:cover}
.community-v2-event-body,.community-v2-recipe-body{display:grid;gap:7px;padding:14px}
.community-v2-event-body small{font-weight:800;color:var(--green);font-size:11px}
.community-v2-event-body strong{font-size:17px;line-height:1.25}
.community-v2-event-body span,.community-v2-event-body em{font-size:12px;color:var(--muted);font-style:normal}
.community-v2-no-photo{display:grid;place-items:center;background:var(--green-soft);color:var(--green)}
.community-v2-no-photo svg{height:50px;width:50px}
.community-v2-recipe-list .community-v2-recipe{display:grid;grid-template-columns:53% 47%;min-height:180px}
.community-v2-recipe-list .community-v2-recipe img{height:100%}
.community-v2-recipe>img,.community-v2-recipe>.community-v2-no-photo{width:100%;height:210px;object-fit:cover}
.community-v2-recipe-body{align-content:start;padding:17px}
.community-v2-recipe-body>strong{font-size:22px;letter-spacing:-.025em;line-height:1.2}
.community-v2-maker{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800}
.community-v2-maker svg{width:22px;height:22px;color:var(--green)}
.community-v2-recipe-body small{color:var(--muted);font-size:13px;line-height:1.4}
.community-v2-recipe-facts{font-size:12px;font-weight:700;margin-top:5px;display:flex;align-items:center;gap:5px}
.community-v2-recipe-facts svg{width:16px;height:16px}
.community-v2-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.community-v2-toolbar>label{display:grid;gap:5px;font-size:12px;font-weight:800;color:var(--muted)}
.community-v2-toolbar select,.community-v2-toolbar input[type=search]{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:9px;height:42px;padding:0 12px;min-width:170px}
.community-v2-toolbar .community-v2-check{display:flex;align-items:center;gap:7px;min-height:42px;color:var(--ink)}
.community-v2-check input{accent-color:var(--green);width:17px;height:17px}
.community-v2-toolbar .community-v2-search{flex:1;position:relative;display:flex;align-items:center}
.community-v2-search>svg{position:absolute;left:12px;width:20px;height:20px;color:var(--green)}
.community-v2-search input{width:100%;padding-left:39px!important;padding-right:85px!important}
.community-v2-search button{position:absolute;right:5px;border:0;border-radius:7px;background:var(--green);color:#fff;height:32px;padding:0 12px;font-size:12px}
.community-v2-filter-row{display:flex;gap:8px;margin-bottom:16px;overflow:auto}
.community-v2-filter-row button{white-space:nowrap;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:100px;padding:9px 17px;font-size:13px;font-weight:700}
.community-v2-filter-row button.active{background:var(--green);border-color:var(--green);color:#fff}
.community-v2-footnote{color:var(--muted);font-size:13px;margin:18px 0}
.community-v2-guest{max-width:680px;margin:52px auto 100px;text-align:center;border:1px solid var(--line);border-radius:16px;background:var(--paper);padding:45px}
.community-v2-guest>svg{width:60px;height:60px;color:var(--green)}
.community-v2-guest h2{font-size:30px;margin:14px 0 8px}
.community-v2-guest p{color:var(--muted);line-height:1.5}
.community-v2-guest nav{border-top:1px solid var(--line);margin-top:28px;padding-top:20px;display:flex;justify-content:center;gap:25px;font-size:13px;font-weight:700;color:var(--green)}
.community-v2-mine-group{border:1px solid var(--line);background:var(--paper);border-radius:12px;padding:20px;margin:0 0 12px}
.community-v2-mine-group h3{font-size:18px;margin:0 0 10px}
.community-v2-mine-group .community-v2-job{border-radius:9px}
.community-v2-mine-note{color:var(--muted);font-size:14px;margin:0;line-height:1.5}
.dark .community-v2-how{background-color:#004b2d}
.dark .community-v2-how::before{background:linear-gradient(#00472aee 0%,#00472ae2 55%,#00472a18 85%)}
@media(max-width:1150px){.community-v2-grid{grid-template-columns:minmax(0,1fr) 320px;gap:20px}.community-v2-how{padding:23px}.community-v2-how li{grid-template-columns:43px 1fr}.community-v2-how li>b{height:43px;width:43px;font-size:18px}.community-v2-how li strong{font-size:16px}}
@media(max-width:850px){.community-v2{width:calc(100% - 40px)}.community-v2-grid{grid-template-columns:1fr}.community-v2-aside{grid-row:auto}.community-v2-how{min-height:540px;background-size:cover}.community-v2-aside-note{display:none}}
@media(max-width:650px){.community-v2{width:calc(100% - 28px);padding-top:20px}.community-v2-head h1{font-size:39px}.community-v2-head p{font-size:15px}.community-v2-tabs{width:calc(100% + 14px);max-width:calc(100% + 14px);border-radius:0;margin:18px -14px 21px 0;border-left:0}.community-v2-tabs a{min-width:auto;padding:0 19px}.community-v2-section-head h2{font-size:23px}.community-v2-empty{grid-template-columns:88px 1fr;gap:9px;padding:15px;min-height:140px}.community-v2-section:first-child .community-v2-empty{min-height:160px}.community-v2-empty-art{height:80px}.community-v2-empty-art svg,.community-v2-section:first-child .community-v2-empty-art svg{width:75px;height:75px}.community-v2-empty h3{font-size:18px}.community-v2-empty p{font-size:13px}.community-v2-outline{min-height:36px;padding:0 12px;font-size:12px}.community-v2-recipe-list .community-v2-recipe{grid-template-columns:42% 58%;min-height:155px}.community-v2-recipe-body{padding:11px;gap:5px}.community-v2-recipe-body>strong{font-size:17px}.community-v2-recipe-body small{font-size:11px}.community-v2-recipe-body .community-v2-recipe-facts{font-size:11px}.community-v2-recipe-grid,.community-v2-event-grid,.community-v2-event-grid.full{grid-template-columns:1fr}.community-v2-job{grid-template-columns:1fr auto;gap:8px}.community-v2-job-icon{display:none}.community-v2-job h3{font-size:17px}.community-v2-job-action strong{font-size:15px}.community-v2-job-action a{padding:8px 11px}.community-v2-how{min-height:565px}.community-v2-toolbar>label{width:100%}.community-v2-toolbar select{width:100%}.community-v2-toolbar .community-v2-check{width:auto}.community-v2-guest{padding:25px;margin:25px auto}}
@media(max-width:375px){.community-v2-empty{grid-template-columns:1fr}.community-v2-empty-art{display:none}.community-v2-recipe-list .community-v2-recipe{grid-template-columns:1fr}.community-v2-recipe-list .community-v2-recipe img{height:170px}}
.community-v2-match{display:inline-block;margin-top:6px;padding:2px 9px;border-radius:100px;background:var(--green-soft);color:var(--green);font-size:12px;font-weight:800}
.community-v2-offer-form label{display:grid;gap:5px;margin-top:12px;font-size:12px;font-weight:700}
.community-v2-offer-form input{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:9px;height:42px;padding:0 12px;font-size:16px;min-width:0}
.community-v2-offers,.community-v2-offer-matches{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:10px}
.community-v2-offers li,.community-v2-offer-matches li{display:grid;gap:2px;padding-top:10px;border-top:1px solid var(--line)}
.community-v2-offers li span,.community-v2-offer-matches li span{color:var(--muted);font-size:13px}
.community-v2-offers li .community-v2-outline{justify-self:start;margin-top:8px;min-height:36px}
.community-v2-offer-matches a{font-weight:800;color:var(--green)}
/* В обзоре справочная колонка начинается на уровне заголовка, как в концепте. */
@media(min-width:851px){
  .community-v2--overview{display:grid;grid-template-columns:minmax(0,1fr) 410px;column-gap:30px;align-items:start}
  .community-v2--overview>.community-v2-head,.community-v2--overview>.community-v2-tabs{grid-column:1}
  .community-v2--overview>.community-v2-grid{display:contents}
  .community-v2--overview>.community-v2-grid>main{grid-column:1;grid-row:3}
  .community-v2--overview>.community-v2-grid>.community-v2-aside{grid-column:2;grid-row:1 / span 3}
}
@media(min-width:851px) and (max-width:1150px){.community-v2--overview{grid-template-columns:minmax(0,1fr) 320px;column-gap:20px}}
