/*--------------------------------------------------------------
This is your custom stylesheet.

Add your own styles here to make theme updates easier.
To override any styles from other stylesheets, simply copy them into here and edit away.

Make sure to respect the media queries! Otherwise you may
accidentally add desktop styles to the mobile layout.
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
--------------------------------------------------------------*/

/* Vikinger-style look for BuddyBoss activity card */

/* Create CSS variable */
body .entry-header {
    display: none;
}
body .widget ul a:not(.button) {
    font-weight: 400;
}
body {
  background: linear-gradient(135deg, #f0f0f5, #fafafb);
  font-family: "Inter", "Segoe UI", sans-serif;
}
.vkg-theme-style .vkg-post-container {
  position: relative;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px 0 rgba(18,43,70,0);
  padding: 30px;
  margin-bottom: 40px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.vkg-theme-style .vkg-post-container:hover {
  transform: scale(1.02) rotateX(1deg) rotateY(-1deg);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.2);
}

.vkg-theme-style .vkg-post-header {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(78, 0, 255, 0.3);
}

.vkg-theme-style .vkg-post-number {
  background: #fff;
  color: #4a00e0;
  font-weight: 700;
  font-size: 11px;
  border-radius: 12px;
  padding: 2px 8px;
  position: absolute;
  top: 20px;
  right: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.vkg-theme-style .vkg-post {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.vkg-avatar {
    position: relative;
    flex-shrink: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hexagon-progress-wrapper {
  position: relative;
  width: 110px;
  height: 125px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.hexagon-progress-svg polygon:nth-child(2) {
  stroke: url(#grad1);
  filter: drop-shadow(0 0 6px rgba(142, 45, 226, 0.6));
}

.hexagon-image {
  clip-path: polygon(50% 4%, 94% 26%, 94% 74%, 50% 96%, 6% 74%, 6% 26%);
  overflow: hidden;
  position: absolute;
  z-index: 2;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.hexagon-progress-wrapper:hover .hexagon-image {
  transform: scale(1.07);
}

.hexagon-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(
    50% 0%,
    93% 25%,
    93% 75%,
    50% 100%,
    7% 75%,
    7% 25% 
  );
}

.profile-level-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: #fff;
  font-size: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-weight: 700;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vkg-theme-style .vkg-username {
  font-weight: 700;
  font-size: 17px;
  color: #111629;
  margin-top: 8px;
}

.vkg-theme-style .vkg-handle {
  font-size: 13px;
  color: #6e7687;
}

.vkg-theme-style .vkg-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 14px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  border-radius: 50px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.vkg-theme-style .vkg-badge.vkg-participant {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.vkg-theme-style .vkg-message {
  font-size: 15.5px;
  color: #242b3e;
  line-height: 1.7;
  max-width: 600px;
}

.vkg-theme-style .bb-activity-closed-comments-notice {
  background: #ffe5ec;
  color: #b83252;
  border-left: 4px solid #ff3366;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  margin-top: 20px;
}

.vkg-theme-style .activity-comments {
  margin-top: 30px;
}

.vkg-theme-style .activity-comments input,
.vkg-theme-style .activity-comments textarea {
  border-radius: 12px;
  border: 1px solid #ccc;
  padding: 14px 18px;
  font-size: 14px;
  width: 100%;
  transition: border 0.3s, box-shadow 0.3s;
}

.vkg-theme-style .activity-comments input:focus,
.vkg-theme-style .activity-comments textarea:focus {
  border-color: #8e2de2;
  box-shadow: 0 0 0 3px rgba(142, 45, 226, 0.2);
}

.vkg-theme-style .activity-comments button,
.vkg-theme-style .activity-comments .button {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 14px;
  margin-top: 12px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.vkg-theme-style .activity-comments button:hover,
.vkg-theme-style .activity-comments .button:hover {
  background: linear-gradient(135deg, #4a00e0, #8e2de2);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .vkg-theme-style .vkg-post {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.vkg-theme-style .widget-area {
    max-width: 300px;
    padding: 0;
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
}

.vkg-theme-style .widget {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 20px 16px;
    box-shadow: 0 6px 24px 0 rgba(18, 43, 70, 0);
    margin-bottom: 20px;
}

.vkg-theme-style .widget:hover {
    transform: scale(1.02) rotateX(1deg) rotateY(-1deg);
    box-shadow: 0 6px 24px 0 rgba(18,43,70,0);
}

.vkg-theme-style .widget-title {
    font-size: 15px;
    font-weight: 600;
    color: #111629;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 6px;
}

.vkg-theme-style .widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, #8e2de2, #4a00e0);
    border-radius: 2px;
}

.vkg-theme-style .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vkg-theme-style .widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s ease;
}

.vkg-theme-style .widget ul li:last-child {
    border-bottom: none;
}

.vkg-theme-style .widget ul li:hover {
    background: rgba(142, 45, 226, 0.05);
}

.vkg-theme-style .widget a {
    text-decoration: none;
    color: #33374d;
    font-size: 14px;
    display: block;
    transition: color 0.3s ease;
}

.vkg-theme-style .widget a:hover {
    color: #8e2de2;
}


.vkg-theme-style #whats-new-form {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 6px 24px 0 rgba(18,43,70,0) !important;
    padding: 20px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vkg-theme-style #whats-new-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px 0 rgba(18,43,70,0) !important;
}

.vkg-theme-style .whats-new-form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.vkg-theme-style .activity-post-avatar-container {
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.vkg-theme-style .activity-post-avatar-container:hover {
    transform: scale(1.05);
}

.vkg-theme-style .activity-post-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vkg-theme-style .activity-post-user-name-container h5 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: #111629;
}

.vkg-theme-style .activity-post-user-name-container h5 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.vkg-theme-style .activity-post-user-name-container h5 a:hover {
    color: #8e2de2;
}

.vkg-theme-style #bp-activity-privacy-point {
    background: #f0f2f7;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 12px;
    color: #555a75;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.vkg-theme-style #bp-activity-privacy-point:hover {
    background: #e0e2ec;
}

.vkg-theme-style #whats-new-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: inset 0 0 0 1px #eaeaea;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.vkg-theme-style #whats-new-content:focus-within {
    box-shadow: inset 0 0 0 2px #8e2de2;
    background: #fdfdfd;
}

.vkg-theme-style #whats-new-textarea [contenteditable="true"] {
    min-height: 60px;
    font-size: 14px;
    color: #111629;
    outline: none;
    padding: 6px 0;
    line-height: 1.5;
    font-family: inherit;
    transition: color 0.3s ease;
}

.vkg-theme-style #whats-new-textarea [contenteditable="true"]:empty::before {
    content: attr(placeholder);
    color: #a0a4b8;
}

.vkg-theme-style #whats-new-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #eaeaea;
    margin-top: 16px;
}

.vkg-theme-style .toolbar-button {
    background: #f0f2f7;
    border-radius: 10px;
    padding: 8px;
    color: #555a75;
    transition: background 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.vkg-theme-style .toolbar-button:hover {
    background: #8e2de2;
    color: #ffffff;
    transform: translateY(-2px);
}

.vkg-theme-style .toolbar-button i {
    font-size: 18px;
    line-height: 1;
}

.vkg-theme-style .bb-post-view-selector-form {
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: 0 6px 24px 0 rgba(18, 43, 70, 0);
    max-width: 300px;
    text-align: right;
}

.vkg-theme-style .bb-post-view-selector-form select {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid #e0e4f0;
    background: #f9fafc;
    font-size: 14px;
    color: #111629;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    width: calc(100% - 40px);
}

.vkg-theme-style .bb-post-view-selector-form select:focus {
    border-color: #8e2de2;
    box-shadow: 0 0 0 2px rgba(142, 45, 226, 0.2);
}

.vkg-theme-style .bb-post-view-selector-form button {
    margin-left: 10px;
    padding: 8px 18px;
    border-radius: 10px;
    border: none;
    background: #8e2de2;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    width: 86px;
}

.vkg-theme-style .bb-post-view-selector-form button:hover {
    background: #6b1bb3;
    transform: translateY(-2px);
}
.vkg-theme-style .bb-post-view-selector {
    text-align: left;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vkg-theme-style .activity-head-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 6px 24px 0 rgba(18,43,70,0) !important;
    margin-bottom: 20px;
    position: relative;
    z-index: 9;
}

.vkg-theme-style .bb-subnav-filters-container,
.vkg-theme-style .bb-subnav-filters-container-main {
    position: relative;
}

.vkg-theme-style .subnav-filters-opener {
    background: #f0f2f7;
    border: none;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 14px;
    color: #111629;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.vkg-theme-style .subnav-filters-opener:hover {
    background: #e0e2ec;
}

.vkg-theme-style .subnav-filters-modal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 10px;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 10;
    min-width: 180px;
    box-shadow: 0 6px 24px 0 rgba(18,43,70,0) !important;
}

.vkg-theme-style .subnav-filters-modal ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vkg-theme-style .subnav-filters-modal li {
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.vkg-theme-style .subnav-filters-modal li:hover {
    background: #f0f2f7;
}

.vkg-theme-style .subnav-filters-modal li.selected {
    background: #8e2de2;
    color: #fff;
}

.vkg-theme-style .dir-search input[type="search"] {
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #e0e4f0;
    background: #f9fafc;
    font-size: 14px;
    color: #111629;
    width: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.vkg-theme-style .dir-search input[type="search"]:focus {
    border-color: #8e2de2;
    box-shadow: 0 0 0 2px rgba(142, 45, 226, 0.2);
}

.vkg-theme-style .search-form_reset,
.vkg-theme-style .nouveau-search-submit {
    background: #f0f2f7;
    border: none;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    color: #555a75;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vkg-theme-style .search-form_reset:hover,
.vkg-theme-style .nouveau-search-submit:hover {
    background: #8e2de2;
    color: #ffffff;
    transform: translateY(-2px);
}

.vkg-theme-style .bb-subnav-filters-label {
    font-size: 13px;
    font-weight: 500;
    color: #555a75;
    margin-right: 6px;
}

/* === Modern Vikinger-like Forum Listing === */
.vkg-theme-style #bbpress-forums ul.bbp-forums,
.vkg-theme-style #bbpress-forums ul.forum {
    display: block;
    background: #f7f9fc;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
}

.vkg-theme-style #bbpress-forums li.bbp-forum,
.vkg-theme-style #bbpress-forums li.bbp-forum-info {
    display: grid;
    grid-template-columns: 1fr 60px 60px 200px;
    align-items: center;
    padding: 16px 24px;
    background: #fff;
    border-bottom: 1px solid #e9eef5;
    transition: background 0.2s ease, transform 0.2s ease;
}

.vkg-theme-style #bbpress-forums li.bbp-forum:last-child {
    border-bottom: none;
}

.vkg-theme-style #bbpress-forums li.bbp-forum:hover {
    background: #f1f5fb;
    transform: translateY(-2px);
}

