/* ═══════════════════════════════════════════════════════════════════
   component-fullwidth.css — Universal Full-Width Page Overrides
   
   Auto-loaded when a page uses the "KORE1 Full Width" template.
   Replaces ~300+ lines of per-page-ID boilerplate across 15+ files.

   Body class applied by WordPress: .page-template-template-fullwidth
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. Force full-width layout ── */
body.page-template-template-fullwidth .site-content,
body.page-template-template-fullwidth .content-area,
body.page-template-template-fullwidth .inside-article,
body.page-template-template-fullwidth .entry-content,
body.page-template-template-fullwidth article,
body.page-template-template-fullwidth .grid-container,
body.page-template-template-fullwidth #content,
body.page-template-template-fullwidth .site-main,
body.page-template-template-fullwidth #primary {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.page-template-template-fullwidth .site-content .content-area {
  float: none !important;
}

/* ── 2. Hide default WordPress title ── */
body.page-template-template-fullwidth .entry-title,
body.page-template-template-fullwidth .entry-header {
  display: none !important;
}

/* ── 3. Hide sidebar ── */
body.page-template-template-fullwidth #right-sidebar,
body.page-template-template-fullwidth .sidebar {
  display: none !important;
}

/* ── 4. Prevent horizontal overflow ── */
body.page-template-template-fullwidth .site-content {
  overflow: hidden !important;
}

body.page-template-template-fullwidth {
  overflow-x: hidden !important;
}

/* ── 5. Zero out top spacing (hero sections start at top) ── */
body.page-template-template-fullwidth .site-header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.page-template-template-fullwidth .site {
  padding-top: 0 !important;
}

body.page-template-template-fullwidth .inside-article,
body.page-template-template-fullwidth article {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.page-template-template-fullwidth .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.page-template-template-fullwidth .site-content,
body.page-template-template-fullwidth #content,
body.page-template-template-fullwidth .site-main,
body.page-template-template-fullwidth .content-area {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ── 6. Kill wpautop empty paragraphs between divs ── */
body.page-template-template-fullwidth .entry-content > p,
body.page-template-template-fullwidth .entry-content > br {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}
