@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500;1,9..144,600&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --hp-ink: #1b1713;
  --hp-ink-soft: #3a332c;
  --hp-paper: #f4efe6;
  --hp-paper-deep: #e7dfd0;
  --hp-sheet: #fbf7ef;
  --hp-rule: #c9bdaa;
  --hp-muted: #6d6459;
  --hp-accent: #8c2c1c;
  --hp-accent-soft: #b34832;
  --hp-forest: #243f38;
  --hp-cream: #f6efe2;
  --hp-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --hp-sans: "Instrument Sans", "Source Sans 3", "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--hp-paper);
  color: var(--hp-ink);
  font-family: var(--hp-sans);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* =====================================================================
   Masthead — thin journal bar, official logo kept, Fraunces wordmark
   ===================================================================== */
.container-header,
header.header {
  background: var(--hp-ink) !important;
  background-image: none !important;
  box-shadow: none !important;
  border-bottom: 0;
  color: #f4efe6;
  z-index: 40;
}

header.header.container-header {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  min-height: 58px;
  padding: 0.35rem 1.6rem;
}

header.header > .grid-child {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0 !important;
  display: flex;
  align-items: center;
}

header.header .container-nav {
  flex: 1 1 auto;
  justify-content: flex-end;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
}

.container-header .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  color: #f4efe6 !important;
}

.container-header .navbar-brand a,
.container-header .navbar-brand a:hover {
  color: #f4efe6 !important;
  text-decoration: none;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-logo::after {
  content: "Haïti Perspectives";
  font-family: var(--hp-serif);
  font-optical-sizing: auto;
  font-weight: 650;
  font-size: 1.28rem;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #f6f0e6;
  white-space: nowrap;
}

.container-header .navbar-brand img,
header.header .logo img,
.navbar-brand img,
.brand-logo img {
  height: 34px;
  width: auto;
  display: block;
}

.hp-wordmark { display: none; }

.container-header .site-description { display: none !important; }

.container-header .mod-menu {
  flex: 0 1 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.15rem 0.15rem;
  color: #f4efe6;
}

.container-header .mod-menu > li + li { margin-left: 0 !important; }

.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  color: #f0e8da !important;
  padding: 0.35rem 0.55rem !important;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent !important;
}

.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > .active > a,
.container-header .mod-menu > li.current > a {
  background: transparent !important;
  color: #fff !important;
  box-shadow: inset 0 -1px 0 #f0e8da;
}

.container-header .mod-menu > li:after { display: none !important; }

.container-header .mod-menu .parent > ul,
.container-header .mod-menu .mod-menu__sub {
  display: none;
  position: absolute;
  top: calc(100% + 0.15rem);
  left: 0;
  min-width: 15rem;
  margin: 0;
  padding: 0.55rem 0;
  background: var(--hp-sheet);
  color: var(--hp-ink);
  list-style: none;
  box-shadow: 0 18px 40px rgba(27, 23, 19, 0.16);
  z-index: 50;
}

.container-header .mod-menu > li.parent { position: relative; }
.container-header .mod-menu > li.parent:hover > ul,
.container-header .mod-menu > li.parent:focus-within > ul {
  display: block;
}

.container-header .mod-menu .parent > ul a {
  display: block;
  padding: 0.38rem 1rem;
  color: var(--hp-ink) !important;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}
.container-header .mod-menu .parent > ul a:hover {
  color: var(--hp-accent) !important;
}

@media (max-width: 991.98px) {
  header.header.container-header {
    flex-wrap: wrap;
    min-height: 0;
    padding: 0.55rem 1rem;
  }
  header.header .container-nav { flex: 1 1 100%; justify-content: flex-start; }
  .container-header .mod-menu { justify-content: flex-start; }
  .container-header .mod-menu .parent > ul {
    display: block;
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0.3rem 0.7rem;
  }
  .container-header .mod-menu .parent > ul a { color: #e8dcc8 !important; font-size: 0.82rem; }
}

/* Home: header over the full-bleed hero */
body.itemid-101 header.header {
  position: absolute !important;
  top: 0; left: 0; right: 0;
  background: linear-gradient(180deg, rgba(12,10,8,0.55) 0%, rgba(12,10,8,0) 100%) !important;
}
body.itemid-101 header.header.hp-scrolled {
  position: fixed !important;
  background: var(--hp-ink) !important;
}

/* =====================================================================
   Page chrome
   ===================================================================== */
body.itemid-101 .site-grid {
  display: block !important;
}
body.itemid-101 .container-component {
  max-width: none !important;
  width: 100%;
  padding: 0;
  margin: 0;
}
body.itemid-101 .container-component > :first-child,
body.itemid-101 .container-component > * + * { margin-top: 0 !important; }

body.itemid-101 .com-content-article .page-header,
body.itemid-101 .com-content-article h2.page-header,
.article-info,
.mod-breadcrumbs,
nav.mod-breadcrumbs,
.container-banner,
.pagenavigation,
.com-content-article .icons { display: none !important; }

body.itemid-101 .com-content-article,
body.itemid-101.view-article .com-content-article {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

.com-content-article,
.blog-item {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 2.4rem 0 3rem;
  box-shadow: none;
}

.com-content-article .page-header h1,
.blog-item .page-header h2,
.blog-item .page-header h2 a {
  font-family: var(--hp-serif);
  font-optical-sizing: auto;
  color: var(--hp-ink);
  letter-spacing: -0.035em;
  text-decoration: none;
  font-weight: 650;
}

a { color: var(--hp-forest); }
a:hover { color: var(--hp-accent); }

.com-content-article .com-content-article__body p {
  max-width: 42rem;
  line-height: 1.7;
  font-size: 1.08rem;
}

/* =====================================================================
   HOME — full-viewport cover
   ===================================================================== */
.hp-home { color: var(--hp-ink); }

.hp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  border-radius: 0;
  overflow: hidden;
  margin: 0;
  color: #f7f1e6;
}

.hp-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  filter: saturate(1.04) contrast(1.04);
}

