/*
Theme Name: GeneratePress Child – Landing Blocks
Theme URI: https://example.com
Author: alfasearch
Template: generatepress
Version: 1.0.0
Description: Child theme for a modular, multi-block landing with section-specific designs.
*/

/* ---------- CSS Variables (light, professional, multi-accent) ---------- */
:root{
  --bg: #f7f9fc;
  --bg-alt: #ffffff;
  --bg-soft: #f3f4f6;
  --surface: #ffffff;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 10px 25px rgba(17,24,39,.08);

  /* Multicolor accents for varied sections */
  --accent:   #2563eb; /* blue */
  --accent-2: #10b981; /* green */
  --accent-3: #f59e0b; /* amber */
  --accent-4: #ef4444; /* red */
  --accent-5: #8b5cf6; /* violet */
  --accent-6: #14b8a6; /* teal */
  --accent-7: #e11d48; /* rose */
  --accent-8: #0ea5e9; /* sky */

  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --maxw: 1080px;
}

/* ---------- Base typography, spacing ---------- */
html{scroll-behavior:smooth}
body{
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.entry-content, .inside-article, .site-content{
  max-width: var(--maxw);
}

/* Better default link styling */
.entry-content a{
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed rgba(37,99,235,.45);
}
.entry-content a:hover{
  border-bottom-style: solid;
}

/* Utility container when we need edge-to-edge blocks inside GeneratePress */
.full-bleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ---------- Hide theme chrome on this landing only ---------- */
/* We add body class via functions.php (landing-canvas). */
body.landing-canvas .site-header,
body.landing-canvas .site-footer,
body.landing-canvas .inside-header,
body.landing-canvas .site-info{
  display: none !important;
}
body.landing-canvas .site-content{
  padding-top: 0 !important;
}

/* Provide a subtle background rhythm for the landing */
body.landing-canvas{
  background:
    radial-gradient(1200px 400px at 50% -200px, rgba(37,99,235,.06), transparent 70%),
    linear-gradient(180deg, #ffffff, var(--bg));
}

/* Headings base (section-specific overrides live in main-page.css) */
.entry-content h1{
  font-weight: 800;
  letter-spacing: -.01em;
}
.entry-content h2{
  font-weight: 800;
  line-height: 1.15;
  margin: 2.2rem 0 1rem;
}
.entry-content h3{
  font-weight: 700;
  margin: 1.6rem 0 .75rem;
}