.vkg-theme-style #bbpress-forums .bbp-forum-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vkg-theme-style #bbpress-forums .bbp-forum-info .bbp-forum-title {
    font-weight: 600;
    font-size: 16px;
    color: #1a202c;
}

.vkg-theme-style #bbpress-forums .bbp-forum-info .bbp-forum-content {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.vkg-theme-style #bbpress-forums .bbp-forum-topic-count,
.vkg-theme-style #bbpress-forums .bbp-forum-reply-count {
    font-weight: 600;
    font-size: 14px;
    color: #1a202c;
    text-align: center;
}

.vkg-theme-style #bbpress-forums .bbp-forum-freshness {
    text-align: right;
    font-size: 13px;
    color: #6b7280;
}

.vkg-theme-style #bbpress-forums .bbp-topic-freshness-author {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.vkg-theme-style #bbpress-forums .bbp-topic-freshness-author img.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.vkg-theme-style #bbpress-forums .bbp-topic-freshness-author .bbp-author-name {
    font-weight: 600;
    color: #1a73e8;
    font-size: 13px;
}

.vkg-theme-style #bbpress-forums .freshness-link a {
    font-weight: 500;
    color: #374151;
    font-size: 13px;
    text-decoration: none;
}

.vkg-theme-style #bbpress-forums .freshness-link a:hover {
    color: #1a73e8;
}

