/*
Theme Name: Belle Assemblee
Author: OpenAI
Description: A classic WordPress theme with aged paper textures, engraved flourishes, wide margins, and nineteenth-century book design cues inspired by La Belle Assemblée.
Version: 1.0.23
Text Domain: belle-assemblee
Tags: blog, one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, editor-style
*/

:root {
  --paper: #efe4cf;
  --paper-deep: #e6d7b8;
  --panel: #f7efdd;
  --panel-soft: rgba(255, 255, 255, 0.22);
  --ink: #2d1f14;
  --ink-soft: #624931;
  --accent: #7e5a36;
  --accent-deep: #523821;
  --rule: rgba(90, 63, 39, 0.34);
  --rule-soft: rgba(90, 63, 39, 0.16);
  --shadow: rgba(54, 33, 18, 0.18);
  --display-font: Baskerville, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "URW Bookman", Georgia, serif;
  --body-font: Baskerville, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans-font: "Gill Sans", "Trebuchet MS", "Helvetica Neue", Arial, sans-serif;
  --content-width: 46rem;
  --wide-width: 72rem;
  --body-size: 1.3rem;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  min-height: 100%;
  background-color: #ddd5c7;
  background-image:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.18), rgba(70, 48, 26, 0.05)),
    url("assets/images/paper-background-wide.jpg");
  background-repeat: no-repeat, no-repeat;
  background-position: center top, center top;
  background-size: cover, cover;
  background-attachment: fixed, fixed;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--body-font);
  font-size: var(--body-size);
  line-height: 1.78;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 34%, rgba(36, 24, 12, 0.08) 100%);
  opacity: 0.72;
}

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

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(82, 56, 33, 0.5);
  text-underline-offset: 0.16em;
}

a:hover,
a:focus {
  color: #2b1809;
  text-decoration-color: currentColor;
}

p,
ul,
ol,
dl,
blockquote,
table,
pre {
  margin-top: 0;
  margin-bottom: 1.35rem;
}

ul,
ol {
  padding-left: 1.6rem;
}

li {
  margin-bottom: 0.35rem;
}

::marker {
  color: var(--accent);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.9rem;
  font-family: var(--display-font);
  line-height: 1.16;
  color: #2a180b;
  letter-spacing: 0.03em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
}

h4,
h5,
h6 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-variant: small-caps;
}

hr,
.wp-block-separator {
  height: 1.3rem;
  border: 0;
  background: transparent url("assets/images/ornament-horizontal.svg") center center / 19rem 1.3rem no-repeat;
  margin: 2rem auto;
  opacity: 0.88;
}

blockquote {
  position: relative;
  padding: 1.5rem 1.5rem 1.3rem 1.8rem;
  background: rgba(255, 255, 255, 0.28);
  border-left: 2px solid rgba(110, 79, 48, 0.4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  font-style: italic;
  color: #3d2815;
}

blockquote::before {
  content: "❦";
  position: absolute;
  top: 0.5rem;
  right: 0.9rem;
  color: rgba(110, 79, 48, 0.7);
  font-size: 1.2rem;
  font-style: normal;
}

cite,
figcaption,
.wp-caption-text {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-style: italic;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
  background: rgba(255, 255, 255, 0.18);
}

th,
td {
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(98, 73, 49, 0.18);
  text-align: left;
}

th {
  font-variant: small-caps;
  letter-spacing: 0.08em;
  background: rgba(98, 73, 49, 0.08);
}

code,
kbd,
samp,
pre {
  font-family: "Courier New", Courier, monospace;
}

pre,
code {
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(98, 73, 49, 0.16);
}

pre {
  padding: 1rem;
  overflow: auto;
}

code {
  padding: 0.08rem 0.28rem;
}

input,
textarea,
select,
button {
  font: inherit;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 0.78rem 0.95rem;
  color: var(--ink);
  border: 1px solid rgba(98, 73, 49, 0.25);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0.1rem 0.3rem rgba(48, 31, 14, 0.04);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(126, 90, 54, 0.32);
  outline-offset: 0.08rem;
  border-color: rgba(98, 73, 49, 0.44);
}

button,
input[type="submit"],
.button,
.wp-block-button__link,
.more-link {
  display: inline-block;
  padding: 0.68rem 1.05rem;
  border: 1px solid rgba(82, 56, 33, 0.55);
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.34), rgba(82, 56, 33, 0.05)),
    rgba(239, 228, 207, 0.88);
  color: #2b1809;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.83rem;
  font-variant: small-caps;
  cursor: pointer;
  box-shadow: 0 0.3rem 0.8rem rgba(52, 32, 16, 0.08);
}

