/* ============================================================
   1PEN SCROLLBOX — FINAL FLOATING META FIX
   ============================================================ */

.scrollbox-glass {
  position: relative;
  --scroll-pos: 0%;
  width: 94%;
  max-width: 1400px;
  height: 74vh;
  margin: 0.5rem auto 4.5rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1.4rem;
  background: rgba(214,240,242,.09);
  backdrop-filter: blur(15px) saturate(160%);
  box-shadow: 0 0 45px rgba(0,0,0,.35);
  overflow: hidden;
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600&family=Inter:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@400;700&family=Cinzel:wght@500;600&family=Inter:wght@300;400;500&display=swap');

/* === Base Text === */
.scrollbox-glass,
.scrollbox-glass * {
  font-family: "Inter", sans-serif !important;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: #E7E9EB;
  letter-spacing: 0.01em;
}

/* === META INFO (FLOATING IN CORNER) === */
.meta-info {
  position: absolute;
  top: 0.8rem;
  left: 1rem;
  z-index: 10;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  line-height: 1.25;
  color: rgba(230, 235, 238, 0.55);
  letter-spacing: 0.015em;
  font-style: italic;
  opacity: 0.6;
  pointer-events: none;
  text-align: left;
}
.meta-info strong {
  font-weight: 400;
  color: rgba(230, 235, 238, 0.75);
  font-style: normal;
}

/* === Header2: Welcome to 1pen.dk === */
.scrollbox-inner h2 {
  font-family: "Cinzel", serif !important;
  font-weight: 600;
  font-size: 3.8rem;
  line-height: 1.1;
  color: #F9FAFB;
  text-align: center;
  letter-spacing: 0.045em;
  margin-top: 3rem; /* gives breathing room below corner text */
  margin-bottom: 0.15rem;
}

/* === Subtitle: Art&Books by Helene Larsen === */
.scrollbox-inner h2 + p strong {
  display: block;
  text-align: center;
  font-family: "Inter", sans-serif !important;
  font-weight: 400;
  font-size: 1.4rem;
  color: #C9D8E5;
  letter-spacing: 0.03em;
  margin-top: 0;
  margin-bottom: 2.4rem;
}

/* === Section Headers (H3) === */
.scrollbox-inner h3 {
  font-family: "Cinzel", serif !important;
  font-weight: 500;
  font-size: 1.65rem;
  color: #F2F4F8;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

/* === Body Text === */
.scrollbox-inner p {
  font-weight: 300;
  font-size: 0.95rem;
  color: #D8DEE4;
  line-height: 1.9;
  margin-bottom: 1rem;
  text-align: left;
}

/* === Lists === */
.scrollbox-inner ul,
.scrollbox-inner ol {
  margin-left: 1.5rem;
  padding-left: 0.5rem;
}
.scrollbox-inner li {
  margin-bottom: 0.4rem;
}

/* === Links === */
.scrollbox-inner a {
  color: #9DC7FF;
  text-decoration: none;
}
.scrollbox-inner a:hover {
  color: #D4B66C;
}

/* === Scroll Area === */
.scrollbox-big {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  scrollbar-gutter: stable;
  border-radius: inherit;
  scroll-behavior: smooth;
}

/* === Layout === */
.scrollbox-inner {
  padding: 3.5rem 5rem 4rem;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}

/* === Custom Scrollbar === */
.scrollbox-big::-webkit-scrollbar {
  width: 52px;
}
.scrollbox-big::-webkit-scrollbar-thumb {
  background: url("/wp-content/themes/onepen-2027/assets/img/Scrool-btn.png")
              center center / 70% no-repeat;
  border: none;
  min-height: 120px;
  filter: brightness(1);
  transition: filter 0.25s ease-in-out;
}
.scrollbox-big::-webkit-scrollbar-thumb:hover {
  filter: brightness(1.4) drop-shadow(0 0 10px #D4B66C);
}

/* === Decorative Scroll Ornament === */
.scrollbox-glass::after {
  content: "";
  position: absolute;
  right: -6px;
  top: calc(clamp(60px, var(--scroll-pos, 0%), calc(100% - 65px)));
  transform: translateY(-50%);
  width: 64px;
  height: 192px;
  background: url("/wp-content/themes/onepen-2027/assets/img/Scrool-btn.png")
              center center / contain no-repeat;
  opacity: 0.9;
  pointer-events: none;
  filter:
    drop-shadow(0 0 8px rgba(210, 240, 255, 0.55))
    drop-shadow(3px 6px 10px rgba(0, 0, 0, 0.45));
  transition: top 0.1s linear;
}

/* === Firefox Fallback === */
.scrollbox-big {
  scrollbar-width: thin;
  scrollbar-color: #D4B66C transparent;
}
/* ============================================================
   SIGNATURE BLOCK — Gold Tangerine Version (Active)
   ============================================================ */

.signature-block {
  text-align: center;
  font-family: 'Tangerine', cursive;
  font-size: 2.2rem;            /* elegant but readable */
  color: #d4b66c;
  line-height: 1.4;
  letter-spacing: 0.03em;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
  filter: drop-shadow(0 0 4px rgba(212, 182, 108, 0.35));
}

.signature-block em {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255, 230, 190, 0.75);
  margin-top: 0.3rem;
}
