/* 365 Social Community – protected member discussion area. */
.s365-community{padding:clamp(2.2rem,4vw,4rem) 0 5rem}
.s365-community-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;padding:clamp(2rem,4vw,3.4rem);border-radius:24px;background:linear-gradient(135deg,var(--s365-navy),#075f9d);color:#fff}
.s365-community-hero>div{max-width:50rem}.s365-community-hero .s365-eyebrow{color:#b7dcf8}.s365-community-hero h1{max-width:18ch;margin:.45rem 0 .8rem;color:#fff;font-size:clamp(2.3rem,4.5vw,4.3rem);line-height:1.03;text-wrap:balance}.s365-community-hero p:not(.s365-eyebrow){max-width:46rem;margin:0;color:rgba(255,255,255,.84);font-size:1.05rem;line-height:1.65}
.s365-community-toolbar{display:flex;justify-content:flex-end;margin:1.4rem 0}.s365-community-toolbar form{display:flex;flex-wrap:wrap;gap:.7rem}.s365-community-toolbar select{min-width:12rem;border:1px solid var(--s365-border);border-radius:999px;background:#fff;padding:.7rem 2.2rem .7rem 1rem;color:var(--s365-navy);font:inherit;font-weight:700}
.s365-community-layout{display:grid;grid-template-columns:minmax(0,1fr) 18rem;gap:1.4rem;align-items:start}.s365-community-list{display:grid;gap:.85rem}.s365-community-row{display:grid;grid-template-columns:3.4rem minmax(0,1fr);gap:1rem;padding:1.3rem;border:1px solid var(--s365-border);border-radius:18px;background:#fff;transition:transform .18s ease,box-shadow .18s ease}.s365-community-row:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(24,51,78,.07)}.s365-community-row.is-closed{opacity:.82}.s365-community-row__avatar img{display:block;width:3.4rem;height:3.4rem;border-radius:50%;object-fit:cover}.s365-community-row__meta{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:.35rem}.s365-community-row__meta span{padding:.2rem .5rem;border-radius:999px;background:var(--s365-surface);color:var(--s365-blue);font-size:.72rem;font-weight:800}.s365-community-row__meta span+span{background:#f1f1f1;color:#667}.s365-community-row h2{margin:0;font-size:clamp(1.15rem,2vw,1.45rem);line-height:1.25}.s365-community-row h2 a{color:var(--s365-navy);text-decoration:none}.s365-community-row p{margin:.5rem 0 .75rem;color:var(--s365-muted);line-height:1.55}.s365-community-row__footer{display:flex;flex-wrap:wrap;gap:.45rem 1rem;color:var(--s365-muted);font-size:.78rem}.s365-community-row__footer span:not(:last-child)::after{content:"·";margin-left:1rem;color:#bcc8d1}
.s365-community-categories{position:sticky;top:6rem;padding:1.35rem;border:1px solid var(--s365-border);border-radius:18px;background:var(--s365-surface)}.s365-community-categories h2{margin:.2rem 0 1rem;font-size:1.35rem}.s365-community-category-list{display:grid;gap:.35rem}.s365-community-category-list a{padding:.6rem .75rem;border-radius:10px;color:var(--s365-navy);font-size:.88rem;font-weight:700;text-decoration:none}.s365-community-category-list a:hover,.s365-community-category-list a.is-active{background:#fff;color:var(--s365-blue)}
.s365-community-empty{padding:1.7rem;border:1px dashed var(--s365-border);border-radius:18px;background:#fff}.s365-community-empty h2,.s365-community-empty h3{margin:0 0 .4rem}.s365-community-empty p{margin:0;color:var(--s365-muted)}
.s365-community-create{margin-top:2rem;padding:clamp(1.5rem,3vw,2.2rem);border:1px solid var(--s365-border);border-radius:20px;background:var(--s365-surface)}.s365-community-create h2{margin:.25rem 0 1.2rem;font-size:clamp(1.65rem,3vw,2.25rem)}.s365-community-form{display:grid;grid-template-columns:1.3fr .7fr;gap:1rem}.s365-community-form label{display:grid;gap:.4rem;font-weight:750}.s365-community-form label:nth-of-type(3){grid-column:1/-1}.s365-community-form input,.s365-community-form select,.s365-community-form textarea,.s365-community-reply-form textarea,.s365-community-reply-edit textarea{width:100%;border:1px solid var(--s365-border);border-radius:12px;background:#fff;padding:.85rem 1rem;color:var(--s365-navy);font:inherit}.s365-community-form textarea,.s365-community-reply-form textarea,.s365-community-reply-edit textarea{resize:vertical;line-height:1.55}.s365-community-form__actions{grid-column:1/-1;display:flex;align-items:center;gap:1rem}
.s365-community-detail__hero{padding:clamp(2.8rem,5vw,5rem) 0;background:var(--s365-surface)}.s365-community-back{display:inline-block;margin-bottom:1.5rem;color:var(--s365-blue);font-weight:800;text-decoration:none}.s365-community-detail__meta{display:flex;gap:.5rem}.s365-community-detail__meta span{padding:.25rem .58rem;border-radius:999px;background:#fff;color:var(--s365-blue);font-size:.74rem;font-weight:800}.s365-community-detail__hero h1{max-width:20ch;margin:.7rem 0 1.3rem;font-size:clamp(2.5rem,5vw,4.7rem);line-height:1.04;text-wrap:balance}.s365-community-author{display:flex;align-items:center;gap:.75rem}.s365-community-author img{width:3rem;height:3rem;border-radius:50%;object-fit:cover}.s365-community-author div{display:grid}.s365-community-author span{color:var(--s365-muted);font-size:.8rem}
.s365-community-detail__body{padding:clamp(2.5rem,5vw,4.5rem) 0;background:#fff}.s365-community-detail__grid{display:grid;grid-template-columns:minmax(0,1fr) 15rem;gap:3rem;align-items:start}.s365-community-post__content{max-width:52rem;font-size:1.05rem;line-height:1.78}.s365-community-post__content p{margin:0 0 1.15rem}.s365-community-post__actions{display:flex;gap:1rem;margin-top:2rem;padding-top:1.2rem;border-top:1px solid var(--s365-border)}.s365-community-detail__aside{padding:1.2rem;border-radius:16px;background:var(--s365-surface)}.s365-community-detail__aside strong{display:block;margin:.25rem 0 1rem;font-size:1.15rem}.s365-community-detail__aside p:not(.s365-eyebrow){margin:0;color:var(--s365-muted);font-size:.84rem;line-height:1.5}
.s365-community-replies-section{padding:clamp(2.5rem,5vw,5rem) 0;background:var(--s365-surface)}.s365-community-replies-wrap{max-width:62rem}.s365-community-replies-head h2{margin:.25rem 0 1.5rem;font-size:clamp(1.8rem,3vw,2.7rem)}.s365-community-replies{display:grid;gap:.8rem}.s365-community-reply{display:grid;grid-template-columns:2.8rem minmax(0,1fr);gap:.8rem;padding:1.15rem;border:1px solid var(--s365-border);border-radius:16px;background:#fff}.s365-community-reply.depth-1{margin-left:2.4rem}.s365-community-reply.depth-2,.s365-community-reply.depth-3{margin-left:4.8rem}.s365-community-reply__avatar img{width:2.8rem;height:2.8rem;border-radius:50%;object-fit:cover}.s365-community-reply__head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem}.s365-community-reply__head span{color:var(--s365-muted);font-size:.75rem}.s365-community-reply__text{margin-top:.45rem;line-height:1.65}.s365-community-reply__text p{margin:.3rem 0 .8rem}.s365-community-reply__actions{display:flex;gap:.9rem;margin-top:.5rem}.s365-community-reply__actions button{border:0;background:none;padding:0;cursor:pointer}.s365-community-reply-edit{display:grid;gap:.6rem;margin-top:.6rem}.s365-community-reply-form{margin-top:2rem;padding:1.5rem;border:1px solid var(--s365-border);border-radius:18px;background:#fff}.s365-community-reply-form h2{margin:.25rem 0 1rem}.s365-community-reply-form form{display:grid;gap:.8rem}.s365-community-reply-form .s365-button{justify-self:start}.s365-community-reply-target{margin-bottom:.8rem;padding:.65rem .8rem;border-radius:10px;background:#eaf5fd;color:var(--s365-navy);font-size:.85rem}.s365-community-reply-target button{float:right;border:0;background:none;color:var(--s365-blue);font-weight:800;cursor:pointer}.s365-community-closed-note{margin-top:1.5rem;padding:1rem 1.2rem;border-radius:12px;background:#fff;color:var(--s365-muted)}
.s365-community-notification-setting{align-items:flex-start!important}.s365-community-notification-setting>span{display:grid;gap:.2rem}.s365-community-notification-setting small{color:var(--s365-muted);font-weight:400;line-height:1.45}
@media(max-width:900px){.s365-community-hero{align-items:flex-start;flex-direction:column}.s365-community-layout,.s365-community-detail__grid{grid-template-columns:1fr}.s365-community-categories{position:static;order:-1}.s365-community-form{grid-template-columns:1fr}.s365-community-form label:nth-of-type(3),.s365-community-form__actions{grid-column:auto}.s365-community-detail__aside{display:flex;align-items:center;justify-content:space-between;gap:1rem}.s365-community-detail__aside strong{margin:0}.s365-community-detail__aside p:not(.s365-eyebrow),.s365-community-detail__aside .s365-eyebrow{margin:0}.s365-community-reply.depth-2,.s365-community-reply.depth-3{margin-left:2.4rem}}
@media(max-width:620px){.s365-community{padding-top:1.4rem}.s365-community-row{grid-template-columns:2.7rem minmax(0,1fr);padding:1rem}.s365-community-row__avatar img{width:2.7rem;height:2.7rem}.s365-community-row__footer span:not(:last-child)::after{display:none}.s365-community-reply,.s365-community-reply.depth-1,.s365-community-reply.depth-2,.s365-community-reply.depth-3{margin-left:0}.s365-community-detail__aside{display:block}.s365-community-reply__head{align-items:flex-start;flex-direction:column;gap:.15rem}}
