:root {
  --fgf-bg: #f7f3ec;
  --fgf-card: #ffffff;
  --fgf-text: #1b2a3a;
  --fgf-muted: #5d6875;
  --fgf-primary: #006d77;
  --fgf-secondary: #d17a22;
  --fgf-border: #d7dfe5;
  --fgf-private: #315c9e;
  --fgf-hidden: #6f2d5c;
  --fgf-success: #1f7a3f;
  --fgf-danger: #a6202f;
}

.fgf-board-wrapper {
  background: radial-gradient(circle at 0 0, #fff7ea 0%, var(--fgf-bg) 50%);
  border: 1px solid var(--fgf-border);
  border-radius: 16px;
  padding: 22px;
  color: var(--fgf-text);
}

.fgf-notice {
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #bde3c8;
  background: #ebfff1;
  color: var(--fgf-success);
  font-weight: 600;
}

.fgf-board-header,
.fgf-forum-header,
.fgf-notifications-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.fgf-forums.fgf-layout-grid,
.fgf-subforums-list.fgf-layout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.fgf-forums.fgf-layout-list,
.fgf-subforums-list.fgf-layout-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fgf-forum-card,
.fgf-topic-row,
.fgf-topic-single,
.fgf-reply,
.fgf-form-box,
.fgf-moderation-box,
.fgf-notifications {
  background: var(--fgf-card);
  border: 1px solid var(--fgf-border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(30, 40, 55, 0.05);
}

.fgf-forum-card.depth-0 {
  border-left: 6px solid var(--fgf-primary);
}

.fgf-forum-card.depth-1,
.fgf-forum-card.depth-2,
.fgf-forum-card.depth-3 {
  border-left: 4px solid #7aa9ad;
}

.fgf-forum-card h3,
.fgf-topic-row h3,
.fgf-topic-single h2,
.fgf-replies h3,
.fgf-form-box h3,
.fgf-moderation-box h3 {
  margin: 0 0 8px;
  line-height: 1.3;
}

.fgf-forum-card a,
.fgf-topic-row a,
.fgf-topic-single a,
.fgf-user-card a,
.fgf-notification-item a {
  color: var(--fgf-primary);
  text-decoration: none;
}

.fgf-forum-card a:hover,
.fgf-topic-row a:hover,
.fgf-topic-single a:hover,
.fgf-user-card a:hover,
.fgf-notification-item a:hover {
  text-decoration: underline;
}

.fgf-forum-card-head,
.fgf-topic-meta,
.fgf-topic-actions,
.fgf-reply-actions,
.fgf-forum-meta,
.fgf-inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.fgf-forum-meta,
.fgf-topic-meta,
.fgf-taxonomy,
.fgf-notification-time,
.fgf-user-card span,
.fgf-author-inline {
  color: var(--fgf-muted);
  font-size: 13px;
}

.fgf-topic-row {
  margin: 0 0 10px;
}

.fgf-topic-open-link {
  margin-top: 8px;
}

.fgf-topic-main {
  width: 100%;
}

.fgf-topic-content,
.fgf-reply-content {
  line-height: 1.6;
  margin: 10px 0;
}

.fgf-topic-content blockquote,
.fgf-reply-content blockquote {
  margin: 10px 0;
  border-left: 4px solid var(--fgf-secondary);
  padding: 8px 12px;
  background: #fff8ef;
}

.fgf-subforums {
  margin-top: 10px;
}

.fgf-replies-level {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.fgf-depth-1 {
  margin-left: 22px;
}

.fgf-depth-2 {
  margin-left: 44px;
}

.fgf-depth-3,
.fgf-depth-4,
.fgf-depth-5,
.fgf-depth-6 {
  margin-left: 60px;
}

.fgf-user-card {
  display: flex;
  align-items: center;
  gap: 9px;
}

.fgf-user-details {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.fgf-avatar img {
  border-radius: 999px;
}

.fgf-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  padding: 5px 8px;
  border: 1px solid transparent;
  font-weight: 700;
}

.fgf-visibility-public {
  background: #ebfffb;
  color: #00595a;
  border-color: #90d8d5;
}

.fgf-visibility-private {
  background: #edf4ff;
  color: var(--fgf-private);
  border-color: #b6c9f0;
}

.fgf-visibility-hidden {
  background: #f6eef5;
  color: var(--fgf-hidden);
  border-color: #d3b5ca;
}

.fgf-topic-sticky {
  background: #fff4de;
  color: #8a4e00;
  border-color: #f1cb94;
}

.fgf-topic-locked {
  background: #ffeef0;
  color: var(--fgf-danger);
  border-color: #f2b6bd;
}

.fgf-inline-form input[type="text"],
.fgf-inline-form input[type="number"],
.fgf-inline-form textarea,
.fgf-inline-form select,
.fgf-form-box input[type="text"],
.fgf-form-box input[type="number"],
.fgf-form-box textarea,
.fgf-form-box input[type="file"],
.fgf-form-box select,
.fgf-forum-header input[type="text"],
.fgf-board-header input[type="text"] {
  max-width: 100%;
  min-height: 40px;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--fgf-border);
  color: var(--fgf-text);
  background: #fff;
}

.fgf-form-box input[type="hidden"],
.fgf-inline-form input[type="hidden"],
.fgf-invite-form input[type="hidden"] {
  display: none !important;
}

.fgf-btn {
  border: 1px solid var(--fgf-primary);
  background: #fff;
  color: var(--fgf-primary);
  border-radius: 9px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.fgf-btn:hover {
  background: var(--fgf-primary);
  color: #fff;
}

.fgf-btn-primary {
  background: var(--fgf-primary);
  color: #fff;
}

.fgf-btn-primary:hover {
  filter: brightness(1.08);
}

.fgf-moderation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}

.fgf-mod-inline-form {
  margin-top: 8px;
}

.fgf-topic-media img {
  border-radius: 10px;
  height: auto;
  max-width: 100%;
}

.fgf-breadcrumbs {
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
}

.fgf-pagination {
  margin: 15px 0 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.fgf-page-link {
  border: 1px solid var(--fgf-border);
  background: #fff;
  color: var(--fgf-primary);
  text-decoration: none;
  border-radius: 8px;
  padding: 6px 10px;
}

.fgf-page-link.is-active {
  border-color: var(--fgf-primary);
  background: var(--fgf-primary);
  color: #fff;
}

.fgf-notification-items {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fgf-notification-item {
  border: 1px solid var(--fgf-border);
  border-radius: 10px;
  padding: 9px;
}

.fgf-notification-item.is-unread {
  border-left: 4px solid var(--fgf-secondary);
  background: #fff8ef;
}

.fgf-notification-item.is-read {
  opacity: 0.8;
}

.fgf-unread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--fgf-secondary);
  color: #fff;
  font-size: 12px;
  margin-left: 6px;
}

.fgf-empty,
.fgf-auth-required {
  border: 1px dashed #c1ccd7;
  border-radius: 12px;
  padding: 12px;
  color: var(--fgf-muted);
  background: #fdfefe;
}

.fgf-reply-target {
  margin: 0 0 10px;
  padding: 10px;
  border: 1px solid #f1cb94;
  border-radius: 10px;
  background: #fff8ef;
  color: #8a4e00;
  font-size: 14px;
}

.fgf-board-wrapper.fgf-fullscreen {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 30px 30px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #f6f6f6 0%, #ececec 100%);
}

.fgf-board-wrapper.fgf-fullscreen .fgf-notice {
  margin-top: 18px;
}

.fgf-groups-toolbar {
  margin-bottom: 20px;
  padding: 0 6px;
}

.fgf-groups-toolbar h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
}

.fgf-groups-toolbar .fgf-board-filters {
  gap: 10px;
}

.fgf-groups-toolbar .fgf-board-filters input[type="text"] {
  min-width: min(360px, 100%);
  border-radius: 999px;
}

.fgf-groups-toolbar .fgf-btn {
  border-radius: 999px;
  border-color: #cb7a31;
  background: #cb7a31;
  color: #fff;
  min-width: 130px;
}

.fgf-board-wrapper.fgf-fullscreen .fgf-forums {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fgf-board-wrapper.fgf-fullscreen .fgf-forum-card.fgf-group-card {
  padding: 0;
  border-radius: 4px;
  border: 1px solid #d4d4d4;
  box-shadow: 0 2px 9px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.fgf-group-media {
  min-height: 290px;
  background: linear-gradient(140deg, #29303a, #4f5f8f);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.fgf-group-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 19, 26, 0.15) 30%, rgba(8, 10, 12, 0.82) 100%);
}

.fgf-group-media-head {
  position: relative;
  z-index: 1;
  padding: 18px;
  width: 100%;
}

.fgf-group-parent {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 99px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 8px;
  margin: 0 0 8px;
}

.fgf-group-card h3 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.fgf-group-card h3 a {
  color: #fff;
}

.fgf-group-card h3 a:hover {
  text-decoration: none;
}

.fgf-group-type {
  display: inline-flex;
}

.fgf-group-type .fgf-badge {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}

.fgf-group-author-avatar {
  position: absolute;
  right: 14px;
  bottom: 10px;
  z-index: 2;
}

.fgf-group-author-avatar img {
  border-radius: 999px;
  border: 4px solid #ececec;
  width: 58px;
  height: 58px;
}

.fgf-group-content {
  background: #ececec;
  border-top: 1px solid #d9d9d9;
}

.fgf-group-owner {
  padding: 14px 16px 10px;
}

.fgf-group-owner-label {
  font-size: 12px;
  color: #7a7a7a;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.fgf-group-owner-name {
  font-size: 14px;
  color: #2f2f2f;
  font-weight: 700;
}

.fgf-group-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #d5d5d5;
  border-bottom: 1px solid #d5d5d5;
}

.fgf-group-stat {
  text-align: center;
  padding: 11px 8px 10px;
}

.fgf-group-stat + .fgf-group-stat {
  border-left: 1px solid #d5d5d5;
}

.fgf-stat-value {
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  color: #2f2f2f;
}

.fgf-stat-label {
  margin-top: 6px;
  color: #7a7a7a;
  font-size: 12px;
  text-transform: uppercase;
}

.fgf-group-last-activity {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #747474;
  font-size: 13px;
  padding: 10px 16px 0;
}

.fgf-group-last-activity .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
}

.fgf-group-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 10px 16px 18px;
}

.fgf-group-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid #cb7a31;
  background: #cb7a31;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.fgf-group-cta:hover {
  filter: brightness(1.07);
  text-decoration: none;
  transform: translateY(-1px);
}