.vkg-theme-style #bbpress-forums .bbp-forum-title a {
    color: #1a202c;
    text-decoration: none;
}

.vkg-theme-style #bbpress-forums .bbp-forum-title a:hover {
    color: #1a73e8;
}

/* Remove default bullets */
.vkg-theme-style #bbpress-forums ul.bbp-forums,
.vkg-theme-style #bbpress-forums ul.forum {
    list-style: none;
    margin: 0;
    padding: 0;
}


/* === Vikinger Forum List Style for BuddyBoss === */

/* -------------------------------------------
 * VIKINGER-STYLE FORUM LIST
 * Scoped to .vkg-theme-style
 * ------------------------------------------- */

.vkg-theme-style {
  /* Theme Vars – tweak once, rest updates */
  --vkg-accent: #4a90e2;
  --vkg-accent-strong: #00aaff;
  --vkg-card-bg: #ffffff;
  --vkg-card-bg-alt: #f9fafc;
  --vkg-card-radius: 20px;
  --vkg-card-radius-sm: 16px;
  --vkg-card-shadow: 0 6px 20px rgba(0,0,0,0.05);
  --vkg-card-shadow-hover: 0 12px 30px rgba(0,0,0,0.10);
  --vkg-glow: 0 0 0 3px rgba(74,144,226,0.35);
  --vkg-text-main: #1f1f1f;
  --vkg-text-sub: #666;
  --vkg-text-muted: #999;
  --vkg-success: #4cd964;
  --vkg-danger: #ff5252;
  --vkg-warning: #ffc107;
  --vkg-border-color: rgba(0,0,0,0.08);
  --vkg-chip-bg: rgba(74,144,226,0.08);
  --vkg-chip-bg-strong: rgba(0,170,255,0.12);
  --vkg-chip-text: #1f1f1f;
  --vkg-transition-fast: 0.18s;
  --vkg-transition-med: 0.28s;
  --vkg-font-family: "Inter", "Roboto", "Helvetica Neue", Arial, sans-serif;
}