.hp-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,10,8,0.28) 0%, rgba(12,10,8,0.12) 28%, rgba(12,10,8,0.55) 100%),
    linear-gradient(90deg, rgba(12,10,8,0.78) 0%, rgba(12,10,8,0.35) 52%, rgba(12,10,8,0.18) 100%);
}

.hp-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.55fr);
  gap: 3rem;
  align-items: end;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 1320px;
  margin: 0 auto;
  padding: 7.5rem 2.4rem 3.4rem;
}

.hp-kicker {
  font-family: var(--hp-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e8c9a4;
  margin: 0 0 1.15rem;
  font-weight: 600;
}

.hp-lead {
  font-family: var(--hp-serif);
  font-optical-sizing: auto;
  font-size: clamp(1.35rem, 2.4vw, 2.05rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.38;
  margin: 0;
  max-width: 22em;
  color: #f7f1e6;
}

.hp-hero-cta {
  margin: 1.8rem 0 0;
}
.hp-hero-cta a {
  color: #f7f1e6 !important;
  text-decoration: none;
  font-family: var(--hp-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid #e8c9a4;
  padding-bottom: 0.2rem;
}
.hp-hero-cta a:hover { color: #fff !important; border-bottom-color: #fff; }

.hp-hero-cover {
  justify-self: end;
  align-self: end;
  width: min(100%, 340px);
  filter: drop-shadow(0 28px 50px rgba(0,0,0,0.5));
  transform: none;
  transition: transform .35s ease;
}
.hp-hero-cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: right center;
  border-radius: 0;
  display: block;
}
.hp-hero-cover:hover { transform: translateY(-6px); }

.hp-next {
  background: transparent;
  color: var(--hp-ink);
  border-radius: 0;
  max-width: 1320px;
  margin: 0 auto;
  padding: 1.7rem 2.4rem 0.4rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid var(--hp-rule);
}
.hp-next p {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hp-muted);
  font-weight: 500;
}
.hp-next-vol {
  font-family: var(--hp-serif) !important;
  font-size: 1.55rem !important;
  font-weight: 650 !important;
  letter-spacing: -0.03em !important;
  text-transform: none !important;
  color: var(--hp-ink) !important;
}

.hp-latest {
  max-width: 1320px;
  margin: 0 auto;
  padding: 2.6rem 2.4rem 4.5rem;
}
.hp-latest h2 {
  font-family: var(--hp-serif);
  color: var(--hp-ink);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  margin: 0 0 1.6rem;
}
.hp-latest h2 a {
  color: inherit;
  text-decoration: none;
}
.hp-latest h2 a:hover { color: var(--hp-accent); }

.hp-covers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem 1.2rem;
}
.hp-covers a {
  display: block;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  text-decoration: none;
  box-shadow: none;
  transition: transform .3s ease;
}
.hp-covers a:hover {
  transform: translateY(-6px);
  box-shadow: none;
}
.hp-covers img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: right center;
  display: block;
  box-shadow: 0 18px 40px rgba(27, 23, 19, 0.14);
}
.hp-covers span {
  display: block;
  padding: 0.85rem 0 0;
  font-family: var(--hp-serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--hp-ink);
}

.hp-reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: hpIn .8s ease forwards;
}
@keyframes hpIn {
  to { opacity: 1; transform: none; }
}

/* =====================================================================
   Archives — cover shelf / mosaic
   ===================================================================== */
body.itemid-111 .site-grid { display: block !important; }
body.itemid-111 .container-component {
  max-width: none !important;
  width: 100%;
  padding: 1.4rem 2.2rem 4rem;
}
body.itemid-111 .container-component > :first-child { margin-top: 0 !important; }

body.itemid-111 .com-content-category-blog > .page-header,
body.itemid-111 .com-content-category-blog h1 {
  font-family: var(--hp-serif);
  font-optical-sizing: auto;
  font-size: clamp(3.2rem, 9vw, 7.2rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: var(--hp-ink);
  margin: 0.4rem 0 1.8rem;
  max-width: none;
}

body.itemid-111 .blog-items,
body.itemid-111 .com-content-category-blog .blog-items,
body.itemid-111 .com-content-category-blog__items {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.8rem 1.15rem;
}

body.itemid-111 .blog-item,
body.itemid-111 .com-content-category-blog__item {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

body.itemid-111 .blog-item .hp-toc-hero {
  display: block;
  grid-template-columns: none;
  margin: 0;
  padding: 0;
  border: 0;
}
body.itemid-111 .blog-item .hp-toc-list,
body.itemid-111 .blog-item .hp-kicker-art,
body.itemid-111 .blog-item .hp-display-title,
body.itemid-111 .blog-item .hp-toc-label,
body.itemid-111 .blog-item .hp-pdfs,
body.itemid-111 .blog-item .hp-pdf-dl,
body.itemid-111 .blog-item .item-content > p,
body.itemid-111 .blog-item .hp-toc > p {
  display: none !important;
}

body.itemid-111 .blog-item .hp-toc-cover {
  display: block;
  grid-column: auto;
  grid-row: auto;
  margin: 0 0 0.7rem;
  background: #f3ead8;
}
body.itemid-111 .blog-item .item-content {
  display: flex;
  flex-direction: column-reverse;
}
body.itemid-111 .blog-item .hp-toc-cover img,
body.itemid-111 .blog-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 0;
  box-shadow: 0 14px 32px rgba(27, 23, 19, 0.12);
  margin: 0;
  display: block;
}
body.itemid-111 .blog-item img + img,
body.itemid-111 .blog-item .hp-toc-cover img + img,
body.itemid-111 .blog-item ul img,
body.itemid-111 .blog-item ol img {
  display: none !important;
}

/* Volumes without a real cover (appel only): hide on Archives, keep volume URL */
body.itemid-111 .blog-item:has(.page-header a[href*="vol-3-no-4"]),
body.itemid-111 .blog-item:has(.page-header a[href*="vol-7-no-4"]) {
  display: none !important;
}

body.itemid-111 .blog-item .page-header {
  margin: 0;
  padding: 0;
}
body.itemid-111 .blog-item .page-header h2,
body.itemid-111 .blog-item .page-header h2 a {
  font-family: var(--hp-serif);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--hp-ink);
  line-height: 1.25;
}

