/*
Theme Name: The Hidden Circle
Theme URI: https://thehiddencircle.ravenastrid.com
Author: Raven Astrid
Description: Private Raven Astrid Collector Edition membership forum theme with manual approval workflow.
Version: 1.0.31
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: the-hidden-circle
*/
:root {
  --bg: #080606;
  --surface: #14100e;
  --surface-2: #201713;
  --surface-3: #242729;
  --gold: #c9a45c;
  --gold-strong: #f4d887;
  --red: #7a1a20;
  --red-strong: #a5312a;
  --ember: #d76b38;
  --green: #6f8b73;
  --text: #f8f1e4;
  --muted: #c9b8a4;
  --border: rgba(201, 164, 92, 0.36);
  --soft-border: rgba(201, 164, 92, 0.18);
  --shadow: rgba(0, 0, 0, 0.36);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(30, 17, 14, 0.96), rgba(8, 6, 6, 0.98) 48rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }
input, select, textarea, button { font: inherit; }

.hc-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid var(--soft-border);
  background: rgba(8, 6, 6, 0.82);
  backdrop-filter: blur(18px);
}

.hc-nav-in {
  max-width: 1180px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
}

.hc-brand {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold-strong);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hc-links {
  display: flex;
  gap: 22px;
  color: #f3e6d3;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hc-main { min-height: 100vh; }

.hc-hero {
  position: relative;
  min-height: 90vh;
  padding: 124px 18px 74px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #150d0a;
}

.hc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("hidden-circle-hero.png") center right / cover no-repeat;
  filter: brightness(1.48) contrast(1.08) saturate(1.18);
  transform: scale(1.01);
}

.hc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 6, 6, 0.78) 0%, rgba(8, 6, 6, 0.44) 42%, rgba(8, 6, 6, 0.08) 74%, rgba(8, 6, 6, 0.02) 100%),
    linear-gradient(180deg, rgba(8, 6, 6, 0.02) 0%, rgba(8, 6, 6, 0.18) 58%, rgba(8, 6, 6, 0.78) 100%);
}

.hc-wrap {
  width: 100%;
  max-width: 1180px;
  margin: auto;
  position: relative;
}

.hc-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 34px;
}

.hc-hero-copy { max-width: 770px; }

.hc-eyebrow,
.hc-topic-meta {
  color: var(--gold-strong);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 900;
}

.hc-title {
  color: #fff1d6;
  font-family: Georgia, "Times New Roman", serif;
  text-transform: uppercase;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.94;
  margin: 18px 0 22px;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.86), 0 0 26px rgba(201, 164, 92, 0.26);
}

.hc-h1 {
  color: #fff1d6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  margin: 12px 0 18px;
}

.hc-h2 {
  color: #fff1d6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
  margin: 10px 0 18px;
}

.hc-copy,
.hc-hero-line {
  color: #f3e4ca;
  font-size: 18px;
  line-height: 1.78;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.62);
}

.hc-hero-line {
  color: #fff4dd;
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 800;
  margin: 0 0 12px;
}

.hc-muted { color: var(--muted); }

.hc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 12px 18px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(201, 164, 92, 0.52);
  color: #fff4de;
  background: rgba(10, 8, 7, 0.46);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.hc-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(244, 216, 135, 0.9);
  background: rgba(34, 25, 18, 0.72);
}