/* Wrapper -------------------------------------------------- */
.vkg-theme-style .vkg-forum-list {
    background: #fff !important;
    padding: 40px !important;
    border-radius: 10px;
}

/* Each LI card with margin bottom */
.vkg-theme-style .vkg-forum-list > li.bs-item-wrap {
  margin-bottom: 16px;
  border-radius: var(--vkg-card-radius-sm);
  background: var(--vkg-card-bg);
  box-shadow: var(--vkg-card-shadow);
  transition: box-shadow var(--vkg-transition-med) ease, transform var(--vkg-transition-fast) ease;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

/* Header row ("All Discussions") -------------------------------- */
.vkg-theme-style .vkg-forum-list li.bs-item-wrap.bs-header-item {
  margin-bottom: 28px !important;
  position: relative;
  z-index: 1;
}

.vkg-theme-style .vkg-forum-list li.bs-item-wrap.bs-header-item .bs-section-title {
    margin: 0 !important;
    font-size: 22px !important;
    font-weight: 600;
    color: var(--vkg-text-main);
    letter-spacing: -.01em !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.vkg-theme-style .vkg-forum-list li.bs-item-wrap.bs-header-item .bs-section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--vkg-accent) 0%, transparent 100%);
  border-radius: 2px;
  opacity: .4;
}

/* Forum Card Grid ------------------------------------------- */
.vkg-theme-style .vkg-forum-card {
  --icon-size: 64px;
  display: grid;
  grid-template-columns: var(--icon-size) 1fr auto 320px;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  background: var(--vkg-card-bg);
  border-radius: var(--vkg-card-radius-sm);
  margin-bottom: 20px;
  transition: transform var(--vkg-transition-med) ease, box-shadow var(--vkg-transition-med) ease, border-color var(--vkg-transition-fast) ease;
  box-shadow: var(--vkg-card-shadow);
  border: 1px solid var(--vkg-border-color);
  position: relative;
  z-index: 1;
}

.vkg-theme-style .vkg-forum-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vkg-card-shadow-hover);
  border-color: rgba(74,144,226,0.4);
}

.vkg-theme-style .vkg-forum-card:focus-within {
  outline: none;
  box-shadow: var(--vkg-card-shadow-hover), var(--vkg-glow);
  border-color: var(--vkg-accent);
}

/* Left Icon -------------------------------------------------- */
.vkg-theme-style .vkg-forum-card .vkg-forum-left {
  width: var(--icon-size);
  height: var(--icon-size);
  line-height: 0;
}

.vkg-theme-style .vkg-forum-card .forum-icon {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid rgba(0,0,0,0.08);
  transition: transform var(--vkg-transition-fast) ease;
}

.vkg-theme-style .vkg-forum-card:hover .forum-icon {
  transform: scale(1.04) rotate(1deg);
  border-color: var(--vkg-accent-strong);
}

/* Optional Hex Mask (add .vkg-hex to img wrapper) */
.vkg-theme-style .vkg-forum-card .vkg-hex {
  clip-path: polygon(
    25% 5%, 75% 5%,
    100% 50%,
    75% 95%, 25% 95%,
    0% 50%
  );
  border-radius: 0 !important;
  overflow: hidden;
}

/* Center Column --------------------------------------------- */
.vkg-theme-style .vkg-forum-card .vkg-forum-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0; /* text truncation safe */
}