body.itemid-111 .blog-item:hover .hp-toc-cover img {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(27, 23, 19, 0.18);
}
body.itemid-111 .blog-item .hp-toc-cover img { transition: transform .3s ease, box-shadow .3s ease; }

body.itemid-111 .pagination,
body.itemid-111 .com-content-category-blog__pagination { display: none; }

body.view-category .blog-items,
.com-content-category-blog .blog-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

/* volume article lists (vol-9-1 etc.) */
body.itemid-119 .blog-items,
body[class*="itemid-11"] .com-content-category-blog .blog-items,
body[class*="itemid-12"] .com-content-category-blog .blog-items,
body[class*="itemid-13"] .com-content-category-blog .blog-items,
body[class*="itemid-14"] .com-content-category-blog .blog-items {
  grid-template-columns: 1fr;
  max-width: 46rem;
  margin: 0 auto;
}
body.itemid-111 .com-content-category-blog .blog-items {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  max-width: none;
}

/* =====================================================================
   Footer
   ===================================================================== */
footer,
.container-footer {
  background: var(--hp-ink);
  color: #d5cbb8;
  margin-top: 0;
  padding: 2rem 0;
  text-align: center;
}
.hp-footer-line {
  margin: 0;
  font-family: var(--hp-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* =====================================================================
   Contact / gallery leftovers
   ===================================================================== */
.hp-pdfs { margin-top: 1.6rem; }
.hp-pdfs h3 { color: var(--hp-forest); font-size: 1.15rem; font-family: var(--hp-serif); }
.hp-pdfs ul { list-style: none; padding: 0; columns: 2; gap: 0.4rem 2rem; }
.hp-pdfs li { break-inside: avoid; padding: 0.35rem 0; border-bottom: 1px solid var(--hp-rule); }
.hp-pdfs a { text-decoration: none; }
.hp-pdfs a:hover { text-decoration: underline; }
.hp-pdfs .hp-full { font-weight: 650; column-span: all; }

.hp-contact {
  background: var(--hp-sheet);
  border: 1px solid var(--hp-rule);
  border-radius: 0;
  padding: 1.2rem 1.4rem;
}
.hp-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
}
.hp-gallery img { width: 100%; height: 110px; object-fit: cover; }

.hp-pdf-dl {
  display: block !important;
  visibility: visible !important;
  margin-top: 2.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hp-rule);
}
.hp-pdf-dl a {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  background: var(--hp-accent);
  color: #f6efe2 !important;
  text-decoration: none;
  padding: 0.78rem 1.25rem;
  border-radius: 0;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border: 0;
  box-shadow: 0 10px 22px rgba(140, 44, 28, 0.2);
}
.hp-pdf-dl a::before {
  content: "";
  width: 0.85rem;
  height: 0.95rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M6 2h9l5 5v15a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm8 1.5V8h5.2L14 3.5zM12 11v6.2l-2.2-2.2-.8.8L12.5 19l3.5-3.2-.8-.8-2.2 2.2V11H12z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M6 2h9l5 5v15a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm8 1.5V8h5.2L14 3.5zM12 11v6.2l-2.2-2.2-.8.8L12.5 19l3.5-3.2-.8-.8-2.2 2.2V11H12z'/></svg>") center / contain no-repeat;
}
.hp-pdf-dl a:hover {
  background: var(--hp-accent-soft);
  color: #fff !important;
}

/* Never hide the article PDF button on article view (Archives itemid or volume itemid). */
body.view-article .hp-pdf-dl,
body.view-article .hp-pdf-dl a,
body.itemid-111.view-article .hp-pdf-dl,
body.itemid-111.view-article .hp-pdf-dl a {
  display: inline-flex !important;
  visibility: visible !important;
}
body.view-article .hp-pdf-dl {
  display: block !important;
}