.fgf-group-cta.is-member {
  border-color: #33691e;
  background: #33691e;
}

.fgf-group-leave {
  margin-top: 25px;
  align-self: center;
  border: 0;
  background: transparent;
  color: #5c5c5c;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-size: 13px;
}

.fgf-group-leave:hover {
  color: #222;
}

.fgf-group-description {
  border-top: 1px solid #d9d9d9;
  background: #f4f4f4;
  padding: 11px 16px 14px;
  color: #6c6c6c;
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  max-height: calc(1.45em * 5);
}

.fgf-board-wrapper.fgf-forum-view-v2 {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border: 0;
  border-radius: 0;
  padding: 22px 22px 34px;
  background: #ececec;
}

.fgf-board-wrapper.fgf-forum-view-v2 .fgf-reply-target {
  display: none !important;
}

.fgf-forum-v2-shell {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: 22px;
  align-items: start;
}

.fgf-forum-v2-main,
.fgf-forum-v2-side {
  min-width: 0;
}

.fgf-forum-hero {
  position: relative;
  min-height: 300px;
  border: 1px solid #dddddd;
  background: linear-gradient(160deg, #39424a, #667788);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.fgf-forum-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 20, 25, 0.25) 26%, rgba(9, 11, 13, 0.84) 100%);
}

.fgf-forum-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
}

