/* ActProxy - Homepage custom styling
   Place this file at: /templates/<your_template>/css/actproxy-homepage.css
   This stylesheet is scoped to the #top-content homepage section only.
*/

/* Scoped Google Font (apply ONLY inside the top band section) */
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300..900&family=Rubik+Glitch&display=swap');
:root{
  /* If your theme’s main content wrapper has padding (often 20px), set it here */
  --act-main-pad: 20px;

  /* Vertical padding INSIDE the white top band */
  --act-topband-pad: 24px;

  /* Minimum height of the band (70% smaller than the original larger band) */
  --act-topband-minh: clamp(78px, 10.5vh, 132px);

  /* Title sizes (you set these to fixed 32px) */
  --act-big-title-size: 48px;
  --act-big-title-weight: 900; 
  --act-sub-title-size: 20px;
  --act-sub-title-weight: 400; 
}

/* Separate fonts for big title vs subtitle in the top band */
#top-content.act-fullbleed .big-title{
  font-family:"Rubik Glitch","Rubik",sans-serif;
}

#top-content.act-fullbleed .sub-title{
  font-family:"Rubik",sans-serif;
}



/* Full-bleed white band that bypasses the parent container padding */
#top-content.act-fullbleed{
  background:#333;

  /* Make it span the viewport even when inside a fixed-width parent */
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);

  /* Pull up to bypass the parent’s top padding */
  margin-top:calc(-1 * var(--act-main-pad));

  /* Remove side padding so white reaches the edges */
  padding-left:0;
  padding-right:0;

  /* Keep content nicely spaced while accounting for the bypass */
  padding-top:calc(var(--act-topband-pad) + var(--act-main-pad));
  padding-bottom:var(--act-topband-pad);

  /* True vertical centering */
  min-height:var(--act-topband-minh);
  display:flex;
  align-items:center;

  /* Scoped font for this section only */
  font-family: "Rubik", sans-serif;
  color: #fff;
}

/* Keep WHMCS inner container centered */
#top-content.act-fullbleed > .container{
  width:100%;
}

/* Text styling inside the band */
#top-content.act-fullbleed .big-title{
  font-size:var(--act-big-title-size);
  line-height:1;
}

#top-content.act-fullbleed .sub-title{
  font-size:var(--act-sub-title-size);
  line-height:1.2;
  margin-top:10px;
}

/* Keep form controls readable (don’t force Zen Dots on inputs) */
#top-content.act-fullbleed input,
#top-content.act-fullbleed button,
#top-content.act-fullbleed select,
#top-content.act-fullbleed textarea{
  font-family: "Rubik", sans-serif;
}

/* Dark text-only section below the top band */
#platforms-simple.act-darkband{
  background:#fff;
  color:#333;

  /* Full-bleed like the top band */
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);

  padding:32px 0;
}

#platforms-simple.act-darkband .act-lines{
  text-align:center;
}

#platforms-simple.act-darkband .act-line{
  margin:0.35rem 0;
  line-height:1.45;
}

#platforms-simple.act-darkband .act-section-title{
  font-family:"Rubik Glitch","Rubik",sans-serif;
  font-size:38px;
  line-height:1.1;
  text-align:center;
  margin:0 0 14px 0;
}

/* Bullet/marker hard-disable (in case markup is still a UL/Li somewhere) */
#platforms-simple ul{
  list-style:none !important;
  padding-left:0 !important;
  margin:0 !important;
}
#platforms-simple li{
  list-style:none !important;
  margin:0.35rem 0;
}
#platforms-simple li::marker{
  content:"" !important;
}
#platforms-simple .act-line::before{
  content:none !important;
}