/* Discreet hero download (cloned from the bottom button). */
.hp-pdf-hero {
  margin: 0.85rem 0 0;
}
.hp-pdf-hero a {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hp-accent) !important;
  text-decoration: none;
  border-bottom: 1px solid var(--hp-accent);
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}
.hp-pdf-hero a::before { display: none; }
.hp-pdf-hero a:hover { color: var(--hp-ink) !important; border-bottom-color: var(--hp-ink); }
.hp-essai .hp-pdf-hero a { color: #e8c9a4 !important; border-bottom-color: #e8c9a4; }

/* =====================================================================
   Articles — shared chrome (same revue)
   ===================================================================== */
body.itemid-119 .com-content-article,
body.view-article:not(.itemid-101) .com-content-article {
  max-width: 720px;
  margin: 1.6rem auto 3rem;
  padding: 2.2rem 0 3rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.itemid-119 .page-header h1 {
  font-family: var(--hp-serif);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.22;
  color: var(--hp-ink);
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
}

body.itemid-119 .article-info {
  display: block !important;
  margin: 0 0 1.6rem;
  padding: 0 0 1.1rem;
  border-bottom: 1px solid var(--hp-accent);
}
body.itemid-119 .article-info dt,
body.itemid-119 .article-info .published,
body.itemid-119 .article-info .hits,
body.itemid-119 .article-info .createdby { display: none !important; }
body.itemid-119 .article-info .category-name {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hp-accent);
}
body.itemid-119 .article-info .category-name .icon-folder-open,
body.itemid-119 .article-info .category-name > span:first-child { display: none; }
body.itemid-119 .article-info .category-name a {
  color: var(--hp-accent);
  text-decoration: none;
}

body.itemid-119 .com-content-article__body {
  text-align: justify;
  hyphens: auto;
  color: #221c16;
}
body.itemid-119 .com-content-article__body p {
  max-width: none;
  font-size: 1.08rem;
  line-height: 1.78;
  margin: 0 0 1.05rem;
}
body.itemid-119 .com-content-article__body p:first-of-type::first-letter {
  font-family: var(--hp-serif);
  font-size: 3.4rem;
  float: left;
  line-height: 0.8;
  padding: 0.12rem 0.4rem 0 0;
  color: var(--hp-accent);
  font-weight: 650;
}

body.view-article:has(.hp-mag) .com-content-article,
body.view-article:has(.hp-savant) .com-content-article,
body.view-article:has(.hp-portrait) .com-content-article,
body.view-article:has(.hp-essai) .com-content-article,
body.view-article:has(.hp-toc) .com-content-article {
  border: 0;
  box-shadow: none;
}

body.view-article:has(.hp-mag) .page-header,
body.view-article:has(.hp-savant) .page-header,
body.view-article:has(.hp-portrait) .page-header,
body.view-article:has(.hp-essai) .page-header,
body.view-article:has(.hp-toc) .page-header,
body.view-article:has(.hp-mag) .article-info,
body.view-article:has(.hp-savant) .article-info,
body.view-article:has(.hp-portrait) .article-info,
body.view-article:has(.hp-essai) .article-info,
body.view-article:has(.hp-toc) .article-info { display: none !important; }

body.view-article:has(.hp-mag) .com-content-article__body p,
body.view-article:has(.hp-savant) .com-content-article__body p,
body.view-article:has(.hp-portrait) .com-content-article__body p,
body.view-article:has(.hp-essai) .com-content-article__body p,
body.view-article:has(.hp-toc) .com-content-article__body p { max-width: none; }

body.view-article:has(.hp-mag) .com-content-article__body p:first-of-type::first-letter,
body.view-article:has(.hp-savant) .com-content-article__body p:first-of-type::first-letter,
body.view-article:has(.hp-portrait) .com-content-article__body p:first-of-type::first-letter,
body.view-article:has(.hp-essai) .com-content-article__body p:first-of-type::first-letter,
body.view-article:has(.hp-toc) .com-content-article__body p:first-of-type::first-letter {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  float: none;
  line-height: inherit;
  padding: 0;
  color: inherit;
}

.hp-kicker-art {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 650;
  font-family: var(--hp-sans);
}

.hp-display-title {
  font-family: var(--hp-serif);
  font-optical-sizing: auto;
  font-weight: 650;
  letter-spacing: -0.035em;
  margin: 0 0 0.75rem;
  color: var(--hp-ink);
}

.hp-byline {
  margin: 0 0 1rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  font-family: var(--hp-sans);
}

.hp-p1 img,
.hp-toc-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.hp-quote { margin: 1.6rem 0 1.8rem; padding: 0; border: 0; }

/* ---------- LONGREAD .hp-mag ---------- */
body.view-article:has(.hp-mag) .com-content-article {
  max-width: 1080px;
  margin: 0 auto 0;
  padding: 1.2rem 2rem 3.4rem;
  background: transparent;
  border-radius: 0;
  border-top: 0;
}

.hp-mag .hp-kicker-art { color: var(--hp-accent); }
.hp-mag .hp-display-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  max-width: 22ch;
  color: var(--hp-ink);
}
.hp-mag .hp-byline { color: var(--hp-ink); font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; }

.hp-mag .hp-hero-art {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.7fr);
  gap: 0.3rem 2.2rem;
  align-items: end;
  padding: 1.2rem 0 0.4rem;
}
.hp-mag .hp-kicker-art,
.hp-mag .hp-display-title,
.hp-mag .hp-byline { grid-column: 1; }
.hp-mag .hp-p1 {
  grid-column: 2;
  grid-row: 1 / span 4;
  margin: 0;
  justify-self: end;
  width: min(100%, 320px);
  background: #fff;
  padding: 0.4rem 0.4rem 0.65rem;
  box-shadow: 0 18px 40px rgba(27, 23, 19, 0.12);
  transform: none;
}
.hp-mag .hp-p1 img { border: 1px solid var(--hp-rule); }

.hp-mag .hp-quote {
  max-width: 66ch;
  margin: 2rem auto 2.2rem;
  padding: 0 0 0 1.4rem;
  border-left: 2px solid var(--hp-accent);
  background: transparent;
}
.hp-mag .hp-quote p {
  font-family: var(--hp-serif);
  font-size: 1.45rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.35;
  color: var(--hp-ink);
  margin: 0;
}

.hp-mag .hp-body {
  max-width: 65ch;
  margin: 0 auto;
  text-align: justify;
  hyphens: auto;
}
.hp-mag .hp-body h2 {
  font-family: var(--hp-serif);
  font-size: 1.4rem;
  color: var(--hp-ink);
  text-align: left;
  margin: 2.4rem 0 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--hp-rule);
}
.hp-mag .hp-body h2:first-child { border-top: 0; padding-top: 0; }
.hp-mag .hp-body p {
  font-size: 1.12rem;
  line-height: 1.82;
  margin: 0 0 1.1rem;
}
.hp-mag .hp-body > h2:first-child + p::first-letter {
  font-family: var(--hp-serif);
  font-size: 5.6rem;
  font-weight: 650;
  line-height: 0.78;
  float: left;
  padding: 0.1rem 0.15rem 0;
  margin: 0.08rem 0.4rem 0 0;
  color: var(--hp-accent);
  background: transparent;
  border-bottom: 0;
}
.hp-mag .hp-notes {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--hp-rule);
  font-size: 0.9rem;
  color: var(--hp-muted);
}

