/*
Theme Name: ignite_mjkb
Theme URI: https://ysa.benard.cloud
Author: MJKB / OpenAI
Description: Fusion d'Ignite 2.0 et de gridzone_structured-mjkb pour HTMLy. Thème pastel, aéré, modulaire et orienté spiritualité indienne.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: ignite_mjkb
*/
:root {
  --bg: #f5f1eb;
  --bg-soft: #fbf8f4;
  --paper: #fffdfb;
  --paper-strong: #fffaf5;
  --text: #403833;
  --muted: #7b6d66;
  --line: #eadfd5;
  --accent: #c9864a;
  --accent-soft: #e8c6a9;
  --rose: #d8b0b2;
  --sage: #b9cbb6;
  --gold-light: #f1dfb3;
  --shadow: 0 14px 34px rgba(91, 67, 52, 0.08);
  --shadow-soft: 0 6px 18px rgba(91, 67, 52, 0.05);
  --radius: 18px;
  --radius-lg: 28px;
  --content-width: 760px;
  --sidebar-width: 330px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Lusitana", Georgia, serif;
  background: radial-gradient(circle at top, #fff8f0 0%, var(--bg) 45%, #f0ece6 100%);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  word-wrap: break-word;
}
a { color: var(--accent); text-decoration: none; transition: .2s ease; }
a:hover, a:focus { color: #9a6234; }
p { margin: 0 0 1.2rem; }
h1, h2, h3, h4, h5, h6 {
  font-family: "Lusitana", Georgia, serif;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: #2f2824;
}
h1 { font-size: clamp(2rem, 3vw, 3rem); }
h2 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5rem; }
blockquote {
  margin: 1.6rem 0;
  padding: 1rem 1.2rem 1rem 1.4rem;
  border-left: 4px solid var(--accent-soft);
  background: linear-gradient(180deg, rgba(255,250,245,.95), rgba(251,248,244,.95));
  border-radius: 0 var(--radius) var(--radius) 0;
}
code, pre {
  background: #f3ece4;
  border-radius: 12px;
}
pre { padding: 1rem; overflow: auto; }
input, textarea, select {
  font: inherit;
  color: inherit;
}
.screen-reader-text, .skip-content {
  position: absolute;
  left: -9999px;
}
.skip-content:focus {
  left: 1rem;
  top: 1rem;
  z-index: 999;
  background: var(--paper);
  color: var(--text);
  padding: .75rem 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.site-shell { min-height: 100vh; }
.overflow-container { width: min(1340px, calc(100% - 32px)); margin: 0 auto; }
.content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, var(--sidebar-width));
  gap: 34px;
  align-items: start;
  margin: 26px 0 44px;
}
.main {
  min-width: 0;
}
#loop-container > * + * { margin-top: 1.5rem; }
.breadcrumbs {
  margin: 18px 0 8px;
  padding: .7rem 1rem;
  background: rgba(255, 253, 251, 0.7);
  border: 1px solid rgba(234, 223, 213, 0.9);
  border-radius: 999px;
  color: var(--muted);
  font-size: .95rem;
}
.site-footer {
  width: min(1340px, calc(100% - 32px));
  margin: 0 auto 34px;
  padding: 28px 30px;
  background: linear-gradient(180deg, rgba(255,253,251,.88), rgba(250,246,241,.94));
  border: 1px solid rgba(234,223,213,.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.site-footer h3 { margin-bottom: .35rem; }
.design-credit { color: var(--muted); font-size: .95rem; }
@media (max-width: 980px) {
  .content-shell { grid-template-columns: 1fr; }
}

/* Samarkand font integration */
@font-face {
    font-family: 'Samarkand';
    src: url('../fonts/samarkand.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}



/* Mobile adjustment */
@media (max-width: 768px) {
    .site-title, .logo, h1.site-title {
        font-size: 1.2rem;
    }
}

/* Title YSA styling */
.site-title, .logo, h1.site-title {
    font-family: 'Samarkand', serif;
    font-size: 1.4rem;
    letter-spacing: 0.2rem;
}

/* Title uses same style as footer */
.site-title, .logo, h1.site-title {
    font-family: inherit;
    color: var(--footer-text, #8c6f5a);
    letter-spacing: 0.15rem;
    font-weight: 400;
}

/* Slogan in Samarkand */
.site-description, .tagline, .site-slogan {
    font-family: 'Samarkand', serif;
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .site-description, .tagline, .site-slogan {
        font-size: 0.85rem;
    }
}
