/*
Theme Name: Desinople
Theme URI: https://desinople.fr/
Author: Jordan Belly
Description: Un carnet d’histoire pour Pierre Mollier. Accueil éditorial automatique et vidéo modifiable dans Apparence → Accueil du site. Sans constructeur de pages.
Version: 0.23.6
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: desinople
Tags: blog, two-columns, custom-menu, featured-images, editor-style, translation-ready
*/

/* The editor stores a PDF and its citation. The theme owns their typography. */
.study-intro {
  margin: 0 0 0.5rem;
  padding: 0.75rem 1rem;
  border-inline-start: 3px solid var(--gold, #aa8b4e);
  background: var(--panel, #f0eee6);
  font-size: 1rem;
}
.study-entry {
  margin: 0;
  padding-block: 1.2rem;
  border-bottom: 1px solid var(--rule, #d9d3c4);
}
.study-entry > .wp-block-file {
  margin: 0;
  padding: 0;
  background: transparent;
}
.study-entry > p {
  color: var(--muted, #58686e);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0.4rem 0 0;
}
/* PDF title and format indicator, shared by both languages. */
.study-entry .wp-block-file > a[href$=".pdf" i] {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  font: 500 clamp(1.18rem, 1.04rem + 0.5vw, 1.37rem)/1.4 var(--wp--preset--font-family--titres);
  color: var(--ink-deep, #113344);
  text-decoration: none;
}
.study-entry .wp-block-file > a[href$=".pdf" i]::after {
  content: "PDF";
  padding: 0.23rem 0.45rem;
  border: 1px solid #b9c9ca;
  border-radius: 3px;
  color: var(--ink, #173e50);
  background: #edf2f1;
  font: 600 0.7rem/1.2 var(--sans, system-ui, sans-serif);
  letter-spacing: 0.04em;
}
.study-entry .wp-block-file > a[href$=".pdf" i]:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}