@media (max-width: 800px) {
  .hp-mag .hp-hero-art { grid-template-columns: 1fr; }
  .hp-mag .hp-p1 { grid-column: 1; grid-row: auto; transform: none; justify-self: start; }
  .hp-mag .hp-display-title { max-width: none; }
}

/* ---------- JOURNAL SAVANT .hp-savant ---------- */
body.view-article:has(.hp-savant) .com-content-article {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.8rem 2.1rem 3rem;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: 0;
}

.hp-savant { color: #221c16; }
.hp-savant .hp-kicker-art {
  color: var(--hp-forest);
  border-bottom: 1px solid var(--hp-forest);
  display: inline-block;
  padding-bottom: 0.25rem;
  margin-bottom: 0.9rem;
}
.hp-savant .hp-display-title {
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.22;
  max-width: 40rem;
}
.hp-savant .hp-byline {
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hp-ink);
}
.hp-savant .hp-hero-art {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 1rem 1.6rem;
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--hp-rule);
}
.hp-savant .hp-p1 { margin: 0; }
.hp-savant .hp-p1 img { border: 1px solid var(--hp-rule); filter: grayscale(0.12); }

.hp-savant .hp-quote {
  margin: 0 0 1.3rem;
  padding: 0.4rem 0 0.4rem 1rem;
  border-left: 1px solid var(--hp-forest);
}
.hp-savant .hp-quote p {
  font-family: var(--hp-serif);
  font-size: 1.08rem;
  font-style: italic;
  margin: 0;
  color: var(--hp-forest);
}

.hp-resume,
.hp-abstract {
  background: #fff;
  border: 1px solid var(--hp-rule);
  padding: 0.95rem 1.15rem 1rem;
  margin: 0 0 1.1rem;
}
.hp-resume { border-top: 3px solid var(--hp-forest); }
.hp-abstract { border-top: 3px solid var(--hp-accent); }
.hp-resume-label {
  font-size: 0.7rem !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700 !important;
  color: var(--hp-forest);
  margin: 0 0 0.4rem !important;
}
.hp-resume p,
.hp-abstract p { font-size: 0.95rem; line-height: 1.55; margin: 0; }
.hp-mots { font-size: 0.9rem; color: var(--hp-muted); }
.hp-mots span { font-weight: 700; color: var(--hp-forest); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; }

.hp-savant .hp-body {
  column-count: 2;
  column-gap: 2rem;
  column-rule: 1px solid var(--hp-rule);
}
.hp-savant .hp-body h2 {
  column-span: all;
  font-family: var(--hp-serif);
  font-size: 1.15rem;
  color: var(--hp-ink);
  margin: 1.5rem 0 0.7rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--hp-rule);
}
.hp-savant .hp-body p {
  font-size: 0.98rem;
  line-height: 1.62;
  margin: 0 0 0.75rem;
  text-align: justify;
  hyphens: auto;
}
.hp-savant .hp-notes {
  column-span: all;
  margin-top: 1.4rem;
  padding: 0.9rem 1rem 0.4rem;
  background: var(--hp-paper-deep);
  border-top: 1px solid var(--hp-rule);
  font-size: 0.82rem;
  color: #4a555b;
}
.hp-savant .hp-pdf-dl { column-span: all; }

@media (max-width: 800px) {
  .hp-savant .hp-hero-art { grid-template-columns: 1fr; }
  .hp-savant .hp-body { column-count: 1; }
}