.vkg-theme-style .vkg-forum-card .forum-title {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  color: var(--vkg-text-main);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vkg-theme-style .vkg-forum-card .forum-title a {
  text-decoration: none;
  color: inherit;
  transition: color var(--vkg-transition-fast) ease;
}

.vkg-theme-style .vkg-forum-card .forum-title a:hover {
  color: var(--vkg-accent-strong);
}

.vkg-theme-style .vkg-forum-card .forum-desc {
  font-size: 14px;
  color: var(--vkg-text-sub);
  margin-top: 6px;
  line-height: 1.35;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Stats Column ---------------------------------------------- */
.vkg-theme-style .vkg-forum-card .vkg-forum-stats {
  display: flex;
  flex-direction: column;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--vkg-text-main);
  gap: 6px;
  min-width: 72px;
}

.vkg-theme-style .vkg-forum-card .vkg-forum-stats span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--vkg-chip-bg);
  line-height: 1.1;
  white-space: nowrap;
}

.vkg-theme-style .vkg-forum-card .vkg-forum-stats span:nth-child(2) {
  background: var(--vkg-chip-bg-strong);
  color: var(--vkg-accent-strong);
}

/* Latest Column --------------------------------------------- */
.vkg-theme-style .vkg-forum-card .vkg-forum-latest {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vkg-theme-style .vkg-forum-card .latest-title {
  margin: 0;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vkg-theme-style .vkg-forum-card .latest-title a {
  font-weight: 600;
  font-size: 15px;
  color: var(--vkg-text-main);
  text-decoration: none;
  transition: color var(--vkg-transition-fast) ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vkg-theme-style .vkg-forum-card .latest-title a:hover {
  color: var(--vkg-accent-strong);
}

.vkg-theme-style .vkg-forum-card .latest-meta {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  gap: 10px;
  font-size: 13px;
  color: var(--vkg-text-sub);
  flex-wrap: wrap;
}

.vkg-theme-style .vkg-forum-card .latest-meta .author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--vkg-accent);
  padding: 1px;
  background: #fff;
  transition: transform var(--vkg-transition-fast) ease;
}

.vkg-theme-style .vkg-forum-card:hover .latest-meta .author-avatar {
  transform: scale(1.05);
}

.vkg-theme-style .vkg-forum-card .latest-meta .author-name {
  font-weight: 600;
  color: var(--vkg-accent-strong);
}

.vkg-theme-style .vkg-forum-card .latest-meta .freshness {
  font-style: italic;
  color: var(--vkg-text-muted);
  white-space: nowrap;
}

/* Small dot separator (auto inserted) */
.vkg-theme-style .vkg-forum-card .latest-meta .author-name + .freshness::before {
  content: "•";
  margin: 0 6px 0 4px;
  color: var(--vkg-text-muted);
}

/* Focus states for accessibility */
.vkg-theme-style .vkg-forum-card a:focus {
  outline: 2px solid var(--vkg-accent-strong);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive ----------------------------------------------- */

/* < 1280px: shrink last column */
@media (max-width: 1279.98px) {
  .vkg-theme-style .vkg-forum-card {
    grid-template-columns: var(--icon-size) 1fr auto 240px;
    padding: 20px 24px;
  }
}

/* < 1024px: collapse stats tighter */
@media (max-width: 1023.98px) {
  .vkg-theme-style .vkg-forum-card {
    grid-template-columns: var(--icon-size) 1fr 240px;
    grid-template-areas:
      "icon center latest"
      "icon stats latest";
    row-gap: 12px;
  }
  .vkg-theme-style .vkg-forum-card .vkg-forum-left   { grid-area: icon; }
  .vkg-theme-style .vkg-forum-card .vkg-forum-center { grid-area: center; }
  .vkg-theme-style .vkg-forum-card .vkg-forum-stats  { grid-area: stats; flex-direction: row; justify-content: flex-start; gap: 12px; text-align: left; }
  .vkg-theme-style .vkg-forum-card .vkg-forum-latest { grid-area: latest; }
}

/* < 768px: stack card vertically */
@media (max-width: 767.98px) {
  .vkg-theme-style .vkg-forum-list {
    padding: 20px 16px;
  }
  .vkg-theme-style .vkg-forum-card {
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      "icon center"
      "icon latest"
      "icon stats";
    gap: 16px 20px;
    padding: 20px;
  }
  .vkg-theme-style .vkg-forum-card {
    --icon-size: 56px;
  }
  .vkg-theme-style .vkg-forum-card .vkg-forum-left   { grid-area: icon; }
  .vkg-theme-style .vkg-forum-card .vkg-forum-center { grid-area: center; }
  .vkg-theme-style .vkg-forum-card .vkg-forum-latest { grid-area: latest; margin-top: -4px; }
  .vkg-theme-style .vkg-forum-card .vkg-forum-stats  { grid-area: stats; flex-direction: row; justify-content: flex-start; margin-top: -4px; }
  .vkg-theme-style .vkg-forum-card .forum-title { font-size: 17px; }
}

.vkg-theme-style .vkg-forum-card[data-forum-color] {
    border-color: color-mix(in srgb, var(--vkg-border-color) 70%, attr(data-forum-color color, #ccc));
}
.vkg-theme-style .vkg-forum-card[data-forum-color]:hover {
    box-shadow: 0 0 0 3px attr(data-forum-color color, #4a90e2),
    var(--vkg-card-shadow-hover);
}
.vkg-theme-style .vkg-forum-card[data-forum-color] .latest-meta .author-avatar {
    border-color: attr(data-forum-color color, var(--vkg-accent));
}

/* < 480px: full stack, center icon top */
@media (max-width: 479.98px) {
  .vkg-theme-style .vkg-forum-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "center"
      "latest"
      "stats";
    text-align: center;
    padding: 18px 16px;
  }
  .vkg-theme-style .vkg-forum-card .vkg-forum-left {
    margin: 0 auto;
  }
  .vkg-theme-style .vkg-forum-card .vkg-forum-center {
    align-items: center;
  }
  .vkg-theme-style .vkg-forum-card .forum-desc {
    max-width: 22ch;
  }
  .vkg-theme-style .vkg-forum-card .vkg-forum-stats {
    justify-content: center;
  }
  .vkg-theme-style .vkg-forum-card .vkg-forum-latest {
    align-items: center;
  }
  .vkg-theme-style .vkg-forum-card .latest-meta {
    justify-content: center;
  }
  .vkg-theme-style .vkg-forum-card .latest-meta .author-name + .freshness::before {
    display: none;
  }
}


/* ----------------------------------------------------------------------------------
   Vikinger‑Style Forum List
   Assumes your HTML is something like:
---------------------------------------------------------------------------------- */

/* Import Modern Font */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

.vkg-theme-style .parent-ul-box-wrapper {
    background: #fff !important;
    padding: 40px !important;
    border-radius: 10px;
}
.vkg-theme-style .parent-ul-box-wrapper h2 {
    font-size: 22px !important;
    font-weight: 600;
    color: var(--vkg-text-main);
    letter-spacing: -.01em !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
}
.vkg-theme-style .vkg-parent-forum-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: 'Nunito', sans-serif;
    background: #fff;
}

.vkg-theme-style .forum-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    margin-bottom: 16px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    align-items: flex-start;
    border: 1px solid var(--vkg-border-color);
}

.vkg-theme-style .forum-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    border-color: rgba(74, 144, 226, 0.4);
}

.vkg-theme-style .forum-thumbnail {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: #f0f0f3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vkg-theme-style .forum-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vkg-theme-style .forum-status-icon {
    position: absolute;
    top: -6px;
    left: -6px;
    background: #ffffff;
    padding: 4px;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.vkg-theme-style .forum-status-icon img {
    width: 20px;
    height: 20px;
}

.vkg-theme-style .forum-body {
    flex: 1;
}

.vkg-theme-style .forum-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.vkg-theme-style .forum-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.vkg-theme-style .forum-title a {
    color: #2b2f4b;
    text-decoration: none;
}

.vkg-theme-style .forum-meta {
    font-size: 14px;
    color: var(--vkg-text-main);
    margin-top: 6px;
    font-weight: 600;
}

.vkg-theme-style .forum-meta span {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--vkg-chip-bg);
    white-space: nowrap;
    line-height: 1.1;
}

.vkg-theme-style .forum-meta span:nth-child(2) {
    background: var(--vkg-chip-bg-strong);
    color: var(--vkg-accent-strong);
}

.vkg-theme-style .forum-description p {
    font-size: 14px;
    color: #4d4f6d;
    margin: 8px 0 12px;
    line-height: 1.6;
}

.vkg-theme-style .forum-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vkg-theme-style .forum-avatar img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px var(--vkg-accent);
}

