/*
Theme Name: Relief Chefs UK
Theme URI: https://reliefchefs.co.uk/
Description: The Relief Chefs UK website: black service, cream paper, one red. Replaces Astra and Elementor; the blog, jobs, forms and plugins keep working.
Version: 1.1.8
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: reliefchefs
License: Proprietary - Reliefchefs LTD
*/
/* Relief Chefs UK — one calm system taken from the app: black service, cream paper, one red.
   Layout: a dark photo or video opener on each page, then wide cream sections with lots of air. */
:root {
  --ink: #0f0e0d;
  --ink-2: #1b1917;
  --cream: #f7f3ed;
  --paper: #fffdf9;
  --line: #ddd5ca;
  --line-dark: #3a3632;
  --muted: #5d5650;
  --muted-dark: #b9b1a8;
  --red: #b4232c;
  --red-hover: #9a1c24;
  --red-on-dark: #e0474f;

  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.5rem; line-height: 1.2; }
p { margin: 0; max-width: 62ch; }
.lede { font-size: 1.15rem; }
.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red);
}
.dark .eyebrow { color: var(--red-on-dark); }
h1 em, h2 em { font-style: italic; color: var(--red); }
.dark h1 em, .dark h2 em { color: var(--red-on-dark); }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 8px;
  font: 700 0.95rem/1 var(--body); text-decoration: none;
  border: 1.5px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-line { border-color: currentColor; }
.dark .btn-line { color: var(--cream); }
.btn-line:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.dark .btn-line:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.arrow::after { content: "→"; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--cream);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { white-space: nowrap; text-decoration: none; font-size: 0.88rem; font-weight: 600; color: var(--muted-dark); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red-on-dark); padding-bottom: 4px; }
.nav .btn { color: #fff; padding: 10px 14px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-dark); color: var(--cream); border-radius: 8px; padding: 9px 14px; font: 600 0.9rem var(--body); }

@media (max-width: 1320px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--cream); }
  .nav .btn { margin-top: 16px; justify-content: center; border: 0; }
}

/* ---------- openers ---------- */
.dark { background: var(--ink); color: var(--cream); }
.dark p { color: var(--muted-dark); }
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,14,13,.92) 0%, rgba(15,14,13,.72) 45%, rgba(15,14,13,.25) 100%),
              linear-gradient(0deg, rgba(15,14,13,.6), transparent 40%);
}
.hero .wrap { padding-block: clamp(90px, 14vw, 170px) clamp(70px, 10vw, 120px); display: grid; gap: 26px; }
.hero p { color: #ddd6cd; }
.hero-small .wrap { padding-block: clamp(70px, 10vw, 120px) clamp(56px, 8vw, 90px); }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.92rem; color: var(--muted-dark); margin-top: 6px; }
.hero-note strong { color: var(--cream); font-weight: 600; }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 10vw, 130px); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 60px); }
.paper { background: var(--paper); }
.rule-top { border-top: 1px solid var(--line); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split > * { min-width: 0; }
.split .copy { display: grid; gap: 22px; align-content: start; }
.photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.wide { aspect-ratio: 3 / 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split .photo { order: -1; aspect-ratio: 3 / 2; } }

/* two doors: clients / chefs */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.door {
  display: grid; gap: 14px; align-content: start;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.door:hover { border-color: var(--ink); }
.door .link { font-weight: 700; color: var(--red); margin-top: 8px; }
.door.inverse { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.doors.team .door { justify-content: flex-start; gap: 0; padding: clamp(26px, 3.4vw, 40px); }
.doors.team h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.1rem); line-height: 1.1; margin: 0; }
.doors.team .role { display: block; margin: 10px 0 18px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.doors.team p { margin: 0; font-size: 0.98rem; line-height: 1.7; color: var(--muted); max-width: 46ch; }
.door.inverse p { color: var(--muted-dark); }
.door.inverse .link { color: var(--red-on-dark); }
.dark .door.inverse { background: var(--ink-2); border-color: var(--line-dark); }
.dark .door.inverse:hover { border-color: var(--cream); }
@media (max-width: 760px) { .doors { grid-template-columns: 1fr; } }
/* six services: three across, two on a tablet, one on a phone */
.doors-3 { grid-template-columns: repeat(3, 1fr); }
.doors-3 .door { padding: clamp(24px, 3vw, 36px); }
.doors-3 h3 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; margin: 0; }
@media (max-width: 1000px) { .doors-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .doors-3 { grid-template-columns: 1fr; } }
.store-soon { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px dashed var(--muted-dark); border-radius: 999px; font-weight: 700; font-size: 0.95rem; }
.grecaptcha-badge { visibility: hidden; }
.recaptcha-note { margin-top: 12px; font-size: 0.8rem; color: var(--muted); }
.recaptcha-note a { color: inherit; }
.note { border-left: 3px solid var(--red); padding: 4px 0 4px 16px; color: var(--muted); }
.dark .note { color: var(--muted-dark); }

/* steps: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; padding-block: 20px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); grid-row: span 2; font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--red); }
.steps strong { font-size: 1.05rem; }
.steps p { color: var(--muted); font-size: 0.97rem; }

/* plain facts list */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.facts li { padding-left: 26px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 12px; height: 2px; background: var(--red); }
.dark .facts li::before { background: var(--red-on-dark); }

/* prices */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 10px; align-content: start; }
.price .amount { font-family: var(--display); font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price .amount small { font-family: var(--body); font-size: 0.9rem; color: var(--muted); }
.price p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; } }

