/* LH STATIC PAGES LOADED ✅ */

/* LoopHive Content Within Footer Links */
/* =========================================================
   LoopHive — Static Pages (page-lh-static.php)
   File: /wp-content/themes/astra-child/assets/css/lh-static-pages.css
   Scope: only elements inside <main class="lh-page">
   ========================================================= */

/* ---------- Page rail + spacing ---------- */
.lh-page{
  width: min(980px, calc(100% - 56px));   /* smallere rail */
  margin: 0 auto;
  padding: 120px 0 84px;                  /* mere luft fra header */
  box-sizing: border-box;
}

/* if Astra container adds weird padding/margins */
body .site-content .ast-container{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ---------- Hero card ---------- */
.lh-hero-card{
  width: 100%;
  border-radius: 24px;
  padding: 28px 28px 22px;

  border: 1px solid rgba(255,255,255,.10);
  background: rgba(14, 16, 24, .62);
  box-shadow:
    0 22px 70px rgba(0,0,0,.50),
    0 0 0 1px rgba(255,255,255,.04) inset;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lh-hero-kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 8px 14px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,.12);
  background: rgba(124, 90, 255, .18);

  color: rgba(255,255,255,.88);
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
}

.lh-page-title{
  margin: 14px 0 8px;
  font-size: clamp(36px, 3.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,.96);
}

.lh-page-sub{
  margin: 0;
  max-width: 68ch;
  color: rgba(255,255,255,.66);
  font-size: 15px;
  line-height: 1.6;
}

.lh-hero-actions{
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Buttons */
.lh-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 11px 16px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.05);

  font-weight: 650;
  font-size: 13px;

  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.lh-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
}
.lh-btn.primary{
  background: rgba(124, 90, 255, .24);
  border-color: rgba(124, 90, 255, .40);
}
.lh-btn.primary:hover{
  background: rgba(124, 90, 255, .30);
}

/* Meta line */
.lh-meta{
  margin-top: 12px;
  font-size: 12.5px;
  color: rgba(255,255,255,.58);
}
.lh-meta strong{ color: rgba(255,255,255,.78); }

/* ---------- Content area ---------- */
.lh-page-content{
  /* more “designed” gap under hero */
  margin-top: 18px;
}

/* content card should feel substantial */
.lh-section-card{
  width: 100%;
  border-radius: 22px;
  padding: 26px 28px;

  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10, 12, 18, .58);
  box-shadow:
    0 20px 60px rgba(0,0,0,.50),
    0 0 0 1px rgba(255,255,255,.04) inset;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ---------- Typography inside Gutenberg ---------- */
.lh-section-card :is(p, li){
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  font-size: 15px;
}

/* headings */
.lh-section-card :is(h2, h3){
  color: rgba(255,255,255,.92);
  letter-spacing: -0.02em;
}