.hc-btn-primary {
  border: 0;
  background: linear-gradient(135deg, #f6db86, #b07b31);
  color: #080604;
}

.hc-btn-red {
  border: 0;
  background: linear-gradient(135deg, var(--red-strong), #5a1116);
  color: #fff5ec;
}

.hc-hero-panel,
.hc-stat,
.hc-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 24px 70px var(--shadow);
}

.hc-hero-panel {
  background: rgba(15, 10, 9, 0.66);
  backdrop-filter: blur(18px);
  padding: 22px;
}

.hc-hero-panel span,
.hc-stat span {
  display: block;
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hc-hero-panel strong {
  display: block;
  margin: 10px 0;
  color: #fff1d6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.12;
}

.hc-hero-panel p { color: var(--muted); line-height: 1.6; margin: 0; }

.hc-section {
  padding: 76px 18px;
  border-top: 1px solid var(--soft-border);
  background:
    radial-gradient(circle at 85% 0%, rgba(122, 26, 32, 0.16), transparent 30rem),
    linear-gradient(180deg, rgba(25, 17, 14, 0.92), rgba(9, 7, 6, 0.98));
}

.hc-section:nth-of-type(even) {
  background:
    radial-gradient(circle at 10% 20%, rgba(111, 139, 115, 0.08), transparent 26rem),
    linear-gradient(180deg, rgba(32, 22, 18, 0.9), rgba(10, 8, 7, 0.98));
}

.hc-grid,
.hc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hc-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.hc-stack {
  display: grid;
  gap: 16px;
}

.hc-card {
  background: linear-gradient(180deg, rgba(33, 24, 20, 0.96), rgba(14, 10, 9, 0.98));
  padding: 24px;
}

.hc-card h2,
.hc-card h3 {
  color: #fff1d6;
  font-family: Georgia, "Times New Roman", serif;
  margin: 0 0 12px;
}

.hc-card p,
.hc-card li {
  color: var(--muted);
  line-height: 1.7;
}

.hc-card ul,
.hc-card ol {
  padding-left: 20px;
}

.hc-seal {
  display: inline-flex;
  height: 42px;
  width: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 164, 92, 0.5);
  border-radius: 8px;
  color: var(--gold-strong);
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 14px;
}

.hc-stat {
  background: linear-gradient(180deg, rgba(31, 23, 19, 0.94), rgba(12, 9, 8, 0.96));
  padding: 22px;
}

.hc-stat strong {
  display: block;
  margin-top: 8px;
  color: #fff1d6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1;
}

.hc-stat p { color: var(--muted); margin-bottom: 0; }

.hc-form {
  display: grid;
  gap: 16px;
}

.hc-form-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.hc-field {
  display: grid;
  gap: 7px;
  color: #fff1d6;
  font-size: 14px;
  font-weight: 800;
}

.hc-field input,
.hc-field select,
.hc-field textarea,
.hc-inline-form select {
  width: 100%;
  border: 1px solid rgba(201, 164, 92, 0.36);
  background: rgba(8, 6, 5, 0.72);
  color: var(--text);
  border-radius: 8px;
  padding: 14px;
  outline: 0;
}

.hc-field textarea { min-height: 140px; resize: vertical; }
.hc-span-2 { grid-column: 1 / -1; }

.hc-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #f4e8d4;
  line-height: 1.5;
}

.hc-check input { margin-top: 4px; }

.hc-page {
  padding: 130px 18px 70px;
  background:
    linear-gradient(180deg, rgba(8, 6, 6, 0.76), rgba(12, 8, 7, 0.96)),
    url("hidden-circle-hero.png") center right / cover no-repeat;
}

.hc-center {
  text-align: center;
  max-width: 820px;
  margin: auto;
}

.hc-narrow { max-width: 720px; }

.hc-private {
  display: grid;
  grid-template-columns: 286px 1fr;
  min-height: 100vh;
  background:
    radial-gradient(circle at 85% 6%, rgba(122, 26, 32, 0.15), transparent 28rem),
    var(--bg);
}

.hc-side {
  border-right: 1px solid var(--soft-border);
  background: linear-gradient(180deg, #100c0a, #080606);
  padding: 28px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.hc-side .hc-eyebrow { margin-top: 14px; }

.hc-side nav {
  display: grid;
  gap: 5px;
  margin-top: 22px;
}

.hc-side a {
  display: block;
  border-radius: 8px;
  padding: 11px 12px;
  color: #f0dfc7;
}

.hc-side a:hover {
  background: #19110f;
  color: var(--gold-strong);
}

.hc-content { padding: 34px 24px; }

.hc-welcome {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--soft-border);
  margin-bottom: 30px;
}

.hc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 960px;
}

.hc-table th {
  color: var(--gold-strong);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  text-align: left;
}

.hc-table td,
.hc-table th {
  padding: 14px;
  border-bottom: 1px solid var(--soft-border);
  color: #f0dfc7;
  vertical-align: top;
}

.hc-overflow { overflow-x: auto; }

.hc-note,
.hc-alert {
  margin-bottom: 18px;
  border-left: 3px solid var(--gold);
}