button:hover,
button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.button:hover,
.button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.more-link:hover,
.more-link:focus {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.44), rgba(82, 56, 33, 0.08)),
    rgba(245, 236, 219, 0.96);
  color: #1f1007;
}

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

.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  left: 1rem;
  top: 1rem;
  width: auto;
  padding: 0.75rem 1rem;
  background: var(--panel);
  border: 1px solid rgba(98, 73, 49, 0.25);
  color: var(--ink);
  z-index: 100000;
}

.site-shell {
  position: relative;
  width: min(100% - 2rem, 76rem);
  margin: 1.5rem auto;
  padding: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.site-shell::before,
.site-shell::after {
  content: none;
}

.site-header {
  position: relative;
  text-align: center;
  padding: 2rem 1.25rem 1.75rem;
}

.site-header::before,
.site-header::after,
.section-ornament::after,
.entry-header::after,
.widget-title::after,
.comments-title::after,
.site-footer::before,
.page-header::after {
  content: "";
  display: block;
  width: min(100%, 21rem);
  height: 1.25rem;
  margin: 1rem auto 0;
  background: transparent url("assets/images/ornament-horizontal.svg") center center / contain no-repeat;
  opacity: 0.9;
}

.site-header::before {
  margin-top: 0;
  margin-bottom: 1rem;
}

.site-kicker,
.page-header__kicker,
.entry-kicker {
  margin: 0 0 0.6rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-variant: small-caps;
}

.site-title,
.site-title a {
  margin: 0;
  color: #29170a;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-variant: small-caps;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.06;
}

.site-branding .custom-logo-link {
  display: inline-block;
  margin-bottom: 0.8rem;
}

.site-branding .custom-logo {
  max-height: 6rem;
  width: auto;
}

.site-description {
  max-width: 38rem;
  margin: 0.8rem auto 0;
  color: var(--ink-soft);
  font-style: italic;
  font-size: 1rem;
}

.menu-toggle {
  display: none;
  margin: 1.25rem auto 0;
}

.main-navigation {
  margin-top: 1.3rem;
}

.main-navigation ul,
.main-navigation .menu,
.main-navigation div > ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
}

.main-navigation li {
  margin: 0;
  position: relative;
}

.main-navigation a {
  display: block;
  padding: 0.35rem 0.5rem;
  text-decoration: none;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-variant: small-caps;
  border-bottom: 1px solid transparent;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  border-bottom-color: rgba(82, 56, 33, 0.45);
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 1.1rem 1.6rem;
}

.content-column,
.sidebar-column {
  min-width: 0;
}

.content-column {
  width: 100%;
}

.sidebar-column,
.widget-area,
#secondary {
  display: none;
}

body.no-sidebar .layout-grid {
  grid-template-columns: minmax(0, 1fr);
}

