/*
Theme Name: Rituel Adaptogènes
Theme URI: https://champignon-adaptogenes.test
Author: Claude Code
Author URI: https://anthropic.com
Description: Thème premium pour portail d'information sur les champignons adaptogènes. Design moderne, chaleureux, style lifestyle/café. Navigation par silos avec pages mères et pages filles.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rituel-adaptogenes
Tags: blog, one-column, two-columns, custom-menu, featured-images, translation-ready

Rituel Adaptogènes - Le guide ultime des champignons adaptogènes
*/

/* Base Reset - Tailwind handles most styling */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* WordPress Core Styles */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

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

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

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

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #FCF9F4;
}

::-webkit-scrollbar-thumb {
    background: #D97706;
    border-radius: 6px;
    border: 3px solid #FCF9F4;
}

/* Thin scrollbar for sidebar navigation */
.scrollbar-thin::-webkit-scrollbar,
nav ul::-webkit-scrollbar {
    width: 6px;
}

.scrollbar-thin::-webkit-scrollbar-track,
nav ul::-webkit-scrollbar-track {
    background: transparent;
}

.scrollbar-thin::-webkit-scrollbar-thumb,
nav ul::-webkit-scrollbar-thumb {
    background: #D9770640;
    border-radius: 3px;
}

.scrollbar-thin::-webkit-scrollbar-thumb:hover,
nav ul::-webkit-scrollbar-thumb:hover {
    background: #D97706;
}

/* Hide scrollbar but keep functionality */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Selection */
::selection {
    background: #D97706;
    color: white;
}

/* Grain texture overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.04;
    z-index: 50;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Zoom card effect */
.zoom-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.zoom-card:hover {
    transform: scale(1.02);
}

/* Search shadow */
.search-shadow {
    box-shadow: 0 20px 50px -10px rgba(69, 26, 3, 0.1);
}

/* Silo navigation active state */
.silo-nav-item.active {
    background-color: #D97706;
    color: white;
}

.silo-nav-item.active:hover {
    background-color: #B45309;
}

/* Content styling for WordPress editor content */
.entry-content h2 {
    font-family: 'Lora', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #451A03;
}

.entry-content h3 {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #451A03;
}

.entry-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content a {
    color: #D97706;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content a:hover {
    color: #B45309;
}

.entry-content blockquote {
    border-left: 4px solid #D97706;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #666;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.entry-content th,
.entry-content td {
    border: 1px solid #E5E1D8;
    padding: 0.75rem;
    text-align: left;
}

.entry-content th {
    background-color: #F3EDE2;
    font-weight: 600;
}