.fgf-forum-hero-type {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  font-size: 12px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.15);
}

.fgf-forum-hero-content h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.05;
}

.fgf-forum-hero-stats {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.fgf-dot-sep {
  opacity: 0.7;
}

.fgf-forum-tabs-card {
  margin-top: 16px;
  background: #fff;
  border: 1px solid #dddddd;
}

.fgf-forum-tabs-nav {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #e8e8e8;
  overflow-x: auto;
}

.fgf-forum-tab-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 16px;
  text-decoration: none;
  color: #54606c;
  font-weight: 700;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.fgf-forum-tab-link.is-active {
  color: #cb7a31;
  border-bottom-color: #cb7a31;
  background: #fff9f2;
}

.fgf-forum-tab-panel {
  display: none;
  padding: 18px;
}

.fgf-forum-tab-panel.is-active {
  display: block;
}

.fgf-forum-messages-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.fgf-forum-message-item {
  border: 1px solid #e6e6e6;
  background: #fafafa;
  padding: 12px;
}

.fgf-forum-message-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fgf-forum-message-avatar img {
  border-radius: 999px;
}

.fgf-forum-message-head strong a {
  color: #2f3a46;
  text-decoration: none;
}

.fgf-forum-message-time {
  margin-top: 2px;
  color: #8a939d;
  font-size: 12px;
}

.fgf-forum-message-content {
  margin-top: 8px;
  color: #4a5460;
  line-height: 1.65;
}

.fgf-forum-message-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fgf-forum-message-actions .fgf-btn {
  border: 0;
  background: transparent;
  color: #006d77;
  border-radius: 0;
  padding: 0;
  min-height: 0;
  font-weight: 700;
}

.fgf-forum-message-actions .fgf-btn:hover {
  background: transparent;
  color: #004f56;
  text-decoration: underline;
}

.fgf-forum-message-actions-sep {
  color: #9aa3ad;
}

.fgf-forum-message-form-wrap {
  margin-top: 16px;
  border-radius: 0;
  box-shadow: none;
}

.fgf-forum-message-form-wrap .fgf-btn-primary {
  background: #cb7a31;
  border-color: #cb7a31;
}

.fgf-forum-members-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fgf-forum-member-card {
  border: 1px solid #e5e5e5;
  background: #fafafa;
  padding: 12px 8px;
  text-align: center;
  text-decoration: none;
  color: #2f3a46;
}

.fgf-forum-member-avatar img {
  border-radius: 999px;
  width: 68px;
  height: 68px;
  border: 3px solid #e8ebf0;
}

.fgf-forum-member-name {
  display: block;
  margin-top: 9px;
  font-weight: 700;
  line-height: 1.3;
}

.fgf-forum-v2-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fgf-forum-side-card {
  background: #fff;
  border: 1px solid #dddddd;
  padding: 14px;
}

.fgf-forum-side-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.1;
  color: #002c6a;
  font-weight: 700;
}