.folio-panel,
.entry-card,
.widget,
.comments-area,
.comment-respond,
.post-navigation,
.posts-navigation,
.pagination,
.page-header,
.not-found,
.masthead-panel,
.comment-body {
  position: relative;
  background-color: whitesmoke;
  background-image: none;
  box-shadow:
    0 0 0 1px rgba(90, 63, 39, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.folio-panel::before,
.entry-card::before,
.widget::before,
.comments-area::before,
.comment-respond::before,
.post-navigation::before,
.posts-navigation::before,
.pagination::before,
.page-header::before,
.not-found::before,
.masthead-panel::before,
.comment-body::before {
  content: "";
  position: absolute;
  inset: 0.85rem;
  border: 1px solid rgba(90, 63, 39, 0.12);
  pointer-events: none;
}

.masthead-panel,
.page-header,
.not-found {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: 2rem;
}

.archive-title,
.page-title {
  margin-bottom: 0.5rem;
  font-size: clamp(1.8rem, 3.6vw, 3rem);
}

.archive-description,
.page-description {
  max-width: 40rem;
  margin: 0 auto;
  color: var(--ink-soft);
  font-style: italic;
}

.entry-card {
  width: 100%;
  padding: clamp(1.45rem, 2.8vw, 2.55rem);
  margin-bottom: 2rem;
}

.entry-card:last-child {
  margin-bottom: 0;
}

.entry-header {
  margin-bottom: 1.6rem;
  text-align: center;
}

.entry-title {
  margin-bottom: 0.6rem;
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
}

.entry-title a {
  color: inherit;
  text-decoration: none;
}

.entry-meta,
.entry-footer,
.site-footer {
  color: var(--ink-soft);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-variant: small-caps;
}

.entry-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
}

.entry-meta a,
.entry-footer a,
.site-footer a {
  color: inherit;
}

.entry-meta span,
.entry-footer span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.entry-summary,
.entry-content,
.wp-block-post-content {
  font-size: var(--body-size);
}

.entry-summary > p:first-of-type::first-letter,
.entry-content > p:first-of-type::first-letter,
.wp-block-post-content > p:first-of-type::first-letter {
  float: left;
  margin: 0.08rem 0.16rem 0 0;
  font-size: 4.45em;
  line-height: 0.74;
  color: var(--accent);
  font-family: var(--display-font);
}

.entry-content > *:last-child,
.entry-summary > *:last-child {
  margin-bottom: 0;
}

.entry-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(98, 73, 49, 0.14);
}

.edit-link {
  display: inline-block;
  margin-top: 1rem;
}

.more-link {
  margin-top: 0.3rem;
}

.read-more-wrap {
  margin-bottom: 0;
}

.post-thumbnail,
.entry-illustration,
.wp-caption,
.wp-block-image figure,
.gallery-item img {
  background: rgba(255, 255, 255, 0.25);
  padding: 0.45rem;
  border: 1px solid rgba(90, 63, 39, 0.18);
  box-shadow: 0 0.7rem 1.4rem rgba(56, 36, 18, 0.1);
}

.entry-illustration {
  margin: 0 0 1.65rem;
}

.entry-illustration img {
  width: 100%;
}

.alignleft {
  float: left;
  margin: 0.35rem 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0.35rem 0 1rem 1.5rem;
}

.aligncenter {
  clear: both;
  margin-left: auto;
  margin-right: auto;
}

.entry-content > .alignwide,
.entry-content > .wp-block-group.alignwide,
.entry-content > .wp-block-cover.alignwide {
  max-width: calc(100% + 6rem);
  margin-left: -3rem;
  margin-right: -3rem;
}

