*{box-sizing:border-box}body{margin:0;background:#edf1f6;color:#182b45;font:16px system-ui,sans-serif}header{background:#10233f;color:white;padding:20px 5%;display:flex;justify-content:space-between;align-items:center;gap:12px}header strong{font-size:25px;letter-spacing:2px}em{color:#e4bd68;font-style:normal}main{max-width:1250px;margin:30px auto;display:grid;grid-template-columns:1fr 2fr 1fr;gap:20px;padding:0 16px}aside,article{background:white;border:1px solid #dce3ec;border-radius:14px;padding:22px;align-self:start}article{margin-bottom:16px}h2,h3{margin-top:0}input,textarea{display:block;width:100%;padding:12px;margin:10px 0;border:1px solid #c9d3e0;border-radius:8px;font:inherit}textarea{min-height:85px}button{background:#173b66;color:white;border:0;padding:10px 15px;border-radius:8px;cursor:pointer;margin:4px 4px 4px 0}small{display:block;color:#64748b}.body{white-space:pre-wrap;overflow-wrap:anywhere}.comment{background:#eef2f7;padding:10px;border-radius:8px;overflow-wrap:anywhere}.error{color:#a21b1b}footer{text-align:center;padding:20px;color:#64748b}@media(max-width:800px){main{grid-template-columns:1fr}header span{display:none}}

.avatar{width:84px;height:84px;object-fit:cover;border-radius:50%}.cover,.postphoto{width:100%;border-radius:12px;object-fit:contain}.cover{height:110px;object-fit:cover}header{position:sticky;top:0;z-index:2}nav{display:flex;gap:12px;flex-wrap:wrap;background:#fff;padding:14px;border-radius:12px;position:sticky;top:0;z-index:2}nav a{color:#173c77;font-weight:700;text-decoration:none}article{scroll-margin-top:80px}select{padding:10px;border:1px solid #ccd5e2;border-radius:8px}header{box-shadow:0 3px 15px #0002}button{cursor:pointer}

.brand{display:flex;align-items:center;gap:12px}.brand img{width:52px;height:52px;border-radius:12px}header{background:linear-gradient(110deg,#071b49,#064bb0);padding:10px 5%}nav{position:static;margin-bottom:16px}button{background:#124caa}button:focus-visible,a:focus-visible{outline:3px solid #d7a52b;outline-offset:2px}article{scroll-margin-top:100px}
@media(max-width:700px){nav{display:flex;overflow-x:auto;white-space:nowrap;gap:10px;position:sticky;top:0;z-index:5;background:#fff;padding:12px 8px}nav a{flex-shrink:0}video.postphoto{max-width:100%;max-height:65vh}}

.listing{border-top:1px solid #dce3ec;padding:16px 0}.listing h3{margin-bottom:6px}

.sponsored{border:1px solid #c8a34d;border-radius:12px;padding:16px;margin:12px 0}.sponsored small{color:#78601d;font-weight:bold}
/* V13.3 social layout */
body{background:#f0f2f5;color:#17243a;font-size:15px}header{background:#fff;color:#10233f;padding:10px 4%;border-bottom:1px solid #e1e5ec;box-shadow:0 2px 8px #10233f0d}header em{color:#a87816}header strong{letter-spacing:-.7px;font-size:29px}header span{color:#52647c}.brand img{width:46px;height:46px}main{max-width:1440px;grid-template-columns:250px minmax(0,680px) 280px;justify-content:center;gap:24px}article,aside{border:0;border-radius:12px;box-shadow:0 2px 10px #142d4e0b;padding:22px}nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px}nav a{background:#f0f4fa;padding:12px 8px;border-radius:8px;text-align:center;font-size:13px}nav a:hover{background:#e0eafa}button{background:#1762c5;font-weight:600}input,textarea{background:#f7f9fc} .guest-layout{max-width:1040px;grid-template-columns:1fr minmax(0,420px);align-items:center;min-height:65vh;gap:60px}.guest-layout>aside:first-child{background:transparent;box-shadow:none;align-self:center}.guest-layout>aside:first-child h2{font-size:clamp(32px,5vw,52px);letter-spacing:-2px;line-height:1.1;color:#123b78}.guest-layout>aside:first-child p{font-size:20px;line-height:1.5}.guest-layout>aside:last-child{display:none}.guest-layout button{width:100%;padding:13px}.utility-links{text-align:center;padding:0 16px 24px}.utility-links a,footer a{color:#385b86;margin:0 6px} @media(max-width:1000px){.social-layout{grid-template-columns:210px minmax(0,1fr)}.social-layout>aside:last-child{grid-column:2}}@media(max-width:700px){main.social-layout,main.guest-layout{grid-template-columns:minmax(0,1fr);gap:12px;margin:16px auto;min-height:0}.social-layout>aside:last-child{grid-column:auto}.guest-layout>aside:first-child{padding:10px 16px}.guest-layout>aside:first-child h2{font-size:36px}nav{position:static;white-space:normal;overflow:visible}header strong{font-size:24px}}

.guest-logo{display:none}.guest-layout .guest-logo{display:block;width:110px;height:110px;object-fit:contain;border-radius:18px;margin-bottom:20px}
/* V13.7 feed-first layout */
.social-layout{grid-template-columns:minmax(190px,240px) minmax(0,700px) minmax(200px,280px);align-items:start}.social-layout>section{min-width:0}.social-layout nav{grid-template-columns:repeat(4,minmax(0,1fr));box-shadow:0 2px 10px #142d4e0b}.quicklinks{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 20px}.quicklinks a{flex:1;text-align:center;padding:16px 8px;background:#eef4fb;color:#173b66;border-radius:12px;text-decoration:none;font-weight:650}.post-author{display:flex;align-items:center;gap:12px}.post-author a{color:#182b45;text-decoration:none}.initial{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#e4ecf8;color:#173b66;font-weight:bold}.feed-post .postphoto{max-height:640px;background:#f0f2f5}.feed-post .comment{margin:8px 0}.feed-post form{border-top:1px solid #e5e9ef;padding-top:8px}.social-layout #feed textarea{border-radius:18px}.social-layout aside{min-width:0}#people{scroll-margin-top:90px}@media(max-width:1050px){main.social-layout{grid-template-columns:200px minmax(0,1fr)}.people-panel{grid-column:2}}@media(max-width:700px){main.social-layout{display:flex;flex-direction:column}.social-layout>section{order:0;width:100%}.social-layout>aside{order:1;width:100%}.social-layout nav{grid-template-columns:repeat(3,minmax(0,1fr))}.social-layout article{padding:16px}}

.chat-layout{display:grid;grid-template-columns:minmax(130px,1fr) minmax(0,2fr);gap:12px}.chat-sidebar,.chat-main{min-width:0}.chat-contact{display:block;width:100%;text-align:left;background:#eef2f7;color:#17365c;margin:5px 0;overflow-wrap:anywhere}.chat-contact.selected{background:#17365c;color:white}#chat-contacts{max-height:420px;overflow:auto}#inbox{display:flex;flex-direction:column;gap:8px;height:320px;overflow:auto;padding:12px;background:#f3f5f8;border-radius:12px}.chat-bubble{align-self:flex-start;max-width:85%;background:white;color:#15243a;border-radius:14px;padding:10px;overflow-wrap:anywhere;white-space:pre-wrap}.chat-bubble.own{align-self:flex-end;background:#1762c5;color:white}.chat-bubble small{display:block;font-size:10px;opacity:.8;margin-top:4px}.chat-main form[hidden]{display:none!important}@media(max-width:600px){.chat-layout{grid-template-columns:1fr}#chat-contacts{max-height:150px}}

.discovery-card{border:1px solid #dce3ec;border-radius:12px;padding:10px;margin:8px 0;background:#fff;display:grid;gap:6px}.discovery-card small{color:#52647c}.discovery-card form{margin:0}.discovery-card button{width:100%;font-size:12px}.discovery-card a{overflow-wrap:anywhere}
