/*
Theme Name: Trésor Sublime
Theme URI: https://tresor-sublime.com
Author: Trésor Sublime Team
Author URI: https://tresor-sublime.com
Description: An elegant WordPress theme for a French-language blog focused on beauty, wellness, personal development, and daily inspiration.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tresor-sublime
Tags: blog, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, beauty, wellness, feminine
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Open+Sans:wght@300;400;600&display=swap');

/* CSS Variables */
:root {
  /* Colors */
  --color-primary: #F8E2E2; /* Blush Pink */
  --color-secondary: #E5DCC5; /* Beige */
  --color-accent: #F5E9CF; /* Light Gold */
  --color-background: #FFFEF6; /* Ivory */
  --color-text: #333333;
  --color-text-light: #666666;
  --color-link: #D8A9A9;
  --color-link-hover: #C78383;
  --color-border: #EEE6E6;
  --color-success: #D4EDDA;
  --color-warning: #FFF3CD;
  --color-error: #F8D7DA;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  
  /* Border Radius */
  --border-radius: 4px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
 

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  font-weight: 400;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover, a:focus {
  color: var(--color-link-hover);
}

img {
  max-width: 100%;
  height: auto;
}

/* WordPress Core Styles */
.alignleft {
  float: left;
  margin-right: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.alignright {
  float: right;
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
  padding: var(--spacing-xs);
  text-align: center;
  background: var(--color-primary);
  border-radius: var(--border-radius);
}

.wp-caption img {
  width: auto;
  height: auto;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.wp-caption-text {
  margin: var(--spacing-xs) 0 0;
  font-size: 0.875rem;
  font-style: italic;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.text-center {
  text-align: center;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Additional styling imported from other CSS files */