.vkg-theme-style .forum-freshness a {
    font-size: 13px;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.vkg-theme-style .forum-freshness a:hover {
    color: #00b2ff;
}

/* @media (max-width: 1024px) {
  .vkg-theme-style .forum-card {
    flex-direction: column;
    padding: 20px;
  }

  .vkg-theme-style .forum-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 16px;
  }

  .vkg-theme-style .forum-thumbnail img {
    width: 100%;
    height: auto;
  }

  .vkg-theme-style .forum-status-icon img {
    width: 36px;
    height: 36px;
  }

  .vkg-theme-style .forum-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .vkg-theme-style .forum-footer {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }
} */

@media (max-width: 768px) {
  .vkg-theme-style .forum-card {
    flex-direction: column;
    padding: 20px;
    align-items: center;
  }

  .vkg-theme-style .forum-thumbnail {
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    height: unset;
    width: unset;
  }
  .vkg-theme-style .forum-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }

  .vkg-theme-style .forum-thumbnail img {
    object-fit: cover;
    border-radius: 12px;
    width: 200px;
    height: 200px;
  }

  .vkg-theme-style .forum-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    align-items: center;
  }

  .vkg-theme-style .forum-footer {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .vkg-theme-style .parent-ul-box-wrapper {
    padding: 24px !important;
  }

  .vkg-theme-style .forum-title {
    font-size: 16px;
  }

  .vkg-theme-style .forum-meta {
    font-size: 13px;
  }

  .vkg-theme-style .forum-description p {
    font-size: 13px;
  }

  .vkg-theme-style .forum-avatar img {
    width: 20px;
    height: 20px;
  }

  .vkg-theme-style .forum-status-icon img {
    width: 28px;
    height: 28px;
  }

  .vkg-theme-style .forum-freshness a {
    font-size: 12px;
    padding-top: 10px;
  }
}