/* ---------- PORTRAIT .hp-portrait ---------- */
body.view-article:has(.hp-portrait) .com-content-article {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.6rem 2rem 3rem;
  background: transparent;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

.hp-portrait { color: #241910; }
.hp-portrait .hp-kicker-art { color: var(--hp-accent); }
.hp-portrait .hp-short {
  font-family: var(--hp-serif);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--hp-accent);
  margin: 0 0 0.35rem;
  line-height: 1.12;
}
.hp-portrait .hp-display-title {
  font-family: var(--hp-sans);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #5c4636;
  line-height: 1.4;
  max-width: 38rem;
}
.hp-portrait .hp-byline { font-size: 1.02rem; color: var(--hp-accent); }

.hp-portrait .hp-hero-art {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 0.2rem 2rem;
}
.hp-portrait .hp-p1 {
  grid-column: 2;
  grid-row: 1 / span 6;
  margin: 0.2rem 0 0;
  position: sticky;
  top: 1rem;
}
.hp-portrait .hp-p1 img {
  border-radius: 0;
  box-shadow: 0 16px 36px rgba(90, 40, 10, 0.14);
  border: 0;
}

.hp-portrait .hp-quote {
  max-width: 38rem;
  margin: 1.2rem 0 1.5rem;
  padding: 0 0 0 1.1rem;
  background: transparent;
  border-radius: 0;
  border-left: 2px solid var(--hp-accent);
}
.hp-portrait .hp-quote p {
  font-family: var(--hp-serif);
  font-size: 1.22rem;
  font-style: italic;
  line-height: 1.4;
  margin: 0;
  color: #6b2e0c;
}

.hp-portrait .hp-body { max-width: 40rem; }
.hp-portrait .hp-body h2 {
  font-family: var(--hp-serif);
  font-size: 1.25rem;
  color: var(--hp-accent);
  margin: 1.8rem 0 0.7rem;
}
.hp-portrait .hp-body p {
  font-size: 1.08rem;
  line-height: 1.72;
  margin: 0 0 1rem;
}

@media (max-width: 800px) {
  .hp-portrait .hp-hero-art { grid-template-columns: 1fr; }
  .hp-portrait .hp-p1 { grid-column: 1; grid-row: auto; position: static; max-width: 260px; }
}

/* ---------- ESSAI .hp-essai ---------- */
body.view-article:has(.hp-essai) .com-content-article {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 2.8rem;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
}

.hp-essai .hp-hero-art {
  background: var(--hp-ink);
  color: #f6efe2;
  padding: 2.2rem 2.2rem 1.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 240px;
  gap: 1rem 1.6rem;
  align-items: end;
}
.hp-essai .hp-kicker-art { color: #e8c9a4; }
.hp-essai .hp-display-title {
  color: #f6efe2;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
  max-width: 16ch;
}
.hp-essai .hp-byline { color: #e4d5c0; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.82rem; }
.hp-essai .hp-p1 { margin: 0; }
.hp-essai .hp-p1 img {
  border: 0;
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}

.hp-essai .hp-quote {
  margin: 0;
  padding: 1.6rem 2.2rem;
  background: var(--hp-forest);
  color: #f6efe2;
}
.hp-essai .hp-quote p {
  font-family: var(--hp-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-style: italic;
  line-height: 1.35;
  margin: 0;
  max-width: 40rem;
}

.hp-essai .hp-body { padding: 1.8rem 2.2rem 0; max-width: 46rem; }
.hp-essai .hp-body h2 {
  font-family: var(--hp-serif);
  font-size: 1.3rem;
  color: var(--hp-ink);
  margin: 1.8rem 0 0.7rem;
}
.hp-essai .hp-body p {
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}
.hp-essai .hp-pdf-dl { margin-left: 2.2rem; margin-right: 2.2rem; }

@media (max-width: 800px) {
  .hp-essai .hp-hero-art { grid-template-columns: 1fr; padding: 1.4rem; }
  .hp-essai .hp-display-title { max-width: none; }
  .hp-essai .hp-body { padding: 1.2rem 1.2rem 0; }
}

/* ---------- SOMMAIRE .hp-toc ---------- */
body.view-article:has(.hp-toc) .com-content-article {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.8rem 2.2rem 3rem;
  background: transparent;
  border-radius: 0;
  border-top: 0;
}

.hp-toc-hero {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0.2rem 2.4rem;
  align-items: end;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--hp-ink);
}
.hp-toc-cover {
  grid-column: 1;
  grid-row: 1 / span 4;
  margin: 0;
}
.hp-toc-cover img {
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(27, 23, 19, 0.16);
  aspect-ratio: 3 / 4;
  object-fit: contain;
  object-position: center top;
  background: #f3ead8;
}
.hp-toc .hp-kicker-art { color: var(--hp-accent); }
.hp-toc .hp-display-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 0.2rem;
  line-height: 0.95;
}
.hp-toc-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--hp-muted);
  margin: 0;
}

.hp-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}
.hp-toc-list li {
  counter-increment: toc;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hp-rule);
  align-items: baseline;
}
.hp-toc-list li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--hp-serif);
  font-weight: 650;
  color: var(--hp-accent);
  font-size: 1.05rem;
}
.hp-toc-list a {
  text-decoration: none;
  color: var(--hp-ink);
  font-family: var(--hp-serif);
  font-weight: 500;
  font-size: 1.12rem;
  line-height: 1.35;
}
.hp-toc-list a:hover { color: var(--hp-accent); }
.hp-toc .hp-pdf-dl { border-top: 0; margin-top: 1.8rem; }

@media (max-width: 700px) {
  .hp-toc-hero { grid-template-columns: 1fr; }
  .hp-toc-cover { grid-row: auto; max-width: 200px; }
}

/* MAG extras (Abraham etc.) */
.hp-mag .hp-hero-art,
.hp-mag .hp-hero-text,
.hp-mag .hp-kicker-art,
.hp-mag .hp-display-title,
.hp-mag .hp-byline { text-align: left; }
.hp-mag .hp-display-title { max-width: none; }
.hp-mag-rule {
  width: 4.5rem;
  height: 2px;
  margin: 1.1rem 0 0;
  background: var(--hp-accent);
}
.hp-mag .hp-p1 figcaption {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--hp-muted);
  text-align: center;
  margin-top: 0.4rem;
}
.hp-mag-drop {
  float: left;
  font-family: var(--hp-serif);
  font-size: 5.8rem;
  font-weight: 650;
  line-height: 0.78;
  padding: 0.1rem 0.15rem 0;
  margin: 0.15rem 0.5rem 0.15rem 0;
  color: var(--hp-accent);
  background: transparent;
  border-bottom: 0;
}
.hp-mag .hp-body > h2:first-child + p::first-letter { all: unset; }
.hp-mag .hp-list { margin: 0 0 1.2rem; padding-left: 1.15rem; text-align: left; }
.hp-mag .hp-list li { margin: 0 0 0.4rem; line-height: 1.55; font-size: 1.02rem; }
.hp-mag .hp-biblio { margin: 0 0 1.4rem; padding-left: 1.2rem; text-align: left; }
.hp-mag .hp-biblio li { margin: 0 0 0.65rem; font-size: 0.95rem; line-height: 1.5; }
.hp-mag .hp-fn, .hp-mag-fn { font-size: 0.86rem; line-height: 1.5; color: var(--hp-muted); text-align: left; margin: 0 0 0.85rem; }
.hp-mag .hp-keywords, .hp-mag-keywords { font-size: 0.95rem; color: var(--hp-muted); border-top: 1px solid var(--hp-rule); padding-top: 0.9rem; }
@media (max-width: 800px) {
  .hp-mag-drop { font-size: 4.3rem; padding: 0.1rem 0.12rem 0; }
}