.fgf-side-members-list,
.fgf-side-topic-list {
  margin: 0;
  padding: 0 !important;
  list-style: none !important;
  margin-left: 0 !important;
}

.fgf-side-members-list li,
.fgf-side-topic-list li {
  list-style: none !important;
}

.fgf-side-members-list li::marker,
.fgf-side-topic-list li::marker {
  content: "";
}

.fgf-side-members-list li::before,
.fgf-side-topic-list li::before {
  content: none !important;
  display: none !important;
}

.fgf-side-members-list li + li,
.fgf-side-topic-list li + li {
  border-top: 1px solid #efefef;
}

.fgf-side-members-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  text-decoration: none;
  color: #2f3a46;
}

.fgf-side-member-avatar img {
  border-radius: 999px;
}

.fgf-side-member-name {
  font-weight: 700;
  line-height: 1.2;
}

.fgf-side-topic-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: #2f3a46;
  padding: 10px 0;
}

.fgf-side-topic-list a:hover {
  color: #cb7a31;
}

.fgf-invite-form .fgf-btn-primary {
  width: 100%;
}

.fgf-invite-form input[type="text"],
.fgf-invite-form input[type="email"],
.fgf-invite-form textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d6dce4;
  border-radius: 0;
  padding: 8px 10px;
  background: #fff;
  color: #1b2a3a;
}

.fgf-invite-form textarea {
  min-height: 90px;
  resize: vertical;
}

.fgf-board-wrapper.fgf-topic-view {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border: 0;
  border-radius: 0;
  padding: 28px 24px 42px;
  background: #ececec;
}

.fgf-topic-view .fgf-breadcrumbs {
  max-width: 1260px;
  margin: 0 auto 14px;
  color: #6f7682;
}

.fgf-topic-layout-shell {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 270px;
  gap: 24px;
  align-items: start;
}

.fgf-topic-column-left,
.fgf-topic-column-right,
.fgf-topic-column-main {
  min-width: 0;
}