@media (max-width: 480px) {
  .vkg-theme-style .forum-card {
    padding: 16px;
    align-items: center;
  }

  .vkg-theme-style .forum-thumbnail img {
    width: 100%;
  }

  .vkg-theme-style .forum-meta span {
    font-size: 12px;
    padding: 3px 8px;
  }

  .vkg-theme-style .forum-title {
    font-size: 15px;
  }

  .vkg-theme-style .forum-description p {
    margin-bottom: 8px;
  }

  .vkg-theme-style .forum-freshness a {
    display: inline-block;
    max-width: 100%;
    word-break: break-word;
  }

  .vkg-theme-style .forum-status-icon img {
    width: 24px;
    height: 24px;
  }

  .vkg-theme-style .forum-avatar img {
    width: 18px;
    height: 18px;
  }
}



.vkgn-avatar-wrapper {
  position: relative;
  width: 120px;
  height: 140px;
}

.vkgn-hex-border {
  width: 100%;
  height: auto;
  display: block;
}

.vkgn-rank-badge {
    position: absolute;
    bottom: 8px;
    right: -5px;
    width: 45px;
    height: 45px;
}

.vkgn-rank-hex {
  width: 100%;
  height: 100%;
}

.activity-header {
    margin-left: 10px !important;
}

/* Forum Single Post View */

/* Layout */
.vkgsf-forum-wrapper {
  font-family: 'Segoe UI', sans-serif;
  background: #f8f9fa;
}

.vkgsf-grid {
  display: flex;
  gap: 40px;
}

/* Post wrapper */
.vkgsf-post {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  gap: 20px;
}

/* Avatar + meta */
.vkgsf-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 151px;
  flex-shrink: 0;
  border-right: 2px solid #f3f3f3;
  padding: 20px;
}

.vkgsf-meta {
  text-align: center;
}

.vkgsf-name {
  font-weight: 600;
  font-size: 15px;
  color: #333;
}

.vkgsf-username {
  font-size: 13px;
  color: #777;
}

/* Content area */
.vkgsf-content {
  flex-grow: 1;
  padding: 20px;
}