.hp-mag .hp-hero-text { grid-column: 1; min-width: 0; }
.hp-mag .hp-quote,
.hp-mag .hp-quote p { text-align: left; hyphens: none; }
.hp-mag .hp-mag-list { margin: 0 0 1.2rem; padding-left: 1.15rem; text-align: left; }
.hp-mag .hp-mag-list li { margin: 0 0 0.4rem; line-height: 1.55; font-size: 1.02rem; }
.hp-mag .hp-mag-biblio { margin: 0 0 1.4rem; padding-left: 1.2rem; text-align: left; }
.hp-mag .hp-mag-biblio li { margin: 0 0 0.65rem; font-size: 0.95rem; line-height: 1.5; }

@media (max-width: 900px) {
  .hp-hero-inner { grid-template-columns: 1fr; padding: 6.2rem 1.3rem 2.2rem; min-height: 100svh; }
  .hp-hero-cover { justify-self: start; max-width: 200px; }
  .hp-covers { grid-template-columns: repeat(2, minmax(0,1fr)); }
  body.itemid-111 .blog-items,
  body.itemid-111 .com-content-category-blog .blog-items,
  body.itemid-111 .com-content-category-blog__items { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .hp-pdfs ul { columns: 1; }
  .blog-items, .com-content-category-blog .blog-items { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body.itemid-111 .blog-items,
  body.itemid-111 .com-content-category-blog__items { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .hp-wordmark { font-size: 1.05rem; }
}


/* === hp-lang 2026 === */
/* Pills show only languages that have a real page. No invented labels. */
.hp-lang {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1.1rem;
}
.hp-lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid var(--hp-accent);
  border-radius: 999px;
  font-family: var(--hp-sans);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none !important;
  color: var(--hp-accent) !important;
  background: transparent;
  line-height: 1.2;
}
.hp-lang-pill:hover {
  background: var(--hp-accent);
  color: #f6efe2 !important;
}
.hp-lang-pill.is-current {
  background: var(--hp-accent);
  color: #f6efe2 !important;
  pointer-events: none;
}
.hp-lang-pill.is-pref:not(.is-current) {
  box-shadow: 0 0 0 2px rgba(140, 44, 28, 0.22);
}

.hp-toc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.75rem;
  min-width: 0;
}
.hp-toc-list .hp-lang-toc {
  margin: 0;
  flex: 0 0 auto;
}
.hp-toc-list .hp-lang-pill {
  min-width: 1.85rem;
  padding: 0.12rem 0.42rem;
  font-size: 0.62rem;
}
.hp-toc-list a.hp-lang-pill {
  font-family: var(--hp-sans);
  font-weight: 650;
  font-size: 0.62rem;
  color: var(--hp-accent) !important;
}
.hp-toc-list a.hp-lang-pill:hover,
.hp-toc-list a.hp-lang-pill.is-current {
  color: #f6efe2 !important;
}

header.header .hp-lang-site {
  display: flex;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin-left: 0.8rem;
  flex: 0 0 auto;
}
header.header .hp-lang-site button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #f0e8da;
  font-family: var(--hp-sans);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.15rem;
  cursor: pointer;
  line-height: 1;
}
header.header .hp-lang-site button:hover,
header.header .hp-lang-site button.is-current {
  color: #fff;
  box-shadow: inset 0 -1px 0 #f0e8da;
}
header.header .hp-lang-site .hp-lang-sep {
  color: #8a8174;
  font-size: 0.72rem;
  user-select: none;
}
@media (max-width: 700px) {
  header.header .hp-lang-site { margin-left: 0.2rem; }
}


/* =====================================================================
   HP FINISH 2026 — pages minces, contact, recherche, figures
   ===================================================================== */

/* Header search — discreet revue field, not a Google bar */
header.header .container-search {
  display: flex;
  align-items: center;
  margin-left: 0.65rem;
  flex: 0 0 auto;
}
header.header .mod-finder.hp-finder,
header.header .hp-finder {
  margin: 0;
}
header.header .mod-finder form,
header.header .hp-finder form {
  margin: 0;
}
header.header .mod-finder .mod-finder__search,
header.header .hp-finder .mod-finder__search,
header.header .container-search .input-group {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(240, 232, 218, 0.28);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0;
}
header.header .container-search .form-control,
header.header .mod-finder input[type="text"] {
  width: 9.2rem;
  min-width: 7rem;
  max-width: 14rem;
  height: 1.85rem;
  padding: 0.2rem 0.55rem;
  border: 0 !important;
  background: transparent !important;
  color: #f4efe6 !important;
  font-family: var(--hp-sans);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  box-shadow: none !important;
  border-radius: 0 !important;
}
header.header .container-search .form-control::placeholder,
header.header .mod-finder input[type="text"]::placeholder {
  color: #9a9184;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
header.header .container-search .btn,
header.header .mod-finder button {
  height: 1.85rem;
  padding: 0 0.65rem;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #f0e8da !important;
  font-family: var(--hp-sans);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: none !important;
}
header.header .container-search .btn:hover,
header.header .mod-finder button:hover {
  color: #fff !important;
  background: rgba(140, 44, 28, 0.85) !important;
}
@media (max-width: 900px) {
  header.header .container-search .form-control,
  header.header .mod-finder input[type="text"] { width: 6.4rem; }
}

/* Static revue pages */
.hp-page {
  max-width: 46rem;
  margin: 0 auto;
  background: var(--hp-sheet);
  border: 1px solid var(--hp-rule);
  box-shadow: 0 18px 40px rgba(27, 23, 19, 0.07);
  padding: 2.2rem 2.4rem 2.6rem;
}
.hp-page > h2 {
  font-family: var(--hp-serif);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--hp-ink);
  margin: 0 0 1.1rem;
}
.hp-page .hp-next {
  max-width: none;
  margin: 0 0 1.6rem;
  padding: 0.9rem 0 1.1rem;
  display: block;
  border-bottom: 1px solid var(--hp-rule);
}
.hp-page .hp-next p { margin: 0 0 0.25rem; }
.hp-page-more {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hp-muted);
}
.hp-page-more a {
  color: var(--hp-accent);
  text-decoration: none;
  font-weight: 600;
}
.hp-page-more a:hover { color: var(--hp-ink); text-decoration: underline; }