.hc-alert {
  border-color: rgba(215, 107, 56, 0.7);
  color: #ffe7d2;
}

.hc-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 8px;
  padding: 5px 9px;
  border: 1px solid var(--soft-border);
  color: #fff1d6;
  font-size: 12px;
  font-weight: 800;
}

.hc-badge-approved { border-color: rgba(111, 139, 115, 0.78); color: #dff0df; }
.hc-badge-rejected, .hc-badge-closed { border-color: rgba(165, 49, 42, 0.78); color: #ffd8d2; }
.hc-badge-pending, .hc-badge-open { border-color: rgba(201, 164, 92, 0.7); color: #ffe7ae; }

.hc-room,
.hc-topic-row {
  display: block;
}

.hc-topic-row h3 { font-size: 24px; }

.hc-topic-main,
.hc-reply,
.hc-reply-form,
.hc-poll-box {
  margin-top: 16px;
}

.hc-replies {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.hc-topic-body p:last-child,
.hc-reply p:last-child,
.hc-note p:last-child,
.hc-alert p:last-child { margin-bottom: 0; }

.hc-results {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.hc-result-row {
  display: grid;
  gap: 8px;
}

.hc-result-row > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #f8ead1;
}

.hc-result-row span { color: var(--muted); }

.hc-meter {
  height: 9px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.hc-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-strong), var(--ember));
}

.hc-inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hc-inline-form select { width: auto; min-width: 150px; }

.hc-feature {
  max-width: 760px;
}

.hc-forum-intro {
  margin-bottom: 20px;
}

.hc-guidelines ul {
  margin-bottom: 0;
}

.hc-status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.hc-detail-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.hc-detail-list div {
  display: grid;
  grid-template-columns: minmax(130px, 0.42fr) 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--soft-border);
}

.hc-detail-list dt {
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hc-detail-list dd {
  margin: 0;
  color: #fff2dc;
  overflow-wrap: anywhere;
}

.hc-email-actions {
  align-items: stretch;
  margin-top: 18px;
}

.hc-email-actions form {
  display: flex;
}

.hc-email-actions .hc-btn {
  width: 100%;
}

.hc-attachments {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--soft-border);
}

.hc-attachment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.hc-attachment {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 146px;
  border: 1px solid var(--soft-border);
  border-radius: 8px;
  background: rgba(8, 6, 5, 0.48);
  padding: 10px;
  color: #fff1d6;
}

.hc-attachment img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(201, 164, 92, 0.22);
}