.vkgsf-message {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.vkgsf-message p {
  margin-bottom: 10px;
}

.vkgsf-message img,
.vkgsf-message iframe {
  margin-top: 10px;
  max-width: 100%;
  border-radius: 10px;
}

/* Timestamp */
.vkgsf-timestamp {
  margin-top: 10px;
  font-size: 12px;
  color: #999;
}

/* Reply form area */
.vkgsf-bbp-reply-header {
    padding: 22px 28px;
    background-color: #fcfcfd !important;
    border: none;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    width: 100%;
}
.vkgsf-bbp-reply-header.reply-header {
    border-radius: unset;
}
.vkgsf-bbp-meta {
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.vkgsf-bbp-meta .vkgsf-bbp-reply-post-date {
    color: var(--color-text-alt);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    font-weight: 500;
    color:#4395cc!important;
}

.vkgsf-bbp-forum-header a.vkgsf-bbp-forum-permalink, .vkgsf-bbp-reply-header a.vkgsf-bbp-reply-permalink, .vkgsf-bbp-topic-header a.vkgsf-bbp-topic-permalink {
    float: right;
    margin-left: 10px;
    color: #707070;
}
.vkgsf-bbp-reply-header .vkgsf-bbp-meta .vkgsf-bbp-reply-permalink, .vkgsf-bbp-reply-header .vkgsf-bbp-meta .vkgsf-bbp-admin-links {
    font-size: 0.875rem;
    font-weight: 700;
}
.vkgsf-bbp-reply-header .vkgsf-bbp-meta .vkgsf-bbp-reply-permalink {
    color: #3e3f5e;
    transition: color .2s ease-in-out;
}
.vkgsf-topic-content {
  width: 100%;
}
.vkgsf-topic-content .bs-item-list .topic-lead {
    padding: unset !important;
    border: none !important;
}
.post-view-heading {
    font-size: 26px !important;
    font-weight: 600;
    letter-spacing: -.01em !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.post-view-welcome-to {
    color: #8f91ac;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: unset;
}
.vkgsf-grid .bs-single-topic-sidebar {
    position: absolute;
    right: 0;
    top: 0px;
    display: block;
}
.vkgsf-grid .bs-topic-sidebar-inner {
    position: relative !important;
    top: unset !important;
    width: unset !important;
    bottom: unset !important;
}
.vkgsf-grid .single-topic-sidebar-links {
    overflow: unset;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.vkgsf-grid .bb-topic-favorite-link-wrap {
    margin: unset;
    margin-bottom: 10px;
}

@media only screen and ( max-width: 1000px ) {
    .vkgsf-grid {
        flex-direction: column;
        align-items: center;
    }
}

/* User progress header */
.floating-mini-dashboard {
    display: flex;
    align-items: center;
    width: 300px;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}
.user-gamipress-tracker .floating-mini-dashboard {
    background: unset;
    box-shadow: unset;
}
.fmd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.fmd-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}
.fmd-xp {
    font-size: 13px;
    color: #666;
}
.fmd-progress-bar {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 20px;
    overflow: hidden;
}
.fmd-progress-fill {
    height: 100%;
    background: linear-gradient(to right, #00e6fd 0%, #0060ff 100%);
    transition: width 0.3s ease-in-out;
}
.fmd-percentage {
    text-align: right;
    font-size: 12px;
    margin-top: 5px;
    color: #888;
}
.fmd-top-icon-xp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
    margin-right: 20px;
}

.fmd-top-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.fmd-top-xp {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.fmd-wrapper {
    width: 100%;
}
.bb-mobile-panel-inner .user-gamipress-tracker {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.bb-mobile-panel-inner .floating-mini-dashboard {
    width: 90%;
}

/* New CSS Code */
.vkgsf-bbp-reply-header{padding:1px 12px 1px 12px;
text-transform:uppercase;
background:#bae3ff!important;
}

.post-view-welcome-to,.vkgsf-timestamp{display:none;}

.post-view-heading-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Title left, buttons right */
    gap: 1.5rem; /* Space between title and buttons, adjust as needed */
}

.post-view-heading-wrap{
    margin: 0 0 20px 0;
}
.post-view-heading {
    margin: 0;
}

.single-topic-sidebar-links {
    display: flex;
    gap: 0.75rem; /* Space between buttons */
}

.single-topic-sidebar-links a {
    padding: 0.5em 1em;
    background: #f3f3f3;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background 0.2s;
}
.single-topic-sidebar-links a:hover {
    background: #e1e1e1;
    border-color:#ccc;
    color:#111;
}

.bbp-topic-reply-link{
    background:#0686db!important;
    color:white!important;
    border:0;
}
.bbp-topic-reply-link:hover{
    background:#0071bc!important;
}

@media only screen and ( max-width: 600px ) {
    .post-view-heading-wrap {
        flex-direction: column;
        margin: 0 0 40px 0;
    }
    .post-view-heading {
      font-size: 22px !important;
    }
    .vkgsf-grid .bs-single-topic-sidebar {
        top: 44px;
        max-width: 100%;
        width: 100%;
    }
    .vkgsf-grid .single-topic-sidebar-links {
        justify-content: center;
    }
    .vkgsf-post {
      flex-wrap: wrap;
    }
    .vkgsf-author {
        border-right: none;
        border-bottom: 2px solid #f3f3f3;
        width: 100%;
        flex-direction: row;
        padding: 16px 20px 0 20px;
    }
    .vkgsf-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-left: 20px;
      position: relative;
      top: -12px;
    }
    .vkgsf-content {
      padding-top: 0;
      padding-bottom: 10px;
    }
    .vkgsf-post .vkgn-avatar-wrapper {
      height: 60px !important;
      width: 40px !important;
    }
    .vkgsf-post .vkgn-rank-badge {
      height: 30px !important;
      width: 20px !important;
      right: -2px !important;
      bottom: 14px !important;
    }
}

/* .bs-single-topic-sidebar{display:none!important;} */