.fgf-topic-author-card,
.fgf-topic-widget {
  background: #fff;
  border: 1px solid #dddddd;
  border-radius: 0;
  box-shadow: none;
}

.fgf-topic-author-card {
  text-align: center;
  overflow: hidden;
}

.fgf-topic-author-avatar {
  padding-top: 24px;
}

.fgf-topic-author-avatar img {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  border: 4px solid #e8ebf0;
}

.fgf-topic-author-name {
  margin-top: 12px;
  font-size: 31px;
  line-height: 1.05;
  font-weight: 700;
  color: #2f3a46;
}

.fgf-topic-author-username {
  margin-top: 7px;
  margin-bottom: 14px;
  color: #7a838c;
  font-size: 13px;
}

.fgf-topic-author-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #e4e4e4;
}

.fgf-topic-author-stat {
  padding: 16px 8px 14px;
}

.fgf-topic-author-stat + .fgf-topic-author-stat {
  border-left: 1px solid #e4e4e4;
}

.fgf-topic-author-stat strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  color: #2f3a46;
}

.fgf-topic-author-stat span {
  display: block;
  margin-top: 6px;
  text-transform: uppercase;
  font-size: 11px;
  color: #7e8691;
}

.fgf-topic-author-profile {
  display: block;
  border-top: 1px solid #e4e4e4;
  padding: 16px 8px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  color: #cb7a31;
  letter-spacing: 0.4px;
  font-size: 12px;
}

.fgf-topic-author-profile:hover {
  text-decoration: underline;
}

.fgf-topic-single {
  padding: 0;
  border-radius: 0;
  border: 1px solid #dddddd;
  box-shadow: none;
  overflow: hidden;
}

.fgf-topic-hero {
  position: relative;
  background: linear-gradient(160deg, #5a92b3, #8fb7c3);
  min-height: 250px;
}

.fgf-topic-hero img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.fgf-topic-hero-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(42, 74, 85, 0.7);
  color: #fff;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.fgf-topic-hero-author img {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.fgf-topic-single-body {
  background: #fff;
  padding: 24px 28px 22px;
}

.fgf-topic-view .fgf-topic-single h2 {
  margin: 0;
  font-size: 49px;
  line-height: 1.04;
  color: #2f3a46;
}

.fgf-topic-view .fgf-topic-meta {
  margin-top: 12px;
  margin-bottom: 16px;
  color: #717983;
}

.fgf-topic-view .fgf-topic-content {
  font-size: 16px;
  line-height: 1.72;
  color: #454f5a;
}

.fgf-topic-view .fgf-topic-content blockquote {
  margin: 18px 0;
  border-left: 5px solid #cb7a31;
  background: #f8f8f8;
  padding: 16px 18px;
  color: #616a73;
}

.fgf-topic-attachment {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid #e7e7e7;
  background: #fafafa;
}

.fgf-topic-attachment a {
  color: #cb7a31;
  font-weight: 700;
}

.fgf-topic-view .fgf-topic-actions {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #ececec;
}

.fgf-topic-view .fgf-replies {
  margin-top: 18px;
  background: #fff;
  border: 1px solid #dddddd;
  border-radius: 0;
  padding: 22px 26px;
}

.fgf-topic-view .fgf-replies > h3 {
  margin: 0 0 14px;
  font-size: 22px;
}

.fgf-topic-view .fgf-replies-level {
  gap: 0;
}

.fgf-topic-view .fgf-reply {
  border: 0;
  border-bottom: 1px solid #ececec;
  border-radius: 0;
  box-shadow: none;
  padding: 16px 0;
  background: transparent;
}

.fgf-topic-view .fgf-reply:last-child {
  border-bottom: 0;
}

.fgf-topic-view .fgf-author-block .fgf-user-card {
  gap: 12px;
}

.fgf-topic-view .fgf-author-block .fgf-avatar img {
  width: 48px;
  height: 48px;
}

.fgf-topic-view .fgf-author-block .fgf-user-details strong {
  font-size: 16px;
  color: #2f3a46;
}

.fgf-topic-view .fgf-author-block .fgf-user-details span {
  color: #8a929b;
  font-size: 12px;
}

.fgf-topic-view .fgf-reply-time {
  margin-left: 60px;
  margin-top: -4px;
  color: #9199a3;
  font-size: 12px;
}