.entry-content > .alignfull,
.entry-content > .wp-block-group.alignfull,
.entry-content > .wp-block-cover.alignfull {
  width: calc(100% + 9rem);
  max-width: calc(100% + 9rem);
  margin-left: -4.5rem;
  margin-right: -4.5rem;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-top: 2rem;
  font-variant: small-caps;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.page-links a,
.page-links > span {
  display: inline-flex;
  min-width: 2.15rem;
  min-height: 2.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.45rem;
  border: 1px solid rgba(90, 63, 39, 0.22);
  background: rgba(255, 255, 255, 0.28);
  text-decoration: none;
}

.widget-area {
  display: grid;
  gap: 1.55rem;
}

.widget {
  padding: 1.4rem;
}

.widget-title {
  margin-bottom: 0.9rem;
  text-align: center;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-variant: small-caps;
}

.widget-title::after {
  margin-top: 0.8rem;
  width: min(100%, 12rem);
  height: 0.9rem;
}

.widget ul,
.widget ol {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.widget select {
  margin-bottom: 0;
}

.search-form {
  display: grid;
  gap: 0.8rem;
}

.search-form label {
  display: block;
  font-variant: small-caps;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.search-submit {
  justify-self: start;
}

.posts-navigation,
.post-navigation,
.pagination {
  margin-top: 2rem;
  padding: 1.35rem;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-previous,
.nav-next,
.page-numbers {
  font-variant: small-caps;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  padding: 0.2rem 0.5rem;
  margin-right: 0.4rem;
  border: 1px solid rgba(90, 63, 39, 0.2);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.2);
}

.page-numbers.current {
  background: rgba(90, 63, 39, 0.12);
}

.comments-area,
.comment-respond {
  margin-top: 2rem;
  padding: 1.5rem;
}

.comments-title {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 1.4rem;
}

.comment-list,
.children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list > li {
  margin-bottom: 1rem;
}

.children {
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(90, 63, 39, 0.12);
}

.comment-body {
  padding: 1.2rem;
}

.comment-meta {
  margin-bottom: 0.8rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.comment-author .fn {
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.comment-metadata a,
.reply a {
  font-variant: small-caps;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.comment-content > *:last-child {
  margin-bottom: 0;
}

.comment-form > p {
  margin-bottom: 1rem;
}

.comment-notes,
.logged-in-as,
.comment-awaiting-moderation {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.comment-form-cookies-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.site-footer {
  position: relative;
  text-align: center;
  padding: 2rem 1.4rem 1rem;
  margin-top: 1rem;
}

.site-footer::before {
  margin-top: 0;
  margin-bottom: 1rem;
}

.site-footer__line {
  margin: 0.3rem 0;
}

.footer-navigation {
  margin-bottom: 0.9rem;
}

.footer-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 0.55rem 0.9rem;
  flex-wrap: wrap;
}

.footer-navigation li {
  margin: 0;
}

.footer-navigation a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-variant: small-caps;
}

.site-info {
  margin-top: 0.5rem;
}

.site-info p:last-child {
  margin-bottom: 0;
}

.sticky .entry-card,
article.sticky {
  box-shadow:
    0 0 0 1px rgba(90, 63, 39, 0.25),
    0 0 0 0.3rem rgba(125, 87, 50, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.not-found .search-form {
  max-width: 26rem;
  margin: 1.4rem auto 0;
}

.error-404__links {
  margin-top: 1rem;
}

.has-drop-cap:not(:focus)::first-letter {
  font-family: var(--display-font);
  color: var(--accent);
}

.wp-block-pullquote {
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(90, 63, 39, 0.2);
  border-bottom: 1px solid rgba(90, 63, 39, 0.2);
  background: rgba(255, 255, 255, 0.18);
}

.wp-block-pullquote blockquote {
  margin-bottom: 0;
  border-left: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  padding: 0;
  font-size: 1.2rem;
}

.wp-block-button {
  margin-bottom: 1.2rem;
}

.wp-block-cover,
.wp-block-group.has-background,
.wp-block-quote,
.wp-block-table,
.wp-block-media-text,
.wp-block-columns {
  margin-bottom: 1.5rem;
}

.wp-block-calendar table caption {
  margin-bottom: 0.5rem;
  color: var(--ink-soft);
  font-style: italic;
}

.gallery {
  display: grid;
  gap: 1rem;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wp-caption,
.gallery-item {
  max-width: 100%;
}


body.belle-dossier-open .site-shell {
  width: min(100% - 1rem, 100rem);
}

body.belle-dossier-open .layout-grid {
  max-width: min(98rem, calc(100vw - 1rem));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.entry-card.entry-card--dossier {
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin-bottom: 2.5rem;
}

.entry-card.entry-card--dossier::before {
  content: none;
}

.entry-card.entry-card--dossier .entry-header {
  display: none;
}

.entry-card.entry-card--dossier .entry-content {
  font-size: var(--body-size);
}

.entry-card.entry-card--dossier .entry-footer {
  justify-content: flex-start;
  padding: 0 0.4rem;
}

.dossier-folder {
  --folder-skin:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(120, 92, 52, 0.04)),
    linear-gradient(180deg, #e9e0d1 0%, #e3d9ca 100%);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20.75rem, 24rem);
  gap: clamp(1.55rem, 2.45vw, 3rem);
  width: 100%;
  max-width: none;
  margin: 2.2rem auto 0;
  padding: clamp(1.35rem, 2.2vw, 1.95rem);
  padding-top: clamp(1.85rem, 2.7vw, 2.35rem);
  border: 1px solid rgba(90, 63, 39, 0.28);
  border-radius: 0 1.45rem 1.35rem 1.35rem;
  background: var(--folder-skin);
  box-shadow:
    0 1.15rem 2.8rem rgba(54, 33, 18, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.dossier-folder::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border: 1px solid rgba(90, 63, 39, 0.12);
  border-radius: 0.8rem 1rem 1rem 1rem;
  pointer-events: none;
}

.dossier-folder__tab {
  position: absolute;
  top: 0;
  left: 1rem;
  z-index: 3;
  max-width: min(66%, calc(100% - 25rem));
  padding: 0.72rem 1.45rem 0.58rem;
  border: 1px solid rgba(90, 63, 39, 0.28);
  border-bottom: 0;
  border-radius: 1rem 1rem 0 0;
  background: var(--folder-skin);
  box-shadow: 0 -0.1rem 0.45rem rgba(54, 33, 18, 0.08);
  transform: translateY(calc(-100% + 1px));
}

.dossier-folder__tab::after {
  content: none;
}

.dossier-folder__tab-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--display-font);
  font-size: clamp(1.18rem, 2vw, 1.9rem);
  line-height: 1.08;
  color: #2a180b;
  letter-spacing: 0.02em;
}

.dossier-folder__panel {
  position: relative;
  min-width: 0;
  min-height: 35rem;
  padding: clamp(1.25rem, 2.15vw, 1.9rem);
  background-color: whitesmoke;
  box-shadow:
    0 0 0 1px rgba(90, 63, 39, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.dossier-folder__panel::before {
  content: "";
  position: absolute;
  inset: 0.85rem;
  border: 1px solid rgba(90, 63, 39, 0.12);
  pointer-events: none;
}

.dossier-folder__section[hidden] {
  display: none !important;
}

.dossier-folder__section {
  position: relative;
  z-index: 1;
}

.dossier-folder__section > *:last-child {
  margin-bottom: 0;
}

.dossier-folder__generated-head,
.dossier-folder__section > h2:first-child,
.dossier-folder__section > .wp-block-heading:first-child {
  text-align: center;
}

.dossier-folder__section > h2:first-child,
.dossier-folder__section > .wp-block-heading:first-child,
.dossier-folder__generated-title {
  margin-bottom: 1.1rem;
  font-size: clamp(1.95rem, 3.3vw, 3.15rem);
}

.dossier-folder__generated-head > *:last-child {
  margin-bottom: 0;
}

.dossier-folder__kicker {
  margin-bottom: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-variant: small-caps;
}

.dossier-folder__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-variant: small-caps;
}

.dossier-folder__generated-title::after,
.dossier-folder__section > h2:first-child::after,
.dossier-folder__section > .wp-block-heading:first-child::after {
  content: "";
  display: block;
  width: min(10rem, 100%);
  height: 1rem;
  margin: 0.55rem auto 0;
  background: transparent url("assets/images/ornament-horizontal.svg") center center / 10rem 1rem no-repeat;
  opacity: 0.72;
}

.dossier-folder__section > p:first-of-type::first-letter,
.dossier-folder__section > .wp-block-paragraph:first-of-type::first-letter {
  float: left;
  margin: 0.08rem 0.16rem 0 0;
  font-size: 4.45em;
  line-height: 0.74;
  color: var(--accent);
  font-family: var(--display-font);
}

.dossier-folder__section figure,
.dossier-folder__section .wp-block-image,
.dossier-folder__section .wp-block-gallery,
.dossier-folder__section .wp-block-table {
  margin-left: auto;
  margin-right: auto;
}

.dossier-folder__section img {
  margin-left: auto;
  margin-right: auto;
}

.dossier-folder__note {
  position: relative;
  z-index: 1;
  align-self: start;
}

.dossier-folder__note-stack {
  position: sticky;
  top: 4.5rem;
  display: grid;
  gap: 1.35rem;
  justify-items: center;
}

.dossier-folder__sticky {
  position: relative;
  top: auto;
  width: 100%;
  max-width: 20.5rem;
  margin: 1rem auto 0;
  padding: 3.15rem 1.5rem 1.45rem;
  transform: rotate(-1.45deg);
  overflow: visible;
  border: 1px solid rgba(113, 98, 31, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(160, 154, 59, 0.03)),
    linear-gradient(180deg, #eef1a8 0%, #ebee9a 35%, #e5ea8a 100%);
  box-shadow:
    0 1.35rem 2.2rem rgba(54, 33, 18, 0.16),
    0 0.25rem 0.4rem rgba(54, 33, 18, 0.08),
    inset 0 -0.9rem 1.4rem rgba(118, 110, 28, 0.07);
}

body.admin-bar .dossier-folder__note-stack {
  top: 6.4rem;
}

.dossier-folder__sticky::before,
.dossier-folder__sticky::after {
  content: "";
  position: absolute;
  top: -0.62rem;
  z-index: 2;
  height: 2.56rem;
  border-radius: 0.16rem;
  background: rgba(244, 236, 218, 0.76);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.38),
    0 1px 6px rgba(54, 33, 18, 0.08);
  pointer-events: none;
}

.dossier-folder__sticky::before {
  left: 1.1rem;
  width: 9.9rem;
  transform: translateY(-12%) rotate(-8deg);
}

.dossier-folder__sticky::after {
  right: 1rem;
  width: 8.3rem;
  transform: translateY(-12%) rotate(9deg);
}

.dossier-folder__note-title,
.dossier-folder__toc,
.dossier-folder__toc-item {
  font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", "Lucida Handwriting", cursive;
}

.dossier-folder__note-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.25;
  color: #433515;
}

.dossier-folder__toc {
  display: grid;
  gap: 0.35rem;
}

.dossier-folder__toc-item {
  display: block;
  color: #433515;
  text-decoration: none;
  font-size: 1.02rem;
  line-height: 1.34;
}

.dossier-folder__toc-item.is-primary {
  margin-bottom: 0.3rem;
}

.dossier-folder__toc-item:not(.is-primary)::before {
  content: "- ";
}

.dossier-folder__toc-item:hover,
.dossier-folder__toc-item:focus,
.dossier-folder__toc-item.is-active {
  color: #24190b;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.belle-relationships-source {
  display: none !important;
}

.dossier-folder__relations {
  position: relative;
  width: 100%;
  max-width: 20.65rem;
  justify-self: end;
  margin: 0 -1.45rem 0 auto;
  padding: 0.35rem 0 0;
  overflow: visible;
}

.dossier-folder__relations::before,
.dossier-folder__relations::after {
  content: none;
}

.dossier-folder__relations-paper {
  position: relative;
  z-index: 2;
  padding: 1.3rem 1.3rem 1.4rem;
  overflow: visible;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(247, 245, 240, 0.965));
  border: 1px solid rgba(90, 63, 39, 0.18);
  box-shadow:
    0 1.1rem 2rem rgba(54, 33, 18, 0.15),
    0 0.25rem 0.35rem rgba(54, 33, 18, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.74);
  transform: rotate(0.6deg);
}

.dossier-folder__relations-paper > * {
  position: relative;
  z-index: 20;
}

.dossier-folder__relations-paper::after {
  content: "";
  position: absolute;
  background-image: url("https://boone.cristanwilliams.com/wp-content/themes/belle-assemblee/assets/images/relationships-paperclip-overlay.png") !important;
  width: 150px !important;
  height: 125px !important;
  top: 70px !important;
  right: -29px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  z-index: 10 !important;
  transform: none !important;
  filter: none !important;
  pointer-events: none;
}

.dossier-folder__relations-paper::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  z-index: 0;
  border: 1px solid rgba(90, 63, 39, 0.08);
  pointer-events: none;
}

.dossier-folder__relations-title {
  margin: 0 0 1.1rem;
  font-family: "Courier New", Courier, "Nimbus Mono PS", monospace;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #281c12;
}

.dossier-folder__relations-group + .dossier-folder__relations-group {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(90, 63, 39, 0.18);
}

.dossier-folder__relations-label {
  margin: 0 0 0.42rem;
  font-family: "Courier New", Courier, "Nimbus Mono PS", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a4b3c;
}

.dossier-folder__relations-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.48rem;
}

.dossier-folder__relations-item {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.32;
  color: #2f2115;
}

.dossier-folder__relations-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(90, 63, 39, 0.22);
}

.dossier-folder__relations-link:hover,
.dossier-folder__relations-link:focus {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.dossier-folder__relations-name {
  display: block;
  font-weight: 600;
}

.dossier-folder__relations-dates {
  display: block;
  margin-top: 0.05rem;
  color: #6d6054;
  font-size: 0.87em;
}

.dossier-folder__comments-wrap .comments-area,
.dossier-folder__comments-wrap .comment-respond {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.dossier-folder__comments-wrap .comments-area::before,
.dossier-folder__comments-wrap .comment-respond::before {
  content: none;
}

.dossier-folder__comments-wrap .comments-title,
.dossier-folder__comments-wrap .comment-reply-title {
  text-align: center;
}

.dossier-folder__comments-wrap .comments-title::after,
.dossier-folder__comments-wrap .comment-reply-title::after {
  content: "";
  display: block;
  width: min(10rem, 100%);
  height: 1rem;
  margin: 0.55rem auto 0;
  background: transparent url("assets/images/ornament-horizontal.svg") center center / 10rem 1rem no-repeat;
  opacity: 0.72;
}

.dossier-folder__comments-wrap .comment-list,
.dossier-folder__comments-wrap .comment-form {
  margin-top: 1.2rem;
}

.dossier-folder__comments-wrap .comment-body {
  background: rgba(255, 255, 255, 0.76);
}


@media (min-width: 62rem) {
  .layout-grid,
  .layout-grid.layout-grid--home,
  body.no-sidebar .layout-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 61.9375rem) {
  .site-shell {
    width: min(100% - 1rem, 76rem);
    padding: 0;
  }

  .layout-grid {
    padding: 0 0.6rem 1.1rem;
  }

  .dossier-folder {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .dossier-folder__note {
    order: -1;
  }

  .dossier-folder__note-stack {
    position: relative;
    top: auto;
  }

  .dossier-folder__sticky,
  .dossier-folder__relations {
    max-width: min(100%, 30rem);
    margin: 0 auto 0.75rem;
  }

  .dossier-folder__relations-paper {
    transform: none;
  }

  .dossier-folder__relations-paper::after {
    top: 0.35rem;
    right: -2.85rem;
    width: 5.45rem;
  }

  .entry-content > .alignwide,
  .entry-content > .alignfull,
  .entry-content > .wp-block-group.alignwide,
  .entry-content > .wp-block-group.alignfull,
  .entry-content > .wp-block-cover.alignwide,
  .entry-content > .wp-block-cover.alignfull {
    width: auto;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 48rem) {
  html {
    background-attachment: scroll, scroll;
  }

  body.admin-bar .dossier-folder__note-stack {
    top: auto;
  }

  .dossier-folder {
    margin-top: 2rem;
    padding: 2.2rem 0.9rem 1rem;
  }

  .dossier-folder__tab {
    left: 0.8rem;
    right: 0.8rem;
    max-width: calc(100% - 1.6rem);
    padding-right: 1rem;
  }

  .dossier-folder__tab::after {
    display: none;
  }

  .dossier-folder__panel {
    min-height: 0;
    padding: 1.2rem;
  }

  .dossier-folder__sticky {
    max-width: 100%;
    padding: 3rem 1rem 1.15rem;
  }

  .dossier-folder__relations-paper {
    padding: 1.15rem 1rem 1.2rem;
  }

  .dossier-folder__relations-paper::after {
    top: 0.2rem;
    right: -2.15rem;
    width: 4.7rem;
  }

  .site-header {
    padding: 1.6rem 0.8rem 1.3rem;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-navigation {
    display: none;
    margin-top: 1rem;
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation ul,
  .main-navigation .menu,
  .main-navigation div > ul {
    flex-direction: column;
    align-items: center;
  }

  .entry-card,
  .masthead-panel,
  .page-header,
  .comments-area,
  .comment-respond,
  .widget {
    padding: 1.25rem;
  }


  .alignleft,
  .alignright {
    float: none;
    margin: 0 auto 1rem;
  }

  .children {
    padding-left: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body::before {
    background: none;
  }
}
