/* Site-wide reading and surface refinements. */
html, body { background: #fff; }
body, button, input, select, textarea { font-family: "Manrope", sans-serif; }
body { color: #333; font-size: 1.125rem; font-weight: 500; line-height: 1.6; }
.title, h1, h2, h3, h4, h5, h6 { font-family: "Manrope", sans-serif; }
.section-shadow { box-shadow: none; border-top: 1px solid #f0f0f0; }
.footer { background: #fff; border-top: 1px solid #f0f0f0; }
.tiny-section-header { color: #777; }
.blog-entry-title { font-weight: 700; }
.blog-preview img { border-radius: 6px; box-shadow: none; }

/* Keep the home page publication list compact and easy to scan. */
#collapsibleSection .pub-title { font-size: 1.25rem !important; line-height: 1.4; }
#collapsibleSection .pub-info { font-size: .95rem; line-height: 1.5; }
#collapsibleSection .publication-link { font-size: .85rem; }

.misc-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; margin: 0; list-style: none; }
.misc-link-grid li { min-width: 0; }
.misc-link-grid a { font-weight: 600; }
.misc-link-grid p { color: #666; font-size: .95rem; margin-top: .2rem; }
.misc-quotes { display: grid; gap: 1.5rem; }
.misc-quotes blockquote { border-left: 2px solid #ddd; padding-left: 1.25rem; }
.misc-quotes blockquote p { margin: 0; }
.misc-quotes blockquote footer { color: #777; font-size: .95rem; margin-top: .4rem; }
.misc-section-layout { display: grid; grid-template-columns: 108px minmax(0, 1fr); align-items: start; gap: 1.5rem; }
.misc-section-right { grid-template-columns: minmax(0, 1fr) 108px; }
.misc-section-right .misc-section-art { grid-column: 2; grid-row: 1; }
.misc-section-right .misc-section-content { grid-column: 1; grid-row: 1; }
.misc-section-art { display: block; width: 108px; height: 108px; object-fit: contain; margin-top: .1rem; }
.misc-section-content { min-width: 0; }
.misc-section-content > :last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .misc-link-grid { grid-template-columns: 1fr; }
  .misc-section-layout { grid-template-columns: 68px minmax(0, 1fr); gap: .9rem; }
  .misc-section-right { grid-template-columns: minmax(0, 1fr) 68px; }
  .misc-section-art { width: 68px; height: 68px; }
  .publication-year-group { display: block; margin: 0; }
  .publication-year-group > .publication-year-column,
  .publication-year-group > .publication-year-items { width: 100%; padding: 0 .75rem; }
  .publication-year-column .content { margin: 0; }
  .publication-year-column .pub-year { font-size: 1.25rem !important; line-height: 1.2; margin: 0 0 .75rem; }
  .publication-entry-row { display: flex; flex-wrap: nowrap; align-items: flex-start; margin-inline: 0; }
  .publication-entry-row > .publication-copy { flex: 1 1 auto; width: auto; min-width: 0; padding-left: .25rem; }
  .publication-entry-row > .publication-logo-column { flex: 0 0 56px; width: 56px; padding: .25rem 0 0 .25rem; }
  .publication-entry-row .publication-logo { width: 48px; height: 48px; }
  .publication-entry-row .pub-title { font-size: 1.15rem !important; line-height: 1.35; overflow-wrap: anywhere; }
  #collapsibleSection .publication-entry-row .pub-title { font-size: 1.05rem !important; }
  .publication-entry-row .publication-type-tag { display: inline-block; margin-left: .35rem; transform: none; vertical-align: baseline; white-space: normal; }
  .publication-entry-row .pub-author,
  .publication-entry-row .pub-venue,
  .publication-entry-row .pub-description { overflow-wrap: anywhere; }
  .presentation-entry { display: flex; flex-wrap: wrap; margin-inline: 0; }
  .presentation-entry > .presentation-year-column { flex: 0 0 100%; width: 100%; padding: 0 .75rem .25rem; }
  .presentation-entry > .presentation-year-column .pub-year { font-size: 1.25rem !important; line-height: 1.2; margin: 0; }
  .presentation-entry > .publication-copy { flex: 1 1 auto; min-width: 0; width: auto; padding-left: .25rem; }
  .presentation-entry > .publication-logo-column { flex: 0 0 56px; width: 56px; padding: .25rem 0 0 .25rem; }
  .presentation-entry .publication-logo { width: 48px; height: 48px; }
  .presentation-entry .presentation-emoji { width: 48px; font-size: 1.75rem; }
  .presentation-entry .pub-title { font-size: 1.15rem !important; line-height: 1.35; overflow-wrap: anywhere; }
}

/* The same reading column serves English and French posts and news. */
.post-container { width: min(100% - 3rem, 46rem); margin-inline: auto; }
.post-head { background: #fff; border-bottom: 1px solid #ededed; padding: 4.25rem 0 2rem; }
.post-title { color: #282828; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem !important; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .55rem; color: #666; font-size: .875rem; line-height: 1.5; }
.post-meta a { color: #555; text-decoration: underline; text-decoration-color: #bbb; text-underline-offset: 3px; }
.post-meta a:hover { color: #3273dc; }
.post-main { background: #fff; }
.post-body { font-family: "Manrope", sans-serif !important; color: #333; font-size: 1.125rem; line-height: 1.75; padding: 2.5rem 0 3rem; }
.post-body > p { font-size: inherit !important; }
.post-body h2 { color: #292929; font-size: 1.5rem; font-weight: 700; line-height: 1.35; margin-top: 2.5em; margin-bottom: .8em; }
.post-body h3 { color: #292929; font-size: 1.2rem; font-weight: 700; line-height: 1.4; margin-top: 2em; }
.post-body p, .post-body ul, .post-body ol, .post-body blockquote { margin-bottom: 1.3em; }
.post-body img { display: block; max-width: 100%; height: auto; margin: 1.75rem auto; border-radius: 4px; }
.post-body .gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.75rem 0; }
.post-body .gallery img { margin: 0; }
.post-body blockquote { border-left: 3px solid #b4c6eb; background: #f8faff; padding: 1rem 1.25rem; }
.post-body pre { border-radius: 4px; }
.post-return { border-top: 1px solid #ededed; padding: 1.5rem 0 3rem; font-size: 1rem; }
@media (max-width: 768px) {
  body { font-size: 1.0625rem; }
  .post-container { width: min(100% - 2rem, 46rem); }
  .post-head { padding: 2.5rem 0 1.5rem; }
  .post-body { font-size: 1.0625rem; padding-top: 2rem; }
  .post-body .gallery { grid-template-columns: 1fr; }
}
