/*
 * N46y (19-11-2026), Nick. Staging first (House Rule 22). Base: N46x build 4.
 * 1. The photo credit slot (WU2): the caption of the header picture, small, under the header band (gpcf_n46y_credit_html(), single.php).
 * 2. The six Get in touch buttons that were close in colour to their band (WS2, House Rule 24): Expat services, Home and construction, Health, Yachting,
 *    Shopping, Leisure take a darker shade of their own accent, white label, no white line. The other rubriques keep the button of n46x.css section 5.
 * 3. Phones, 768 px and under (WV2): no word of a heading or of the header subtitle is cut with a hyphen (style.css B3 sets hyphens:auto), the category label
 *    and the date of the header meta wrap as whole units.
 * The class n46y-a does not exist in the markup: it only raises specificity over n46x.css.
 */

/* ===== 1. The photo credit slot ===== */
.gpcf-credit-row{ position:relative; z-index:3; }
.gpcf-credit-row .gpcf-credit{
  margin:8px 0 0;
  font-family:var(--font-body);
  font-size:14px;
  line-height:1.4;
  color:var(--os-muted);
  overflow-wrap:break-word;
}
.gpcf-credit-row .gpcf-credit a{ color:inherit; text-decoration:underline; text-underline-offset:2px; }
/* The credit row is a .wrap like the header and the page body: the same left edge and the same gutter. */
@media (max-width:768px){
  .gpcf-credit-row .gpcf-credit{ margin-top:6px; }
}

/* ===== 2. The six darker Get in touch buttons =====
   --gt-btn: the accent of the rubrique with 70 percent (75 for Shopping and Leisure) of the chrome ink, white label (10.7 to 16.6 to 1 measured). The button
   of n46x.css section 5 (--bn-btn, the lighter tone, shared with the offer band and the hub button) is untouched everywhere else. */
@supports (background:color-mix(in srgb,red 50%,blue)){
  body.gpcf-rub-services-expatries,
  body.gpcf-rub-maison,
  body.gpcf-rub-sante,
  body.gpcf-rub-nautisme{ --gt-btn:color-mix(in srgb,var(--acc) 30%,var(--os-ink-black)); }
  body.gpcf-rub-shopping,
  body.gpcf-rub-loisirs{ --gt-btn:color-mix(in srgb,var(--acc) 25%,var(--os-ink-black)); }

  body aside.gpcf-cta:not(.gpcf-cta--form) a.gpcf-cta__btn:not(.n46x-a):not(.n46x-b):not(.n46y-a),
  body div.closing a.cta:not(.n46x-a):not(.n46x-b):not(.n46y-a){
    background-color:var(--gt-btn,var(--bn-btn));
    color:var(--on-dark);
    border:0;
    box-shadow:none;
  }
  body aside.gpcf-cta:not(.gpcf-cta--form) a.gpcf-cta__btn:not(.n46x-a):not(.n46x-b):not(.n46y-a):hover,
  body aside.gpcf-cta:not(.gpcf-cta--form) a.gpcf-cta__btn:not(.n46x-a):not(.n46x-b):not(.n46y-a):focus-visible,
  body div.closing a.cta:not(.n46x-a):not(.n46x-b):not(.n46y-a):hover,
  body div.closing a.cta:not(.n46x-a):not(.n46x-b):not(.n46y-a):focus-visible{
    background-color:color-mix(in srgb,var(--gt-btn,var(--bn-btn)) 80%,var(--os-ink-black));
    color:var(--on-dark);
  }
}

/* ===== 3. Phones ===== */
@media (max-width:768px){
  /* style.css B3 sets hyphens:auto on the headings and the header titles; here a long word moves to the next line whole. */
  body :is(h1,h2,h3,h4,h5,h6),
  body .pagehead .sub,
  body .fm-course :is(.fml-h2,.fmc-h,.fmx-h,.fmp-h){
    -webkit-hyphens:manual;
    hyphens:manual;
  }
  /* The header meta: the category label and the date are two units, side by side when they fit, one under the other when not; neither is cut inside a word. */
  body .pagehead .meta{ flex-wrap:wrap; row-gap:8px; column-gap:12px; align-items:center; }
  body .pagehead .meta .chip{ max-width:100%; white-space:normal; line-height:1.25; overflow-wrap:normal; word-break:normal; }
  body .pagehead .meta time{ min-width:0; line-height:1.3; letter-spacing:1.5px; overflow-wrap:normal; text-wrap:balance; }
}
