/*
Theme Name: LittleCreek Finance v3
Theme URI: https://littlecreek.finance
Description: Theme enfant GeneratePress pour LittleCreek Finance - comparateur honnete de brokers et plateformes crypto pour francophones. Design Revolut x Tickmill, palette violet/bleu, glassmorphism, dark/light alternance. v3 - Refonte complete Phase A.
Author: LittleCreek Finance
Author URI: https://littlecreek.finance
Template: generatepress
Version: 3.0.2
Text Domain: littlecreek-finance-v3
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, news, finance, comparator, dark, glassmorphism
*/

/* Import du design system + composants + pages */
@import url('design-system.css');
@import url('components.css');

/* Reset minimal anti-conflit GeneratePress */
:root {
  --gp-override: 1;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--lc-font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--lc-text);
  background-color: var(--lc-dark-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container override */
.site-content,
.inside-article,
.entry-content {
  max-width: 100%;
}

/* Fix GeneratePress header conflicts */
.site-header {
  background: transparent !important;
}

.main-navigation {
  background: transparent !important;
}

/* ==========================================================================
   GENERATEPRESS PARENT NEUTRALIZATION
   Neutralise les wrappers/contraintes du theme parent qui cassent
   les sections full-bleed et les images cover (height:auto force).
   ========================================================================== */

/* Parent grid container ne doit pas contraindre nos sections full-width */
.lcf3-theme .site-content,
.lcf3-theme .inside-article,
.lcf3-theme .entry-content,
.lcf3-theme .site-main,
.lcf3-theme .content-area,
.lcf3-theme .grid-container,
.lcf3-theme #primary {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.lcf3-theme .inside-article {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Hero & card images : forcer cover (GP applique height:auto !important) */
.lc-single__hero img,
.lc-card__media img,
.lc-card__media > img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Contenu d'article : les images inline doivent rester naturelles */
.lc-single__content img,
.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: var(--lc-sp-6) auto;
  border-radius: var(--lc-radius);
}