.hc-attachment strong {
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.hc-attachment.is-missing {
  cursor: default;
  color: #d7dadc;
}

.hc-attachment.is-missing:hover {
  border-color: var(--soft-border);
  background: rgba(8, 6, 5, 0.48);
}

.hc-attachment em {
  color: #d8ab48;
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.hc-file-icon {
  display: grid;
  place-items: center;
  min-height: 92px;
  border-radius: 6px;
  border: 1px dashed rgba(244, 216, 135, 0.42);
  color: var(--gold-strong);
  font-weight: 900;
}

.hc-file-missing {
  border-color: rgba(165, 49, 42, 0.7);
  color: #ffd8d2;
}

.hc-upload-note {
  margin-top: 12px;
}

.hc-report {
  margin-top: 14px;
  color: var(--muted);
}

.hc-report summary {
  cursor: pointer;
  color: var(--gold-strong);
  font-weight: 800;
}

.hc-report form {
  max-width: 460px;
  margin-top: 12px;
}

.hc-moderation-bar,
.hc-notification.is-unread {
  border-color: rgba(244, 216, 135, 0.62);
}

.hc-moderation-actions {
  margin-top: 12px;
}

.hc-moderation-note,
.hc-search-form .hc-field {
  flex: 1 1 220px;
}

.hc-moderation-note textarea {
  min-height: 72px;
}

.hc-moderation-timeline {
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--soft-border);
  border-radius: 8px;
  background: rgba(8, 6, 5, 0.34);
}

.hc-search-form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hc-search-form .hc-btn {
  flex: 0 0 auto;
}

.hc-topic-list {
  display: grid;
  gap: 14px;
}

.hc-support-reply {
  flex: 1 1 100%;
}

.hc-support-reply textarea {
  min-height: 92px;
}

.hc-footer {
  border-top: 1px solid var(--soft-border);
  background: #090706;
  color: var(--muted);
  padding: 34px 18px;
  text-align: center;
}

body.hidden-circle-body #chatbot-float-box,
body.hidden-circle-body .chatbot-overwrite,
body.hidden-circle-body .kodee-fab {
  display: none !important;
}

/* Reddit-style member forum */
.hc-private {
  grid-template-columns: 246px minmax(0, 1fr);
  background:
    linear-gradient(180deg, #111112, #0b0b0c 42rem),
    #0b0b0c;
}

.hc-side {
  background: #111113;
  border-right: 1px solid #2a2a2d;
  padding: 22px 14px;
}

.hc-side .hc-brand {
  display: block;
  padding: 10px 10px 14px;
}

.hc-side .hc-eyebrow {
  color: #c8ccd2;
  padding: 0 10px;
}

.hc-side a {
  border: 1px solid transparent;
  border-radius: 6px;
  color: #d7dadc;
  padding: 10px;
}

.hc-side a:hover {
  background: #1a1a1b;
  border-color: #343536;
  color: #f2c66d;
}

.hc-content {
  padding: 22px;
}

.hc-wrap {
  max-width: 1320px;
}

.hc-welcome {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #2a2a2d;
}

.hc-feed-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}

.hc-feed-head .hc-h1 {
  margin-bottom: 8px;
  font-size: 52px;
}

.hc-feed-head .hc-copy {
  max-width: 820px;
  color: #cfd3d7;
}

.hc-reddit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.hc-feed {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.hc-sort-tabs {
  display: flex;
  gap: 6px;
  align-items: center;
  border: 1px solid #343536;
  border-radius: 6px;
  background: #1a1a1b;
  padding: 8px;
  overflow-x: auto;
}

.hc-sort-tabs a {
  min-height: 34px;
  border-radius: 6px;
  padding: 8px 13px;
  color: #c8ccd2;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hc-sort-tabs a:hover,
.hc-sort-tabs a.is-active {
  background: #272729;
  color: #f2c66d;
}

.hc-feed-post {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  min-height: 118px;
  border: 1px solid #343536;
  border-radius: 6px;
  background: #1a1a1b;
  color: #d7dadc;
  overflow: hidden;
}

.hc-feed-post:hover {
  border-color: #7c6a43;
  background: #202022;
}

.hc-vote-rail,
.hc-thread-vote {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 3px;
  padding: 14px 8px;
  background: #151516;
  color: #aeb4ba;
}

.hc-vote-rail b,
.hc-thread-vote b {
  color: #f2c66d;
  font-size: 21px;
  line-height: 1;
}

.hc-vote-rail strong,
.hc-thread-vote strong {
  color: #f4f1e9;
  font-size: 16px;
}

.hc-vote-rail small,
.hc-thread-vote small {
  color: #8e949b;
  font-size: 10px;
  text-transform: uppercase;
}

.hc-feed-body {
  display: grid;
  gap: 8px;
  padding: 14px 16px 13px;
  min-width: 0;
}

.hc-post-meta {
  color: #9ba0a6;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.hc-post-title {
  color: #f4f1e9;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
}

.hc-post-excerpt {
  color: #cfd3d7;
  line-height: 1.55;
}

.hc-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #aeb4ba;
  font-size: 12px;
}

.hc-post-actions b {
  border-radius: 6px;
  background: #272729;
  padding: 5px 8px;
}

.hc-community-sidebar {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 18px;
}

.hc-subreddit-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.hc-side-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.hc-side-stats span {
  display: grid;
  gap: 2px;
  border: 1px solid #343536;
  border-radius: 6px;
  background: #111113;
  padding: 10px;
  color: #aeb4ba;
  font-size: 11px;
}

.hc-side-stats strong {
  color: #f4f1e9;
  font-size: 18px;
}

.hc-room-list {
  display: grid;
  gap: 6px;
}

.hc-room-list a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  border-radius: 6px;
  padding: 8px;
  color: #d7dadc;
}

.hc-room-list a:hover,
.hc-room-list a.is-active {
  background: #272729;
  color: #f2c66d;
}

.hc-room-list span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #594823;
  border-radius: 50%;
  background: #151516;
  color: #f2c66d;
  font-size: 11px;
  font-weight: 900;
}

