.float_left{
	position:absolute;
	float:left;
}
/* Fenster-Rahmen der KATEGORIE*/
.vm-welcome{
  --frame: 26px;              
  position: relative;
  padding: var(--frame);
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
}

/* oben + unten (horizontal) */
.vm-welcome::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;

  background:
    url(https://talesofvelmoor.gedankenschloss.de/images/styles/velmoor/holzdunkel.png)
      top center / cover no-repeat,
    url(https://talesofvelmoor.gedankenschloss.de/images/styles/velmoor/holzdunkel.png)
      bottom center / cover no-repeat;

  -webkit-mask:
    linear-gradient(#000 0 0) top/100% var(--frame) no-repeat,
    linear-gradient(#000 0 0) bottom/100% var(--frame) no-repeat;
  mask:
    linear-gradient(#000 0 0) top/100% var(--frame) no-repeat,
    linear-gradient(#000 0 0) bottom/100% var(--frame) no-repeat;

  filter: brightness(.92) contrast(1.08);
}

/* links + rechts (vertikal) */
.vm-welcome::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
  background:
    /* linkes Brett */
    url(https://talesofvelmoor.gedankenschloss.de/images/styles/velmoor/holzdunkel.png)
      left center / cover no-repeat,
    /* rechtes Brett */
    url(https://talesofvelmoor.gedankenschloss.de/images/styles/velmoor/holzdunkel.png)
      right center / cover no-repeat;
  /* nur Seiten sichtbar */
  -webkit-mask:
    linear-gradient(#000 0 0) left / 26px 100% no-repeat,
    linear-gradient(#000 0 0) right / 26px 100% no-repeat;
  mask:
    linear-gradient(#000 0 0) left / 26px 100% no-repeat,
    linear-gradient(#000 0 0) right / 26px 100% no-repeat;
  /* JETZT die echte Drehung */
  transform: rotate(90deg) translateY(-4%);
  transform-origin: center;
  filter: brightness(.85) contrast(1.15);
  opacity: .98;
}

.vm-window{
  position: relative;
  z-index: 2;
  margin: -10px;          
  padding: 18px 20px;
  border-radius: 12px;
  background-image: url(https://talesofvelmoor.gedankenschloss.de/images/styles/velmoor/hintergrundgast.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow:
    0 12px 28px rgba(0,0,0,.45),      /* Schatten AUF dem Holz */
    inset 0 0 0 1px rgba(255,255,255,.08),
    inset 0 10px 18px rgba(0,0,0,.25);
}

/* kleine “Falz” wie Fensterkante */
.vm-window::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity: .9;
}
#forum_1 .vm-window{
  background-image: url(https://talesofvelmoor.gedankenschloss.de/images/styles/velmoor/hintergrundgast.png);
}

/* Beispiele */
#forum_2 .vm-window{
  background-image: url(../../../images/bg/forest_chronik.png);
}

#forum_3 .vm-window{
  background-image: url(../../../images/bg/forest_gesuche.png);
}
.vm-forum-desc{
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(210,179,107,.10);
  border-radius: 12px;
  padding: 10px 12px;
  backdrop-filter: blur(2px);
}
.vm-window{
  display:flex;
  align-items:center;
  gap:14px;
  position: relative;
  z-index: 2;
}

/* Goldleisten links + rechts */
.vm-window::after{
	content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: -14px;
    right: -14px;
    pointer-events: none;
    background: linear-gradient(#d2b36b, #d2b36b) left / 13px 100% no-repeat, linear-gradient(#d2b36b, #d2b36b) right / 13px 100% no-repeat;
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0)) drop-shadow(0 8px 12px rgba(0, 0, 0, .25));
    opacity: .85;
}

/* =========================
   Velmoor Forum Card Layout
   ========================= */

.vm-forumcard{
  font-family: inherit;
  color: var(--text);
  border: 1px solid var(--line2);
  background:
    radial-gradient(at 55% 45%, rgba(210,179,107,0.10), rgba(0,0,0,0.35)),
    var(--bg);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  overflow: hidden;
}

/* ========== TOP BAR (3 boxes) ========== */
.vm-forumcard-top{
  display: grid;
  grid-template-columns: 44px 1fr 210px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line2);
  background:
    linear-gradient(90deg, rgba(0,0,0,0.40), rgba(0,0,0,0.10));
}

.vm-top-icon{
  height: 28px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.40);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25);
}

.vm-top-icon .vm-i{
  font-size: 14px;
  color: var(--accent);
  opacity: 0.95;
}

.vm-top-title{
  display: block;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25);
}

.vm-top-title:hover{
  filter: brightness(1.08);
}

.vm-top-stats{
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
  text-align: right;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  align-items: baseline;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25);
}

.vm-top-stats b{
  color: var(--text);
  font-weight: 700;
}

.vm-dot{ opacity: 0.55; }

/* ========== MAIN (flex) ========== */
.vm-forumcard-main{
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(0,0,0,0.18);
}

.vm-main-thumb{
  width: 260px;
  height: 122px;
  border: 1px solid var(--line2);
  background: center / cover no-repeat;
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}

/* center */
.vm-main-mid{
  position: relative;
  flex: 1;
  min-width: 240px;
  border: 1px solid var(--line2);
  background: rgba(0,0,0,0.30);
  padding: 10px 38px 10px 12px; /* Platz rechts für hint icon */
  overflow: hidden;
}

.vm-mid-text{
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
  max-height: 4.2em;
  overflow: hidden;
}

.vm-mid-hint{
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.45);
  display: grid;
  place-items: center;
  cursor: default;
  opacity: 0.85;
}

.vm-hint-icon{
  font-size: 12px;
  color: var(--accent);
}

/* overlay quicklinks */
.vm-mid-overlay{
  position: absolute;
  inset: 0;
  padding: 10px 12px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.78), rgba(0,0,0,0.52));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}

