.forum-main{padding-bottom:90px;background:#f7fafc;color:#13263f;font:17px/1.6 "DM Sans",Arial,sans-serif}
.forum-hero{background:linear-gradient(135deg,#edf5ff 0%,#effff3 100%);border-bottom:1px solid var(--line)}
.forum-hero-inner{min-height:300px;display:flex;align-items:center;justify-content:space-between;gap:40px;padding-top:50px;padding-bottom:50px}
.forum-hero h1{font:700 clamp(48px,7vw,84px)/.95 "Space Grotesk",Arial,sans-serif;letter-spacing:-.055em;margin:14px 0 20px}
.forum-hero p{max-width:720px;margin:0;color:#4f6680;font-size:20px;line-height:1.65}
.topic-detail-meta{min-height:22px;margin:12px 0 18px!important;color:#207a67!important;font-size:14px!important;font-weight:800;letter-spacing:.02em}
.new-topic-button{flex:0 0 auto;min-width:160px}
.forum-tools{display:flex;gap:14px;align-items:center;padding-top:30px;padding-bottom:16px}
.forum-search{min-height:52px;flex:1;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:0 16px}
.forum-search span{position:relative;width:16px;height:16px;flex:0 0 16px;border:2px solid var(--muted);border-radius:50%;font-size:0;color:var(--muted);transform:none}.forum-search span:after{content:"";position:absolute;width:7px;height:2px;right:-5px;bottom:-2px;border-radius:2px;background:var(--muted);transform:rotate(45deg)}
.forum-search input{width:100%;border:0;outline:0;background:transparent;font:inherit;color:var(--ink)}
.forum-tools select{min-height:52px;min-width:240px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:0 14px;color:var(--ink);font:inherit}
.forum-section{padding-top:42px}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:20px}
.section-kicker{margin:0 0 6px;text-transform:uppercase;letter-spacing:.13em;color:#167b70;font-size:12px;font-weight:900}
.section-heading h2,.ask-intro h2{margin:0;font-size:clamp(28px,4vw,42px);letter-spacing:-.035em}
.section-heading>a{color:var(--blue);font-weight:800;text-decoration:none;white-space:nowrap}
.category-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff}
.forum-category{min-height:116px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;border:0;border-bottom:1px solid var(--line);background:#fff;padding:22px;text-align:left;color:var(--ink);cursor:pointer}
.forum-category:nth-child(odd){border-right:1px solid var(--line)}
.forum-category:nth-last-child(-n+2){border-bottom:0}
.forum-category:hover,.forum-category.active{background:#f2f7ff}
.forum-category.active{box-shadow:inset 4px 0 var(--blue)}
.forum-category b{display:block;font-size:19px;line-height:1.3;margin-bottom:6px}
.forum-category small{display:block;color:#526a83;font-size:15px;line-height:1.55}
.category-mark{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;color:#fff;font-weight:900}
.mark-blue{background:#2869f0}.mark-green{background:#0caa53}.mark-violet{background:#7956d9}.mark-orange{background:#e07b20}.mark-red{background:#d94949}.mark-teal{background:#168b8b}
.category-total{min-width:34px;height:28px;display:grid;place-items:center;border-radius:999px;background:#edf2f8;color:var(--muted);font-size:13px;font-weight:900}
.topic-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}
.topic-tabs{display:flex;gap:3px}
.topic-tab{border:0;border-bottom:3px solid transparent;background:transparent;padding:13px 18px 11px;color:var(--muted);font:800 15px Arial,sans-serif;cursor:pointer}
.topic-tab:hover,.topic-tab.active{color:var(--blue);border-bottom-color:var(--blue)}
.topic-result-count{margin:0;color:var(--muted);font-size:14px}
.topic-table{overflow:hidden;border:1px solid var(--line);border-radius:0 0 16px 16px;background:#fff}
.topic-table-head,.forum-topic-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 90px 135px;align-items:center}
.topic-table-head{min-height:48px;background:#f2f5f8;color:#64768c;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.topic-table-head>span{padding:0 18px;text-align:center}
.topic-table-head>span:first-child{text-align:left}
.forum-topic-row{min-height:104px;border-top:1px solid var(--line);transition:background .18s}
.forum-topic-row:first-child{border-top:0}
.forum-topic-row:hover{background:#f9fbff}
.topic-main{min-width:0;display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;align-items:center;padding:18px}
.topic-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(135deg,var(--blue),var(--green));color:#fff;font-size:13px;font-weight:900}
.topic-copy{min-width:0}
.topic-title{display:-webkit-box;max-width:100%;overflow:hidden;color:#102a4a;font-size:18px;font-weight:800;line-height:1.4;text-decoration:none;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.topic-title:hover{color:var(--blue)}
.topic-subline{display:flex;align-items:center;gap:8px;min-width:0;margin-top:9px;color:#58708a;font-size:14px}
.topic-category{display:inline-block;max-width:210px;overflow:hidden;text-overflow:ellipsis;border-radius:999px;background:var(--mint);padding:4px 9px;color:#08713a;font-weight:800;white-space:nowrap}
.topic-board{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.topic-number,.topic-activity{padding:18px;text-align:center;color:#465e79;font-size:14px}
.topic-number b{display:block;color:var(--ink);font-size:16px}
.sr-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.topic-activity time{display:block;font-weight:800;color:var(--ink)}
.topic-activity small{color:var(--muted)}
.forum-empty{padding:48px 24px;text-align:center;color:var(--muted)}
.ask-panel{display:grid;grid-template-columns:.8fr 1.2fr;gap:42px;margin-top:58px;padding:38px;border:1px solid #c8daee;border-radius:22px;background:linear-gradient(135deg,#edf5ff,#effff3)}
.ask-intro p:not(.section-kicker),.ask-intro li{color:var(--muted);line-height:1.6}
.ask-intro ul{padding-left:20px}
.forum-topic-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:24px;border:1px solid var(--line);border-radius:17px;background:#fff}
.forum-topic-form .field textarea{min-height:150px}
.form-submit-row{display:flex;align-items:center;justify-content:space-between;gap:20px}
.form-submit-row .status{margin:0;color:#167044}

@media(max-width:900px){
  .forum-hero-inner{min-height:250px;align-items:flex-start;flex-direction:column;padding-top:42px;padding-bottom:42px}
  .forum-tools{align-items:stretch;flex-direction:column}.forum-tools select{width:100%;min-width:0}
  .category-directory{grid-template-columns:1fr}.forum-category,.forum-category:nth-child(odd){border-right:0;border-bottom:1px solid var(--line)}.forum-category:last-child{border-bottom:0}
  .topic-table-head,.forum-topic-row{grid-template-columns:minmax(0,1fr) 72px 110px}.topic-table-head>span:nth-child(3),.topic-number.views{display:none}
  .ask-panel{grid-template-columns:1fr}
}
@media(max-width:620px){
  .forum-hero h1{font-size:48px}.forum-hero p{font-size:17px}.new-topic-button{width:100%}
  .section-heading{align-items:flex-start;flex-direction:column}.category-directory{border-radius:13px}.forum-category{grid-template-columns:auto 1fr;padding:17px}.category-total{display:none}
  .topic-toolbar{align-items:flex-start;flex-direction:column}.topic-result-count{padding:0 4px 10px}
  .topic-table-head{display:none}.forum-topic-row{grid-template-columns:minmax(0,1fr);position:relative;padding-bottom:44px}.topic-main{padding:18px 16px}.topic-title{font-size:17px;line-height:1.45}.topic-subline{align-items:flex-start;flex-direction:column;gap:5px}.topic-board{white-space:normal}.topic-number.replies{position:absolute;left:74px;bottom:13px;padding:0;font-size:13px}.topic-number.replies b{display:inline;font-size:13px}.topic-number.replies b::after{content:' replies'}.topic-activity{position:absolute;right:16px;bottom:13px;padding:0;font-size:13px}.topic-activity time{display:inline}.topic-activity small{display:none}
  .ask-panel{padding:22px}.forum-topic-form{grid-template-columns:1fr;padding:18px}.forum-topic-form .field.full{grid-column:auto}.form-submit-row{align-items:stretch;flex-direction:column-reverse}.form-submit-row .button{width:100%}
}