.hc-room-list strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hc-room-list em {
  color: #8e949b;
  font-size: 11px;
  font-style: normal;
}

.hc-thread-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  padding: 0;
  overflow: hidden;
}

.hc-thread-body {
  padding: 18px;
  min-width: 0;
}

.hc-thread-body .hc-topic-body {
  color: #d7dadc;
  font-size: 16px;
  line-height: 1.7;
}

.hc-create-post textarea {
  min-height: 152px;
}

.hc-search-form {
  background: #1a1a1b;
  border-color: #343536;
}

.hc-search-form input,
.hc-search-form select {
  background: #0f0f10;
}

@media (max-width: 980px) {
  .hc-links { display: none; }
  .hc-grid,
  .hc-grid-2,
  .hc-form-2,
  .hc-stats,
  .hc-hero-layout,
  .hc-reddit-layout,
  .hc-private { grid-template-columns: 1fr; }
  .hc-hero-panel { max-width: 420px; }
  .hc-side {
    position: relative;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--soft-border);
  }
  .hc-side nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hc-community-sidebar { position: relative; top: auto; }
  .hc-feed-head { align-items: start; }
  .hc-content { padding: 28px 18px; }
}

@media (max-width: 640px) {
  html,
  body {
    overflow-x: hidden;
  }
  .hc-nav-in { gap: 12px; }
  .hc-nav .hc-btn-primary { display: none; }
  .hc-brand { font-size: 14px; }
  .hc-hero { min-height: 88vh; padding: 106px 18px 56px; }
  .hc-hero::before {
    background-position: 62% center;
    filter: brightness(1.42) contrast(1.08) saturate(1.12);
  }
  .hc-hero::after {
    background:
      linear-gradient(180deg, rgba(8, 6, 6, 0.5) 0%, rgba(8, 6, 6, 0.52) 42%, rgba(8, 6, 6, 0.84) 100%),
      linear-gradient(90deg, rgba(8, 6, 6, 0.72), rgba(8, 6, 6, 0.1));
  }
  .hc-title { font-size: clamp(42px, 16vw, 72px); }
  .hc-copy { font-size: 16px; }
  .hc-section { padding: 56px 16px; }
  .hc-page { padding: 112px 16px 56px; }
  .hc-card { padding: 20px; }
  .hc-private,
  .hc-content,
  .hc-wrap,
  .hc-side,
  .hc-side .hc-brand,
  .hc-side .hc-eyebrow,
  .hc-side nav,
  .hc-feed,
  .hc-community-sidebar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .hc-private {
    display: block;
  }
  .hc-side {
    overflow: hidden;
  }
  .hc-content {
    padding: 22px 14px;
    overflow-x: hidden;
  }
  .hc-side nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .hc-side nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .hc-feed-head { display: grid; }
  .hc-feed-head .hc-h1,
  .hc-h1 {
    font-size: 30px;
    line-height: 1.1;
    overflow-wrap: anywhere;
  }
  .hc-feed-head .hc-btn {
    justify-self: start;
    width: auto;
  }
  .hc-copy,
  .hc-post-excerpt,
  .hc-topic-body {
    overflow-wrap: anywhere;
  }
  .hc-search-form {
    display: grid;
    align-items: stretch;
  }
  .hc-search-form .hc-field,
  .hc-search-form .hc-btn,
  .hc-search-form input,
  .hc-search-form select {
    width: 100%;
    min-width: 0;
  }
  .hc-sort-tabs {
    max-width: 100%;
  }
  .hc-feed-post { grid-template-columns: 44px minmax(0, 1fr); }
  .hc-feed-body { padding: 12px; }
  .hc-post-title { font-size: 18px; }
  .hc-thread-card { grid-template-columns: 44px minmax(0, 1fr); padding: 0; }
  .hc-thread-body { padding: 14px; }
  .hc-side-stats { grid-template-columns: 1fr; }
  .hc-detail-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .hc-actions .hc-btn,
  .hc-form .hc-btn { width: 100%; }
}