.lh-section-card h2{
  font-size: 20px;
  line-height: 1.25;
  margin: 22px 0 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.lh-section-card h2:first-child{
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.lh-section-card h3{
  font-size: 16px;
  line-height: 1.35;
  margin: 16px 0 8px;
  opacity: .96;
}

.lh-section-card ul,
.lh-section-card ol{
  margin: 10px 0 16px 20px;
}

.lh-section-card li{ margin: 6px 0; }

/* links */
.lh-section-card a{
  color: rgba(255,255,255,.90);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(124, 90, 255, .55);
}
.lh-section-card a:hover{
  text-decoration-color: rgba(124, 90, 255, .85);
}

/* mailto gets a tiny boost */
.lh-section-card a[href^="mailto:"]{
  color: rgba(255,255,255,.95);
}

/* optional: separators */
.lh-section-card hr{
  border: none;
  height: 1px;
  background: rgba(255,255,255,.10);
  margin: 18px 0;
}

/* ---------- Page-specific tweaks (Support looks “listy”) ---------- */
body.page-id-772 .lh-section-card :is(p, li){
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------- Mobile ---------- */
@media (max-width: 720px){
  .lh-page{
    width: min(1120px, calc(100% - 28px));
    padding: 72px 0 70px;
  }
  .lh-hero-card{ padding: 22px 18px 18px; border-radius: 20px; }
  .lh-section-card{ padding: 20px 18px; border-radius: 20px; }
  .lh-page-title{ font-size: clamp(30px, 7vw, 40px); }
}

.lh-page > .lh-hero-card{
  margin-top: 160px !important;
}

.lh-section-card {
    margin-bottom: 40px !important;
}

/* ================================
   Upload Guide – clean + calmer
   Page ID: 772
================================ */

/* Fjern den store ekstra titel inde i content-card
   (du har allerede titlen i hero) */
body.page-id-772 .lh-section-card h1:first-of-type,
body.page-id-772 .lh-section-card .wp-block-heading:first-child {
  display: none;
}

/* Brødtekst: lidt mindre + ren hvid/grå */
body.page-id-772 .lh-section-card p,
body.page-id-772 .lh-section-card li {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.78);
}

/* Links (fx mail) – hvidere og roligere */
body.page-id-772 .lh-section-card a {
  color: rgba(255,255,255,.90);
}

/* H2 sektioner (Supported formats, What to include osv) */
body.page-id-772 .lh-section-card h2 {
  font-size: 17px;
  line-height: 1.25;
  margin-top: 22px;
  color: rgba(255,255,255,.95);
}

/* H3 (hvis du bruger dem senere) */
body.page-id-772 .lh-section-card h3 {
  font-size: 15px;
  color: rgba(255,255,255,.90);
}

/* Bullets lidt tættere */
body.page-id-772 .lh-section-card ul {
  margin-top: 8px;
}

/* Mindre “støj” i strong (fx WAV, BPM osv) */
body.page-id-772 .lh-section-card strong {
  color: rgba(255,255,255,.92);
  font-weight: 600;
}

/* ================================
   Legal pages – clean titles
   (Terms, Privacy, Cookie, Creator Terms)
================================ */

/* Fjern den ekstra store titel inde i content card
   (du har allerede H1 i hero) */
.lh-page .lh-section-card > h1:first-child,
.lh-page .lh-section-card > .wp-block-heading:first-child {
  display: none;
}

/* Section titles (fx "1. The Service", "2. Eligibility & Accounts") */
.lh-page .lh-section-card h2 {
  font-size: 17px;
  line-height: 1.25;
  margin-top: 22px;
  margin-bottom: 8px;
  color: rgba(255,255,255,.96);
  letter-spacing: -0.01em;
}

/* Sub sections (h3) */
.lh-page .lh-section-card h3 {
  font-size: 15px;
  line-height: 1.3;
  margin-top: 16px;
  color: rgba(255,255,255,.92);
}

/* Brødtekst lidt roligere */
.lh-page .lh-section-card p,
.lh-page .lh-section-card li {
  color: rgba(255,255,255,.78);
  font-size: 14.5px;
  line-height: 1.65;
}

/* Nummer + titel (strong i headings) mindre shouty */
.lh-page .lh-section-card h2 strong,
.lh-page .lh-section-card h3 strong {
  font-weight: 600;
  color: rgba(255,255,255,.96);
}

/* ================================
   Static pages – CONTENT clean-up (robust)
   Works even when headings are wrapped in wp-block-group
================================ */

/* 1) Fjern "dobbelt titel" i content-card
   (skjuler FØRSTE heading i section-card uanset om den er h1/h2/h3 og uanset wrapper) */
.lh-page .lh-section-card :is(h1,h2,h3):first-of-type {
  display: none !important;
}

/* Hvis første heading ligger inde i første wrapper (meget normalt i Gutenberg) */
.lh-page .lh-section-card > *:first-child :is(h1,h2,h3):first-of-type {
  display: none !important;
}

/* 2) Section titles (typisk h2 i legal) — mindre + hvid */
.lh-page .lh-section-card h2 {
  font-size: 17px !important;
  line-height: 1.25 !important;
  margin: 22px 0 8px !important;
  color: rgba(255,255,255,.96) !important;
  letter-spacing: -0.01em !important;
}

/* 3) Sub headings (h3) */
.lh-page .lh-section-card h3 {
  font-size: 15px !important;
  line-height: 1.3 !important;
  margin: 16px 0 6px !important;
  color: rgba(255,255,255,.92) !important;
}

/* 4) Brødtekst */
.lh-page .lh-section-card p,
.lh-page .lh-section-card li {
  color: rgba(255,255,255,.78) !important;
  font-size: 14.5px !important;
  line-height: 1.65 !important;
}