.vm-main-mid:hover .vm-mid-overlay{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.vm-quicklinks-title{
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.vm-ql-ic{
  color: var(--accent);
  font-size: 14px;
  opacity: 0.95;
}

.vm-quicklinks{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.vm-quicklinks a{
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.40);
}

.vm-quicklinks a:hover{
  border-color: var(--line);
  filter: brightness(1.08);
}

.vm-quicklinks-hint{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(245, 238, 228, 0.55);
}

/* right lastpost */
.vm-main-last{
  width: 320px;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line2);
  background: rgba(0,0,0,0.30);
  padding: 10px;
}

.vm-last-thumb{
  width: 74px;
  height: 74px;
  background: center / cover no-repeat;
}

.vm-last-meta{
  min-width: 0;
}

.vm-last-forum{
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vm-last-byline{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12.5px;
}

.vm-last-user{
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.vm-last-user:hover{
  text-decoration: underline;
}

.vm-last-time{
  opacity: 0.75;
}

.vm-last-link{
  display: inline-block;
  font-size: 12.5px;
  color: var(--text);
  text-decoration: none;
  opacity: 0.9;
}

.vm-last-link:hover{
  text-decoration: underline;
}

/* ========== Responsive ========== */
@media (max-width: 860px){
  .vm-forumcard-top{
    grid-template-columns: 44px 1fr;
    grid-auto-rows: auto;
  }
  .vm-top-stats{
    grid-column: 1 / -1;
    text-align: left;
    justify-content: flex-start;
  }
  .vm-forumcard-main{
    flex-direction: column;
  }
  .vm-main-thumb{
    width: 100%;
    height: 160px;
  }
  .vm-main-last{
    width: 100%;
  }
}

/* Forum-ID-spezifisch*/
/* Lake Briar */
#forum_1 .vm-forum-icon{ background-image: url(../../../images/icons/lake.png); }
#forum_2 .vm-forum-icon{ background-image: url(../../../images/icons/chronik.png); }
#forum_3 .vm-forum-icon{ background-image: url(../../../images/icons/gesuche.png); }

/* Gesamtblock */
.vm-forum{
  margin: 14px 0;
  padding: 16px 18px;
  background:
  linear-gradient(to bottom, rgba(0,0,0,0.28), rgba(0,0,0,0.16));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    inset 0 -1px 0 rgba(0,0,0,0.55),
    0 14px 26px rgba(0,0,0,0.28);
  position: relative;
  overflow: hidden;
}

/* subtiler Textur-Schleier (optional, wenn du grain hast) */
.vm-forum::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
    background: linear-gradient(180deg, rgb(8 9 8 / 0%), rgb(18 16 12 / 0%)), radial-gradient(ellipse at 50% 40%, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55) 70%), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.015) 1px, rgba(0, 0, 0, 0.015) 1px, rgba(0, 0, 0, 0.015) 2px);
    mix-blend-mode: multiply;
    opacity: 0.9;
}

/* Der schmale Kern */
.vm-forum-core{
  position: relative;
  z-index: 2;
  align-items: center;
  gap: 14px;
  max-width: 760px;     /* das ist der Trick gegen “breit” */
  margin: 0 auto;       /* mittig setzen */
  padding: 4px 0 10px;
}

/* Icon links */
.vm-forum-icon{
  width: 108px;
  height: 78px;
  flex: 0 0 108px;
  background-image: url(../../../images/icons/default.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.vm-forum-icon::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 40% 35%, rgba(210,179,107,0.18), transparent 55%),
    rgba(0,0,0,0.22);
}

/* Titel + Beschreibung */
.vm-forum-text{
  flex: 1;
  min-width: 0;
}

/* Titel: nicht zu groß, dafür prägnant */
.vm-forum-title{
  display: inline-block;
  padding: 0 10px 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 18px;
  color: #d2b36b;
  text-shadow: 0 2px 10px rgba(0,0,0,0.65);
  position: relative;
}

/* kurze Linie unter dem Titel, statt “endlose Linien links/rechts” */
.vm-forum-title::after{
  content:"";
  display: block;
  width: 140px;
  height: 1px;
  margin-top: 7px;

  background: rgba(210,179,107,0.45);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35);
}

/* Beschreibung:  */
.vm-forum-desc{
    margin-top: 8px;
    background: #0a0c0c78;
    color: #ddd;
    padding: 10px;
    text-align: justify;
    line-height: 1.5;
    text-shadow: 1px 1px 1px rgb(0 0 0);
    backdrop-filter: blur(2px);
    transform: rotate(0.9deg);
    border: 1px solid #3a372f;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* Subforen: Chips, mittig, bricht in Reihen */
.vm-subforums{
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 1100px;     /* ebenfalls begrenzen */
  margin: 12px auto 0;
  padding-top: 12px;
  border-top: 1px solid rgba(210,179,107,0.12);
}

/* Chips */
.vm-subforums a{
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(180,150,90,0.18);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  color: rgba(220,215,200,0.88);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    inset 0 -1px 0 rgba(0,0,0,0.45);
}

.vm-subforums a:hover{
  color: #d2b36b;
  background: rgba(0,0,0,0.28);
  box-shadow:
    inset 0 0 0 1px rgba(210,179,107,0.18),
    0 10px 20px rgba(0,0,0,0.18);
}

/* mobile fallback */
@media (max-width: 820px){
  .vm-forum-core{ max-width: 100%; margin: 0; }
  .vm-subforums{ max-width: 100%; margin: 12px 0 0; }
}