.fgf-topic-view .fgf-reply-content {
  margin: 8px 0 0 60px;
  color: #4b5460;
}

.fgf-topic-view .fgf-reply-actions {
  margin-top: 10px;
  margin-left: 60px;
}

.fgf-topic-view .fgf-form-box {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #dddddd;
  border-radius: 0;
  box-shadow: none;
  padding: 22px 24px;
}

.fgf-topic-view .fgf-form-box h3 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.1;
}

.fgf-topic-view .fgf-form-box .fgf-btn-primary {
  min-width: 180px;
  border-radius: 999px;
  background: #cb7a31;
  border-color: #cb7a31;
}

.fgf-topic-view .fgf-form-box .fgf-btn-primary:hover {
  background: #b66e2d;
  border-color: #b66e2d;
}

.fgf-topic-view .fgf-moderation-box {
  margin-top: 18px;
  border-radius: 0;
  border: 1px solid #dddddd;
  box-shadow: none;
}

.fgf-topic-widget {
  margin-bottom: 22px;
  padding: 0;
}

.fgf-topic-widget h3 {
  margin: 0;
  padding: 16px 18px;
  border-bottom: 1px solid #e8e8e8;
  font-size: 29px;
  line-height: 1.08;
  color: #2f3a46;
}

.fgf-topic-search-form {
  padding: 16px;
  display: flex;
  gap: 8px;
}

.fgf-topic-search-form input[type="text"] {
  flex: 1;
  min-height: 40px;
  border: 1px solid #d8d8d8;
  border-radius: 0;
}

.fgf-topic-search-form .fgf-btn {
  min-width: 52px;
  border-radius: 0;
}

.fgf-topic-list {
  list-style: none;
  margin: 0;
  padding: 6px 16px 12px;
}

.fgf-topic-list li {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #eeeeee;
  color: #4f5965;
}

.fgf-topic-list li:last-child {
  border-bottom: 0;
}

.fgf-topic-list a {
  color: #2f3a46;
  text-decoration: none;
}

.fgf-topic-list a:hover {
  color: #cb7a31;
}

.fgf-topic-recent-list li span {
  display: block;
  margin-top: 4px;
  color: #9098a1;
  font-size: 12px;
}

.fgf-topic-tags {
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.fgf-topic-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid #d6d6d6;
  background: #fafafa;
  color: #57606c;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  font-size: 11px;
}

@media (max-width: 768px) {
  .fgf-board-wrapper {
    padding: 14px;
  }

  .fgf-forums.fgf-layout-grid,
  .fgf-subforums-list.fgf-layout-grid {
    grid-template-columns: 1fr;
  }

  .fgf-depth-1,
  .fgf-depth-2,
  .fgf-depth-3,
  .fgf-depth-4,
  .fgf-depth-5,
  .fgf-depth-6 {
    margin-left: 12px;
  }

  .fgf-board-wrapper.fgf-fullscreen {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 12px 16px;
  }

  .fgf-groups-toolbar .fgf-board-filters input[type="text"] {
    min-width: 100%;
  }

  .fgf-group-card h3 {
    font-size: 22px;
  }

  .fgf-group-media {
    min-height: 245px;
  }

  .fgf-board-wrapper.fgf-fullscreen .fgf-forums {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fgf-board-wrapper.fgf-forum-view-v2 {
    padding: 14px 10px 20px;
  }

  .fgf-forum-v2-shell {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fgf-forum-hero,
  .fgf-forum-hero-content {
    min-height: 220px;
  }

  .fgf-forum-tab-panel {
    padding: 14px;
  }

  .fgf-forum-members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fgf-board-wrapper.fgf-topic-view {
    padding: 16px 12px 22px;
  }

  .fgf-topic-layout-shell {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .fgf-topic-view .fgf-topic-single h2 {
    font-size: 34px;
  }

  .fgf-topic-view .fgf-topic-single-body {
    padding: 16px 14px;
  }

  .fgf-topic-view .fgf-replies {
    padding: 16px 14px;
  }

  .fgf-topic-view .fgf-reply-content,
  .fgf-topic-view .fgf-reply-actions,
  .fgf-topic-view .fgf-reply-time {
    margin-left: 0;
  }
}
