/*
Theme Name: Classe Blanc
Theme URI: https://example.com/
Author: OpenAI
Author URI: https://openai.com/
Description: Thème WordPress minimaliste, élégant et centré pour pages et shortcodes.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: classe-blanc
*/

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6b6b6b;
  --line: #e9e6e0;
  --content-width: 860px;
  --header-width: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 42px 20px 22px;
}

.site-header__inner {
  max-width: var(--header-width);
  margin: 0 auto;
  text-align: center;
}

.site-title {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.site-title a {
  display: inline-block;
  text-decoration: none;
}

.site-title a:hover,
.site-title a:focus {
  text-decoration: none;
}

.site-nav {
  margin-top: 18px;
}

.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 18px 26px;
  justify-content: center;
  flex-wrap: wrap;
}

.site-nav li {
  margin: 0;
}

.site-nav a {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-main {
  padding: 46px 20px 80px;
}

.content-wrap {
  max-width: var(--content-width);
  margin: 0 auto;
}

.entry-title,
.archive-title,
.search-title,
.not-found-title {
  margin: 0 0 22px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.15;
  font-weight: 700;
}

.entry-content > :first-child,
.archive-description > :first-child {
  margin-top: 0;
}

.entry-content > :last-child,
.archive-description > :last-child {
  margin-bottom: 0;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content figure,
.entry-content table,
.entry-content .wp-block-group,
.entry-content .wp-block-columns {
  margin: 0 0 1.2em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 1.8em 0 0.6em;
  line-height: 1.2;
}

.entry-content blockquote {
  margin-left: 0;
  padding-left: 1.2rem;
  border-left: 2px solid var(--line);
  color: #2f2f2f;
}

.entry-content .alignwide,
.entry-content .alignfull {
  max-width: 100%;
}

article.post,
article.page,
.archive-intro,
.not-found {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}

article.post:last-child,
article.page:last-child,
.not-found:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.entry-meta {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 20px 40px;
}

.site-footer__inner {
  max-width: var(--header-width);
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.pagination {
  margin-top: 28px;
}

.pagination .nav-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.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;
  width: 1px;
  word-wrap: normal !important;
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .site-header {
    padding-top: 34px;
  }

  .site-main {
    padding-top: 34px;
  }
}