/* quote */
.quote { display: grid; gap: 18px; max-width: 820px; }
.quote blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.25; }
.quote cite { font-style: normal; font-size: 0.92rem; font-weight: 600; color: var(--muted-dark); }

/* app */
.phones { display: flex; justify-content: center; gap: clamp(12px, 3vw, 28px); }
.phones img { width: min(46%, 270px); height: auto; border-radius: clamp(22px, 3.4vw, 38px); filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.phones img:last-child { margin-top: 48px; }
.phones img:only-child { margin-top: 0; }

/* call band */
.callband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.phone-big { font-family: var(--display); font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1; color: var(--cream); text-decoration: none; font-variant-numeric: tabular-nums; }

/* form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 700; }
.form input, .form select, .form textarea {
  font: 400 1rem var(--body); color: var(--ink); background: var(--cream);
  border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; width: 100%;
}
.form textarea { min-height: 110px; resize: vertical; }
.form .btn { justify-self: start; cursor: pointer; }
.form-msg { grid-column: 1 / -1; font-weight: 600; color: var(--red); }
.form .consent { font-weight: 400; font-size: 0.92rem; }
.form .consent span { display: flex; flex-direction: row-reverse; align-items: flex-end; justify-content: space-between; gap: 16px; }
.form .consent input { flex: none; width: 22px; height: 22px; margin: 0 0 2px; accent-color: var(--red); }
/* Section links land below the sticky header */
[id] { scroll-margin-top: 96px; }
.form fieldset { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.form legend { font-size: 0.88rem; font-weight: 700; padding: 0; margin-bottom: 6px; }
.form .choices { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.form .choices label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; font-size: 0.97rem; }
.form .choices input { width: auto; accent-color: var(--red); }
.form input[type=file] { background: transparent; border-style: dashed; }
.form .form-head { grid-column: 1 / -1; font-family: var(--display); font-size: 1.35rem; margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.form .form-head:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
/* hero video pause */
.video-toggle { position: absolute; right: var(--gutter); bottom: 20px; z-index: 2; font: 600 0.85rem var(--body); color: var(--cream); background: rgba(15,14,13,.55); border: 1px solid var(--line-dark); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.video-toggle:hover { background: var(--ink); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); font-size: 0.92rem; border-top: 1px solid var(--line-dark); }
.site-footer .wrap { padding-block: 60px 36px; display: grid; gap: 40px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-top > * { min-width: 0; }
.foot-top img { height: 34px; width: auto; margin-bottom: 16px; }
.foot-top h4 { margin: 0 0 12px; color: var(--cream); font: 700 0.78rem var(--body); letter-spacing: .14em; text-transform: uppercase; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-top a { text-decoration: none; }
.foot-top a:hover { color: var(--cream); }
.foot-legal { border-top: 1px solid var(--line-dark); padding-top: 22px; font-size: 0.82rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot-credit { flex-basis: 100%; margin-top: 14px; opacity: 0.7; }
.foot-credit a { color: inherit; }
@media (max-width: 820px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > :first-child { grid-column: 1 / -1; } }

/* Long-form pages (privacy policy) */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 2.2rem 0 .7rem; }
.prose h3 { font-family: var(--body); font-weight: 700; font-size: 1.05rem; margin: 1.4rem 0 .4rem; }
.prose p, .prose li { line-height: 1.65; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .35rem 0; }
.prose a { color: var(--red); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .6rem .5rem; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 700; }
@media (max-width: 600px) { .prose table, .prose tbody, .prose tr, .prose td { display: block; } .prose thead { display: none; } .prose td:first-child { font-weight: 700; border-bottom: 0; padding-bottom: 0; } }

/* ---- Live-site content carried over (9 Oct 2026): partner logos, FAQ, offer, promise ---- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 40px); }
.logos img { height: clamp(36px, 4.6vw, 54px); width: auto; opacity: .85; }
.logos-head { text-align: center; margin-bottom: 26px; }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 4px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p, .faq details ul { margin: 0 0 18px; color: var(--muted); line-height: 1.6; }
.faq details ul { padding-left: 1.1rem; }
.offer { display: grid; gap: 10px; justify-items: start; border: 2px solid var(--red); border-radius: var(--radius); padding: clamp(20px, 4vw, 34px); background: var(--paper); }
.offer .big { font-family: var(--display); font-size: clamp(2rem, 5vw, 3rem); line-height: 1; color: var(--red); }
.offer p { margin: 0; color: var(--muted); }
.promise { max-width: 60ch; }
.promise p { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.35; }
.guarantee { display: inline-block; margin-top: 6px; font-weight: 700; color: var(--cream); border-bottom: 2px solid var(--red-on-dark); }
.foot-tag { color: var(--muted-dark); font-size: .88rem; margin: 6px 0 0; }

/* Blog and job cards (shared by the preview and the WordPress theme) */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.post-card { display: grid; align-content: start; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; }
.post-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.post-card .pc-body { display: grid; gap: 8px; padding: 18px 20px 22px; }
.post-card h2 { font-size: 1.35rem; line-height: 1.2; margin: 0; }
.post-card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 0.95rem; }
.post-card:hover h2 { color: var(--red); }
.meta { color: var(--muted); font-size: 0.88rem; font-weight: 600; }
.dark .meta { color: var(--muted-dark); }

/* Insurance promise band (Walter, 21 Oct): straight after the hero on Home and Recruitment Services */
.assure { padding: 28px 0 0; }
.assure-card { display: flex; gap: 24px; align-items: center; background: var(--paper, #f6f1ea); border-left: 4px solid var(--red, #b3121b); padding: 24px 28px; }
.assure-mark { flex-shrink: 0; font-family: var(--display); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--red, #b3121b); }
.assure-card h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin: 0 0 6px; }
.assure-card p { margin: 0; max-width: 70ch; }
.assure-card .assure-sub { margin-top: 8px; color: var(--muted, #5b5b5b); font-size: .95rem; }
@media (max-width: 600px) { .assure-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; } }

/* ---- WordPress additions (theme.py) ---- */
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: var(--radius); }
.nav { gap: 20px; }
.site-header .wrap { max-width: 1360px; }
.brand { flex-shrink: 0; }
@media (max-width: 1320px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--cream); }
  .nav .btn { margin-top: 16px; justify-content: center; border: 0; }
}
.social a { color: var(--red); font-weight: 600; }

/* Contact Form 7, laid out like the designed form */
.rc-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
.rc-form form { display: grid; gap: 16px; }
.rc-form p { margin: 0; }
.rc-form label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 700; }
.rc-form input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=file]), .rc-form select, .rc-form textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.rc-form input[type=file] { font: inherit; font-size: 0.9rem; }
.rc-form textarea { min-height: 110px; resize: vertical; }
.rc-form input[type=submit] { justify-self: start; cursor: pointer; font: inherit; font-weight: 700; color: #fff; background: var(--red); border: 0; border-radius: 999px; padding: 14px 24px; }
.rc-form input[type=submit]:hover { filter: brightness(1.08); }
.rc-form .wpcf7-not-valid-tip, .rc-form .wpcf7-response-output { color: var(--red); font-weight: 600; font-size: 0.9rem; }
.rc-form .wpcf7-response-output { margin: 4px 0 0 !important; padding: 0 !important; border: 0 !important; }
.rc-form form.sent .wpcf7-response-output { color: #1f6b3a; background: #e8f4ec; border: 1px solid #b7dcc3 !important; border-radius: var(--radius); padding: 14px 16px !important; margin-top: 14px !important; font-size: 1rem; }
.rc-form .wpcf7-spinner { margin: 0 0 0 12px; }
/* The designed two-column layout, for forms whose markup is wrapped in <div class="rc-grid"> (wordpress/cf7/) */
.rc-form .rc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.rc-form .rc-grid > *, .rc-form input[type=file] { min-width: 0; max-width: 100%; }
.rc-form .rc-grid .full, .rc-form .rc-grid fieldset, .rc-form .rc-grid .form-head { grid-column: 1 / -1; }
.rc-form .wpcf7-form-control-wrap { display: block; }
.rc-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.rc-form legend { font-size: 0.88rem; font-weight: 700; padding: 0; margin-bottom: 6px; }
.rc-form .choices .wpcf7-form-control { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.rc-form .choices .wpcf7-list-item { margin: 0; }
.rc-form .choices label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; font-size: 0.97rem; }
.rc-form .choices input { accent-color: var(--red); }
.rc-form .form-head { font-family: var(--display); font-size: 1.35rem; margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.rc-form .consent { font-weight: 400; font-size: 0.92rem; }
.rc-form .consent .wpcf7-list-item { margin: 0; display: block; }
.rc-form .consent .wpcf7-list-item label { display: flex; flex-direction: row-reverse; align-items: flex-end; justify-content: space-between; gap: 16px; font-weight: 400; font-size: 0.92rem; line-height: 1.5; }
.rc-form .consent .wpcf7-list-item label input { flex: none; width: 22px; height: 22px; margin: 0 0 2px; accent-color: var(--red); cursor: pointer; }
.rc-form .form-head:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.rc-form .form-note { margin: 0; font-size: .92rem; color: var(--muted, #5b5b5b); background: rgba(0,0,0,.035); padding: 12px 14px; border-left: 3px solid var(--red, #b3121b); }
@media (max-width: 640px) { .rc-form .rc-grid { grid-template-columns: 1fr; } }

/* Blog and plain pages */
.pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 36px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .page-numbers.current { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); }
/* Complianz marks the post body as a "blocked content" box when a post has a video waiting for consent; keep the text flowing normally. */
.prose.cmplz-blocked-content-container { display: block !important; height: auto !important; background: none !important; animation: none !important; }
/* Complianz hides every nested div in its box and fixes the box's height in JS (.cmplz-placeholder-N), which pushed post text out over the footer. */
.prose.cmplz-blocked-content-container div div:not([class*="cmplz"]) { display: revert; }
.prose .cmplz-blocked-content-notice { position: static !important; transform: none !important; margin: 1rem 0; }
.prose .wp-block-image, .prose figure { margin: 1.4rem 0; }
.prose blockquote { border-left: 3px solid var(--red); margin: 1.4rem 0; padding-left: 1rem; font-family: var(--display); font-size: 1.2rem; }
.entry-hero-img { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.entry-hero-img img { width: 100%; height: auto; display: block; }
.alignwide, .alignfull { max-width: 100%; }
/* Blog and job tables keep their headings and fit the screen on a phone: columns narrow and the words wrap, nothing runs off the side. */
@media (max-width: 600px) {
  .single .prose table , .prose.jobs table { display: table; width: 100%; table-layout: fixed; font-size: .82rem; }
  .single .prose thead , .prose.jobs thead { display: table-header-group; }
  .single .prose tbody , .prose.jobs tbody { display: table-row-group; }
  .single .prose tr , .prose.jobs tr { display: table-row; }
  .single .prose th, .single .prose td , .prose.jobs th, .prose.jobs td { display: table-cell; padding: .45rem .3rem; overflow-wrap: anywhere; hyphens: auto; }
  .single .prose td:first-child , .prose.jobs td:first-child { font-weight: 700; border-bottom: 1px solid var(--line); padding-bottom: .45rem; }
}
.prose { overflow-wrap: break-word; }
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form input[type=search] { flex: 1; font: inherit; border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px; }
