/* Official RQMF logo + registration number (sourced from rqmf.org.uk; see images/accreditations/SOURCES.md). */
.accred-logo { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; border-radius: 3px; cursor: default; }
.accred-logo img { display: block; width: auto; }
/* RQMF artwork is white-on-transparent; on light backgrounds show it on RQMF's own navy, as rqmf.org.uk does. */
.accred-logo--rqmf-chip { background: #292345; padding: 3px 5px; }
/* Header chips */
.nav-accred .accred-logo img { height: 28px; }
.nav-accred .accred-logo--rqmf-chip img { height: 22px; }
@media (max-width: 1024px) {
  .nav-accred .accred-logo img { height: 22px; }
  .nav-accred .accred-logo--rqmf-chip { padding: 2px 4px; }
  .nav-accred .accred-logo--rqmf-chip img { height: 18px; }
}
/* Footer (ink) and on-page trust strips */
.footer-accreditations .accred-logo img { height: 34px; }
.accred-logo--inline img { height: 36px; }
.accred-logo--inline.accred-logo--rqmf-chip img { height: 28px; }
/* Badge text "RQMF Registered · No. 2263" and qualification note */
.accred-logo { gap: 0.4rem; color: inherit; }
.accred-text { line-height: 1.2; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.accred-logo--rqmf-chip .accred-text { color: #fff; }
.nav-accred .accred-text { font-size: 0.7rem; }
@media (max-width: 1024px) { .nav-accred .accred-text { display: none; } }
.accred-note { font-size: 0.72rem; line-height: 1.3; opacity: 0.85; }

/* ---- Integrated treatment (v3) ----
   Cream surfaces: text link only (RQMF supplies a white logo, so it is shown only on dark footers).
   The logo is never recoloured or redrawn. */
.accred-link { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent-dark, #6B5840); text-decoration: none; border-bottom: 1px solid var(--color-border, #E0DCD5); padding-bottom: 1px; white-space: nowrap; cursor: default; }
.nav-accred { padding-left: 1rem; border-left: 1px solid var(--color-border, #E0DCD5); }
.nav-accred .accred-link { border-bottom: 0; font-size: 0.64rem; }
.page-header-accred .accred-note { color: var(--color-text-muted, #595959); }
/* Footer: one centred row, label · logo + number · note */
.footer-accreditations { column-gap: 0.9rem !important; row-gap: 0.35rem !important; }
.footer-accreditations .accred-label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: inherit; opacity: 0.7; }
.footer-accreditations .accred-logo--footer { gap: 0.55rem; color: inherit; }
.footer-accreditations .accred-logo--footer img { height: 26px; }
.footer-accreditations .accred-logo--footer .accred-text { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.9; }
.footer-accreditations .accred-note { font-size: 0.72rem; opacity: 0.7; }
.footer-accreditations .accred-note::before { content: "·"; margin-right: 0.9rem; opacity: 0.6; }
@media (max-width: 600px) {
  .footer-accreditations { flex-direction: column; }
  .footer-accreditations .accred-note::before { content: none; }
}
/* Header badge: more noticeable, AA on cream (#5A4A35 on #FAF8F5 ≈ 8.6:1) */
.nav-accred { border-left: 0; padding-left: 0.85rem; }
.nav-accred .accred-link { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; color: #5A4A35; border: 1px solid rgba(90,74,53,0.35); border-radius: 999px; padding: 0.3rem 0.75rem; line-height: 1.2; }
@media (max-width: 1180px) { .nav-accred { padding-left: 0.5rem; margin-left: 0.5rem !important; } .nav-accred .accred-link { font-size: 0.7rem; padding: 0.2rem 0.55rem; letter-spacing: 0.03em; } }
/* Narrow desktops: keep the full nav on screen with the badge */
@media (min-width: 769px) and (max-width: 1180px) {
  nav { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .nav-links { gap: 0.75rem !important; }
  .nav-links .nav-cta, .nav-links .nav-cta-dark { padding: 0.6rem 0.95rem !important; }
  .nav-accred { margin-right: 0.5rem !important; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .nav-links { gap: 0.6rem !important; }
  .nav-accred .accred-link { letter-spacing: 0.01em; padding: 0.2rem 0.5rem; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  nav .logo { font-size: 1.3rem; gap: 0.5rem; }
}
@media (min-width: 769px) and (max-width: 1060px) {
  .nav-links { gap: 0.45rem !important; }
  nav .logo { font-size: 1.2rem; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .nav-links a { font-size: 0.9rem; white-space: nowrap; }
}
/* Phones: header badge hidden everywhere (matches other pages); product pages were pushing the menu button off-screen */
@media (max-width: 768px) { .nav-accred { display: none !important; } }
@media (max-width: 768px) { nav .mobile-menu-btn { margin-left: auto; } }
/* r2: footer accreditation label/note readable on dark */
.footer-accreditations .accred-label, .footer-accreditations .accred-note { opacity: 1; color: rgba(255,255,255,0.68); }

/* RQMF badge is plain content, not a link: no hover or pointer. */
.accred-link, .accred-logo, .about-accred-logo { cursor: default; }
