.light {
    background-color: #d93 !important;
    background-image: url("https://www.bubblegumart.de/wp-content/uploads/2018/12/back.png");
}

.dark {
    background-color: #000 !important; 
    background-image: url("https://www.bubblegumart.de/wp-content/uploads/2018/12/back.png");
}
.date, div p.text-sm,html.light.hydrated body div.flip-container.flip-it div.flipper div.back div.container footer.flex.justify-between.items-center.gap-2.px-4.py-12 {
    display:none;
}
a.text-lg.font-semibold.cursor-pointer, div.card-body h2.card-title, h1 {
    font-family: "Lobster", Arial !important;
    font-size: 16pt;
    text-shadow: 0.05em 0.05em #333 !important;
    color:white !important;
}
.hover\:bg-base-content\/10:hover {
  background-color: var(--fallback-bc,oklch(var(--b1)/1));
}
nav.sticky, footer.flex.justify-between.items-center.gap-2.px-4.py-12 {
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity, 1)));
  margin-top: 0rem !important;
}
footer.flex.justify-between.items-center.gap-2.px-4.py-12 { 
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 10px;
  padding: 5px;
}
article#dream-single-post-main {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  --tw-bg-opacity: 1;
  background-color: var(--fallback-b1,oklch(var(--b1)/var(--tw-bg-opacity, 1)));
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--rounded-box, 1rem);
  padding: 2em;
}
#dream-single-post-main > header:nth-child(5) > p:nth-child(2) {
 display:none;
}
html.light.hydrated,body {
    min-height: 100vh;
    display: flex; /* Helps if you want child elements to expand */
    flex-direction: column;
}
 .lg\:col-span-2 {
    grid-column: span 4 / span 4;
}
.instagram-gallery {
    column-count: 3;  /* Adjust for different screen sizes */
    column-gap: 10px;
}

.instagram-post {
    display: inline-block; /* Prevent breaking inside columns */
    width: 100%;
    margin-bottom: 10px;
}

.instagram-post img {
    width: 100%;
    border-radius: 8px;
    display: block;
}
.prose {
max-width: 100ch !important;
}

/* Disable background scrolling when lightbox is open */
body.lightbox-active {
    overflow: hidden;
}

/* Lightbox stays fixed in the viewport */
#lightbox-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
    z-index: 99999;
}
#lightbox-container.active {
    opacity: 1;
    visibility: visible;
}

/* Ensure the image stays centered and properly scaled */
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-content img {
    max-width: 80vw;
    max-height: 80vh;
    border-radius: 8px;
    object-fit: contain;
}

/* Close Button */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
.close:hover {
    color: #ff4444;
}

/* Navigation Arrows */
button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
}
button:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}
#prev {
    left: 20px;
}
#next {
    right: 20px;
}
button span {
    font-size: 30px;
    line-height: 1;
}
#dream-global-bg {
  z-index: 0;
}
#lightbox-container {
    position: fixed; /* Ensures it covers the whole viewport */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
    z-index: 99999; /* High value to be on top */
    
    /* Forces a new stacking context */
    transform: translateZ(0);  
    will-change: transform;
}

.wa-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 50px;
  right: 20px;
  background-color: grey;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.wa-float:hover {
  background-color: #fff;
}

img.wa-icon {
  width: 35px;
  height: 35px;
}