.hp-fig {
  margin: 1.4rem 0 1.7rem;
  padding: 0;
  background: var(--hp-sheet);
  border: 1px solid var(--hp-rule);
  box-shadow: 0 16px 34px rgba(27, 23, 19, 0.08);
  max-width: 100%;
}
.hp-fig img,
.hp-fig picture img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.hp-fig figcaption,
.hp-fig .hp-fig-cap {
  font-family: var(--hp-serif);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--hp-ink-soft);
  padding: 0.7rem 0.95rem 0.9rem;
  border-top: 1px solid var(--hp-rule);
}
body.view-article:has(.hp-page) .com-content-article,
body.view-article:has(.hp-fig) .com-content-article {
  max-width: 52rem;
  margin: 0 auto;
  padding-top: 1.6rem;
}
body.view-article:has(.hp-page) .com-content-article__body p,
body.view-article:has(.hp-fig) .com-content-article__body p {
  max-width: none;
}
body.view-article:has(.hp-page) .com-content-article__body p:first-of-type::first-letter {
  font-size: inherit;
  float: none;
  line-height: inherit;
  padding: 0;
  color: inherit;
  font-weight: inherit;
}

/* GRAHN image readable full column */
.hp-page-grahn .hp-fig { margin-top: 0; }
.hp-page-grahn img { object-fit: contain; background: var(--hp-paper); }

/* Points de vente — HTML aéré, textes inchangés */
.hp-sales {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hp-sales li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hp-rule);
  line-height: 1.55;
}
.hp-sales li:last-child { border-bottom: 0; }

/* Contact — carte + formulaire, pas Cassiopeia brut */
body.hp-contact-page .container-component,
.com-contact.contact {
  max-width: 920px;
  margin: 0 auto;
}
body.hp-contact-page h1,
.com-contact .page-header h1,
.com-contact .contact-name {
  font-family: var(--hp-serif);
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--hp-ink);
}
body.hp-contact-page .page-header,
.com-contact .page-header { border: 0; margin-bottom: 0.4rem; }
.com-contact h2, .com-contact h3 {
  font-family: var(--hp-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--hp-accent);
  margin: 1.4rem 0 0.8rem;
}
.com-contact__container {
  background: var(--hp-sheet);
  border: 1px solid var(--hp-rule);
  box-shadow: 0 16px 34px rgba(27, 23, 19, 0.07);
  padding: 1.4rem 1.6rem 1.5rem;
  margin-bottom: 1.6rem;
}
.com-contact__info address,
.com-contact .contact-address,
dl.contact-address {
  font-style: normal;
  color: var(--hp-ink);
  line-height: 1.6;
}
.com-contact dt { color: var(--hp-muted); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.com-contact dd { margin-left: 0; margin-bottom: 0.7rem; }
.com-contact__form,
.contact-form {
  background: var(--hp-sheet);
  border: 1px solid var(--hp-rule);
  box-shadow: 0 16px 34px rgba(27, 23, 19, 0.07);
  padding: 1.4rem 1.6rem 1.6rem;
}
.contact-form .form-control,
.contact-form textarea,
.contact-form input[type="text"],
.contact-form input[type="email"] {
  background: var(--hp-paper) !important;
  border: 1px solid var(--hp-rule) !important;
  border-radius: 0 !important;
  color: var(--hp-ink);
  font-family: var(--hp-sans);
}
.contact-form .btn-primary,
.contact-form button.validate {
  background: var(--hp-accent) !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #f6efe2 !important;
  font-family: var(--hp-sans);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.7rem 1.2rem;
  box-shadow: 0 10px 22px rgba(140, 44, 28, 0.2);
}
.contact-form .btn-primary:hover {
  background: var(--hp-accent-soft) !important;
}
@media (min-width: 820px) {
  .com-contact.contact {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
    column-gap: 1.6rem;
    row-gap: 0.4rem;
    align-items: start;
  }
  .com-contact > .page-header,
  .com-contact > h1,
  body.hp-contact-page .com-contact > h1 { grid-column: 1 / -1; }
  .com-contact__container { grid-column: 1; }
  .com-contact > h2,
  .com-contact > h3 { grid-column: 2; margin-top: 0; }
  .com-contact__form, .contact-form { grid-column: 2; }
}

/* Finder results */
body.hp-search-page .com-finder,
.com-finder {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.4rem 0 2.4rem;
}
.com-finder h1,
.com-finder .page-header h1 {
  font-family: var(--hp-serif);
  font-weight: 650;
  letter-spacing: -0.03em;
}
.com-finder .search-results li,
.com-finder__results .result__item,
ul#search-result-list > li {
  background: var(--hp-sheet);
  border: 1px solid var(--hp-rule);
  box-shadow: 0 10px 22px rgba(27, 23, 19, 0.05);
  padding: 1rem 1.15rem;
  margin: 0 0 0.75rem;
  list-style: none;
}
.com-finder .result-title a,
.com-finder .result__title a {
  font-family: var(--hp-serif);
  color: var(--hp-ink);
  text-decoration: none;
}
.com-finder .result-title a:hover { color: var(--hp-accent); }

.hp-appel-txt p {
  max-width: none;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--hp-ink);
}
.hp-appel-txt p:first-child {
  font-family: var(--hp-serif);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
