/* ================== BASIS ================== */
*{box-sizing:border-box}
.gp-rk-root{max-width:1200px;margin:0 auto;padding:20px;position:relative;z-index:50}
.gp-rk-empty{padding:14px;opacity:.85;color:#eee}

.gp-rk-row{
  display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;
  padding:18px;margin-bottom:14px;border-radius:22px;
  background:linear-gradient(135deg,rgba(0,0,0,.65),rgba(0,0,0,.35));
  backdrop-filter:blur(22px) saturate(140%);
  box-shadow:0 30px 80px rgba(0,0,0,.85),inset 0 1px 0 rgba(255,255,255,.08);
}
.gp-rk-info{display:flex;flex-wrap:wrap;gap:10px;align-items:baseline}
.gp-rk-info strong{font-size:1.05rem;color:#ffd36a;text-shadow:0 0 16px rgba(245,195,106,.35)}
.gp-rk-info span{color:#eee;text-shadow:0 1px 3px rgba(0,0,0,.8)}
.gp-rk-note{color:#eee;opacity:.95}

.gp-rk-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.gp-rk-form{margin:0}

.gp-rk-btn{
  padding:8px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.14);
  background:linear-gradient(135deg,#ffd36a,#ff9f1c);
  color:#000;font-weight:700;cursor:pointer;
}
.gp-rk-btn:hover{filter:brightness(1.05)}
.gp-rk-btn-ghost{
  background:rgba(255,255,255,.08);
  color:#fff;border:1px solid rgba(255,255,255,.18);
}
.gp-rk-btn-details{
  background:rgba(255,255,255,.12);
  color:#fff;border:1px solid rgba(255,255,255,.18);
}

.gp-rk-details{display:none;padding:14px 0;overflow:visible !important}
.gp-rk-details.open{display:block}

/* ================== CARD / GRID ================== */
.gp-rk-card{
  background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.05));
  backdrop-filter:blur(30px) saturate(160%);
  border:1px solid rgba(255,255,255,.12);
  border-radius:28px;
  padding:16px;
  box-shadow:0 50px 140px rgba(0,0,0,.85),inset 0 1px 0 rgba(255,255,255,.25);
  overflow:visible !important;
}
.gp-rk-card-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:16px;overflow:visible !important}
@media(max-width:980px){.gp-rk-card-grid{grid-template-columns:1fr}}
.gp-rk-muted{opacity:.85;color:#eee}

/* Headings in Gold */
.gp-rk-card h4{
  margin:0 0 10px 0;
  font-weight:800;
  background:linear-gradient(135deg,#ffd36a,#ff9f1c);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  text-shadow:0 0 18px rgba(255,180,60,.35);
}

/* ================== TEILNEHMER LISTE ================== */
.gp-rk-users{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.gp-rk-user{display:flex;align-items:center;gap:12px}
.gp-rk-classicon{width:44px;height:44px;border-radius:10px;border:1px solid rgba(255,255,255,.18);background:rgba(0,0,0,.4)}
.gp-rk-classicon-fallback{width:44px;height:44px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.18);color:#fff}

.gp-rk-username{
  color:#ffd36a;font-weight:800;
  text-shadow:0 0 10px rgba(255,210,100,.35);
}
.gp-rk-usermeta{color:#eee;opacity:.95}

/* KLASSENFARBEN (Text nur für Meta) */
.gp-rk-class-druid   .gp-rk-usermeta { color:#ff7d0a; }
.gp-rk-class-warrior .gp-rk-usermeta { color:#c79c6e; }
.gp-rk-class-paladin .gp-rk-usermeta { color:#f58cba; }
.gp-rk-class-hunter  .gp-rk-usermeta { color:#abd473; }
.gp-rk-class-rogue   .gp-rk-usermeta { color:#fff569; }
.gp-rk-class-priest  .gp-rk-usermeta { color:#ffffff; }
.gp-rk-class-shaman  .gp-rk-usermeta { color:#0070de; }
.gp-rk-class-mage    .gp-rk-usermeta { color:#69ccf0; }
.gp-rk-class-warlock .gp-rk-usermeta { color:#9482c9; }

/* ================== BUFFS / DEBUFFS ================== */
.rk-buffs{
  margin-top:10px;
  padding:18px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  background:linear-gradient(135deg,rgba(0,0,0,.35),rgba(0,0,0,.22));
  backdrop-filter:blur(28px) saturate(160%);
  border-radius:26px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 40px 120px rgba(0,0,0,.85),inset 0 1px 0 rgba(255,255,255,.15);
}

.rk-buffs-title{
  width:100%;
  font-weight:900;
  letter-spacing:.4px;
  color:#f5c36a;
  text-shadow:0 0 16px rgba(245,195,106,.35);
  margin-bottom:6px
}
.rk-buffs-title.debuff{
  color:#ff8a8a;
  text-shadow:0 0 16px rgba(255,138,138,.35)
}

.rk-buff{position:relative;width:38px;height:38px}
.rk-buff img{
  width:38px;height:38px;border-radius:7px;
  background:rgba(0,0,0,.45);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 10px 24px rgba(0,0,0,.65)
}
.rk-buff.ok img{box-shadow:0 0 0 1px rgba(255,255,255,.25),0 0 22px rgba(245,195,106,.35)}
.rk-buff.missing img{filter:grayscale(1) opacity(.20)}

.rk-buff-fallback{
  width:38px;height:38px;border-radius:7px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.18);
  color:#ffd36a;font-weight:900;
}

.rk-tip{
  display:none;position:absolute;left:50%;transform:translateX(-50%);
  bottom:46px;z-index:99999;
  background:#000;padding:8px 12px;border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  font-size:.85rem;white-space:nowrap;
  box-shadow:0 14px 40px rgba(0,0,0,.6)
}
.rk-buff:hover .rk-tip{display:block}

/* ================== SCOPED CLIP FIX (NUR RAIDKALENDER SEITE) ==================
   Astra/Elementor clippt über #content / elementor container → nur auf elementor-page-2822
*/
body.elementor-page-2822,
body.elementor-page-2822 html{
  height:auto !important;
  min-height:100% !important;
  overflow-y:auto !important;
}
body.elementor-page-2822 #page,
body.elementor-page-2822 #content,
body.elementor-page-2822 main#content,
body.elementor-page-2822 .site-content{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:visible !important;
}
/* exakt der Container aus deinem DOM (d1e8178) */
body.elementor-page-2822 .elementor-element.elementor-element-d1e8178,
body.elementor-page-2822 .elementor-element.elementor-element-d1e8178 .e-con,
body.elementor-page-2822 .elementor-element.elementor-element-d1e8178 .e-con-inner,
body.elementor-page-2822 .elementor-element.elementor-element-d1e8178 .elementor-widget-container,
body.elementor-page-2822 .elementor-element.elementor-element-d1e8178 .elementor-shortcode{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:visible !important;
  clip-path:none !important;
  contain:none !important;
}
/* =====================================================
   GOLDEN PHOENIX – RAIDKALENDER BACKGROUND
   NUR /golden-phoenix/raidkalender (Page ID 2822)
===================================================== */

body.page-id-2822 {
  position: relative;
  min-height: 100vh;
}

/* Hintergrund fixiert, unabhängig von Content */
body.page-id-2822::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background:
    radial-gradient(
      circle at center,
      rgba(255,160,60,0.25),
      rgba(0,0,0,0.85) 70%
    ),
    url("https://4gamerz.de/wp-content/uploads/2026/01/Background.png")
      center center / cover no-repeat;

  background-attachment: fixed;
}

/* Sicherheit: nichts darf clippen */
html,
body.page-id-2822 {
  min-height: 100vh !important;
  height: auto !important;
}
body.page-id-2822,
body.page-id-2822 * {
  cursor: url("https://4gamerz.de/wp-content/uploads/cursor/flame_cursor.png") 4 4, auto;
}
/* =====================================================
   GP RAIDKALENDER – FINAL BODY FIX
   NUR /golden-phoenix/raidkalender
===================================================== */

body.page-id-2822 {
  min-height: 100vh !important;
  height: auto !important;
  overflow-y: auto !important;
}

body.page-id-2822 html,
body.page-id-2822 #page,
body.page-id-2822 #content,
body.page-id-2822 .site-content,
body.page-id-2822 .ast-container,
body.page-id-2822 .elementor,
body.page-id-2822 .elementor-section,
body.page-id-2822 .elementor-container,
body.page-id-2822 .e-con,
body.page-id-2822 .e-con-inner {
  min-height: 100vh !important;
  height: auto !important;
  overflow: visible !important;
}
/* ===== GP RK FIX: nichts abschneiden ===== */
.gp-rk-page,
.gp-rk-shell {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: visible !important;
}

.gp-rk-page {
  padding: 24px 12px;
  min-height: 60vh;
}

.gp-rk-shell {
  padding: 18px;
  box-sizing: border-box;
}

/* Elementor/Theme killt oft overflow/height */
.elementor-section,
.elementor-container,
.elementor-widget-wrap,
.elementor-widget {
  overflow: visible;
}
/* ===== GP RK FIX: nichts abschneiden ===== */
.gp-rk-page,
.gp-rk-shell {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: visible !important;
}

.gp-rk-page {
  padding: 24px 12px;
  min-height: 60vh;
}

.gp-rk-shell {
  padding: 18px;
  box-sizing: border-box;
}

/* Elementor/Theme killt oft overflow/height */
.elementor-section,
.elementor-container,
.elementor-widget-wrap,
.elementor-widget {
  overflow: visible;
}
/* =====================================================
   GP – Raidkalender FIX
   NUR /golden-phoenix/raidkalender
===================================================== */

body.page-raidkalender
.elementor-element.elementor-element-d1e8178 {
  min-height: 100vh !important;
  display: flex;
  align-items: stretch;
}
body.page-raidkalender .elementor {
  min-height: 100vh !important;
}
/* =====================================================
   GP – RAIDKALENDER ABSOLUTER FIX
   NUR /golden-phoenix/raidkalender
===================================================== */

body.page-raidkalender,
body.page-raidkalender #page,
body.page-raidkalender .elementor,
body.page-raidkalender .elementor-section,
body.page-raidkalender .elementor-container,
body.page-raidkalender .elementor-column,
body.page-raidkalender .elementor-widget-wrap {
  min-height: 100vh !important;
  height: auto !important;
  overflow: visible !important;
}

/* Ziel-Container explizit */
body.page-raidkalender
.elementor-element.elementor-element-d1e8178 {
  min-height: 100vh !important;
  height: auto !important;
  overflow: visible !important;
  display: flex;
  flex-direction: column;
}
/* =====================================================
   GP RAIDKALENDER – ABSOLUT FINAL FIX
   Eigener "Pseudo-Body" NUR für diese Seite
===================================================== */

body.gp-raidkalender-page {
  min-height: 100vh !important;
  overflow-x: hidden;
}

/* Unser eigener Body */
body.gp-raidkalender-page .gp-rk-page-root {
  min-height: 100vh !important;
  display: flex;
  flex-direction: column;
  background: url("https://4gamerz.de/wp-content/uploads/2026/01/Background.png")
              center / cover no-repeat;
}

/* Elementor darf NICHT abschneiden */
body.gp-raidkalender-page .elementor,
body.gp-raidkalender-page .elementor-section,
body.gp-raidkalender-page .elementor-container,
body.gp-raidkalender-page .elementor-widget-wrap {
  height: auto !important;
  min-height: unset !important;
  overflow: visible !important;
}
/* NUR Raidkalender-Seite */
body.page-id-2822 {
  min-height: 100vh;
}

/* Der äußere Elementor-Container */
body.page-id-2822 .elementor-element-d1e8178 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Raidkalender selbst darf wachsen */
body.page-id-2822 .gp-rk-root {
  flex: 1;
}
