@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/jost-latin.woff2") format("woff2");
}

/* OG Health & Fitness Design
   From design concept 01, The Journal.
   Editorial magazine: paper, ink, one cobalt accent. Three colour themes. */
:root {
  --paper: #ffffff;
  --ink: #14151a;
  --muted: #6b6d75;
  --rule: #14151a;
  --hairline: #dde2ea;
  --tint: #e9eef6;
  --tint-line: #c9d3e3;
  --accent: #1d3fbb;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}
/* Bright (white page, light blue sections) is the default, set on :root above. */
/* Paper: light tan page, darker tan sections */
html[data-theme="paper"] {
  --paper: #faf9f6;
  --hairline: #d9d6cf;
  --tint: #f0ede5;
  --tint-line: #cfcbc1;
}
/* Dark: ink page, paper-coloured text */
html[data-theme="dark"] {
  --paper: #121419;
  --ink: #ece9e2;
  --muted: #9c9fa8;
  --rule: #6a6e78;
  --hairline: #2b2f38;
  --accent: #9db2ff;
  --tint: #1a1d25;
  --tint-line: #343945;
  color-scheme: dark;
}
html[data-theme="dark"] .oghf .btn:hover { color: #121419; }

.oghf * { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.oghf { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
.oghf img { display: block; width: 100%; height: 100%; object-fit: cover; }
.oghf a { color: inherit; }
.oghf .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* Labels */
.oghf .label { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.oghf .label.accent { color: var(--accent); }

/* Theme switcher */
.oghf .themes { display: flex; gap: 10px; align-items: center; }
.oghf .themes button { width: 16px; height: 16px; padding: 0; border-radius: 50%; border: 1px solid var(--muted); cursor: pointer; outline-offset: 3px; }
.oghf .themes button[aria-pressed="true"] { outline: 1px solid var(--ink); }
.oghf .themes button[data-set-theme="paper"] { background: linear-gradient(90deg, #faf9f6 50%, #f0ede5 50%); }
.oghf .themes button[data-set-theme="bright"] { background: linear-gradient(90deg, #ffffff 50%, #cfdcf2 50%); }
.oghf .themes button[data-set-theme="dark"] { background: #121419; }

/* Masthead */
.oghf .strip { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.oghf .strip a { text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 1px; }
.oghf .masthead { text-align: center; padding: 28px 0 22px; border-top: 1px solid var(--rule); }
.oghf .masthead a { text-decoration: none; }
.oghf .masthead .title { font-size: clamp(34px, 6vw, 68px); line-height: 1; letter-spacing: -.02em; margin: 0; font-weight: 400; }
.oghf .masthead .title em { font-style: italic; }
.oghf .nav { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 3px double var(--rule); }
.oghf .nav a { text-decoration: none; }
.oghf .nav a:hover, .oghf .nav a[aria-current] { color: var(--accent); }

.oghf .menu-toggle { display: none; }

/* Lead */
.oghf .lead { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; padding-top: 72px; padding-bottom: 88px; align-items: start; }
.oghf .lead h1 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.1; letter-spacing: -.02em; font-weight: 400; margin: 18px 0 28px; }
@media (min-width: 861px) { .oghf .lead > div:first-child { padding-top: 56px; } }
.oghf .lead h1 em { font-style: italic; }
.oghf .lead p { max-width: 46ch; font-size: 17px; margin: 0 0 32px; }
.oghf .lead figure { margin: 0; }
.oghf .lead figure .frame { aspect-ratio: 4 / 5; }
.oghf figcaption { font-family: var(--sans); font-size: 12px; letter-spacing: .06em; color: var(--muted); padding-top: 10px; }

/* Buttons */
.oghf .btn { display: inline-block; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; padding: 16px 28px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); transition: background .2s, color .2s; }
.oghf .btn:hover { background: var(--accent); border-color: var(--accent); }
.oghf .btn.ghost { background: transparent; color: var(--ink); }
.oghf .btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.oghf .textlink { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.oghf .textlink:hover { color: var(--accent); }

/* Sections */
.oghf section { padding: 80px 0; border-top: 1px solid var(--rule); }
.oghf .section-head { display: grid; grid-template-columns: 3fr 9fr; gap: 56px; margin-bottom: 40px; }
.oghf .section-head h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; font-weight: 400; letter-spacing: -.01em; margin: 0; }
.oghf .section-head h2 em { font-style: italic; }

/* Tinted sections, to mark a change of topic */
.oghf section.tint { background: var(--tint); }
.oghf section.tint .index li, .oghf section.tint .list li, .oghf section.tint .drop { border-color: var(--tint-line); }

/* Numbered index rows */
.oghf .index { list-style: none; margin: 0; padding: 0; }
.oghf .index li { display: grid; grid-template-columns: 3fr 5fr 4fr; gap: 56px; align-items: baseline; padding: 30px 0; border-top: 1px solid var(--hairline); }
.oghf .index li:last-child { border-bottom: 1px solid var(--hairline); }
.oghf .index .no { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; color: var(--muted); }
.oghf .index h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 400; margin: 0; line-height: 1.2; }
.oghf .index h3 a { text-decoration: none; }
.oghf .index h3 a:hover { color: var(--accent); font-style: italic; }
.oghf .index p { margin: 0 0 12px; font-size: 15px; }
/* Side-by-side panels */
.oghf .panels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.oghf .panels li { display: flex; flex-direction: column; align-items: flex-start; margin: 0; padding: 28px 32px; border-left: 1px solid var(--hairline); }
.oghf .panels li:first-child { padding-left: 0; border-left: 0; }
.oghf .panels li:last-child { padding-right: 0; }
.oghf .panels h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; margin: 0 0 12px; line-height: 1.2; }
.oghf .panels h3 a { text-decoration: none; }
.oghf .panels h3 a:hover { color: var(--accent); font-style: italic; }
.oghf .panels p { margin: 0 0 16px; font-size: 15px; }
.oghf .panels .textlink, .oghf .panels .links { margin-top: auto; }
.oghf .panels .links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.oghf .panels .links .textlink { margin-top: 0; }
.oghf .panels.two { grid-template-columns: repeat(2, 1fr); }
.oghf .panels .when { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; color: var(--muted); margin-bottom: 10px; }
.oghf section.tint .panels, .oghf section.tint .panels li { border-color: var(--tint-line); }
.oghf .soon { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); padding: 3px 8px; margin-left: 10px; vertical-align: middle; white-space: nowrap; }

/* Feature (consultation) */
.oghf .feature { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.oghf .feature .frame { aspect-ratio: 4 / 5; }
.oghf .feature blockquote { margin: 16px 0 24px; font-size: clamp(28px, 3.6vw, 48px); line-height: 1.2; font-style: italic; letter-spacing: -.01em; }
.oghf .feature p { max-width: 52ch; }
.oghf .note { margin-top: 40px; padding: 24px 0 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.oghf .note p { margin: 0; font-size: 15px; }

/* Two-column prose */
.oghf .cols { display: grid; grid-template-columns: 3fr 5fr 4fr; gap: 56px; }
.oghf .cols p { margin: 0 0 18px; }
.oghf .dropcap::first-letter { float: left; font-size: 64px; line-height: .85; padding: 6px 10px 0 0; }
.oghf .list { list-style: none; margin: 0; padding: 0; }
.oghf .list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--hairline); font-size: 15px; }
.oghf .list li span:last-child { font-family: var(--sans); font-size: 12px; letter-spacing: .08em; color: var(--muted); text-align: right; }
.oghf .list li:last-child { border-bottom: 1px solid var(--hairline); }

/* Cards (journal) */
.oghf .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.oghf .card { text-decoration: none; display: block; }
.oghf .card .frame { aspect-ratio: 3 / 2; margin-bottom: 16px; overflow: hidden; }
.oghf .card img { transition: transform .5s; }
.oghf .card:hover img { transform: scale(1.03); }
.oghf .card h3 { font-size: 20px; line-height: 1.35; font-weight: 400; margin: 8px 0 0; }
.oghf .card:hover h3 { font-style: italic; }

/* Qualification logos */
.oghf .badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; margin-top: 20px; align-items: center; }
.oghf .badges img { width: 100%; height: 84px; object-fit: contain; }

/* Forms */
.oghf .form label { display: block; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 24px; }
.oghf .form input, .oghf .form select, .oghf .form textarea { display: block; width: 100%; margin-top: 8px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; font-family: var(--serif); font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.oghf .form textarea { resize: vertical; }
.oghf .form input:focus, .oghf .form select:focus, .oghf .form textarea:focus { outline: none; border-bottom-color: var(--accent); }
.oghf .form button { cursor: pointer; }

/* Resource lists */
.oghf .reslist li { align-items: start; }
.oghf .reslist .no { color: var(--ink); }
.oghf .reslist li > div { grid-column: span 2; }
.oghf .list a { text-decoration: none; border-bottom: 1px solid var(--hairline); }
.oghf .list a:hover { color: var(--accent); border-color: var(--accent); }

.oghf .section-head h2 a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--accent); }
.oghf .section-head h2 a:hover { color: var(--accent); }

/* Drop-downs */
.oghf .drop { border-top: 1px solid var(--hairline); }
.oghf .drop:last-of-type { border-bottom: 1px solid var(--hairline); }
.oghf .drop summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 0; font-size: clamp(19px, 2vw, 24px); line-height: 1.3; }
.oghf .drop summary::-webkit-details-marker { display: none; }
.oghf .drop summary::after { content: "+"; font-family: var(--sans); font-size: 24px; font-weight: 400; color: var(--accent); }
.oghf .drop[open] summary::after { content: "–"; }
.oghf .drop summary:hover { color: var(--accent); }
.oghf .drop .list { margin: 0 0 24px; }
.oghf .drop .list li:last-child { border-bottom: 0; }

/* Banner */
.oghf .banner { aspect-ratio: 21 / 8; }

/* Footer */
.oghf footer { border-top: 3px double var(--rule); padding: 56px 0 40px; }
.oghf .foot { display: grid; grid-template-columns: 4fr 2fr 2fr 2fr 2fr; gap: 32px; }
.oghf .foot h4 { margin: 0 0 14px; }
.oghf .foot ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.oghf .foot li { margin-bottom: 6px; }
.oghf .foot a { text-decoration: none; }
.oghf .foot a:hover { color: var(--accent); }
.oghf .foot .word { font-size: 26px; line-height: 1.2; margin: 0 0 10px; }
.oghf .legal { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--hairline); font-family: var(--sans); font-size: 12px; color: var(--muted); }
.oghf .legal-note, .oghf .legal-links { margin: 12px 0 0; font-family: var(--sans); font-size: 12px; color: var(--muted); }
.oghf .legal-note a { color: var(--ink); }
.oghf .legal-links a { text-decoration: none; }
.oghf .legal-links a:hover { color: var(--accent); }

/* Page header (inner pages) */
.oghf .pagehead { padding-top: 72px; padding-bottom: 56px; display: grid; grid-template-columns: 3fr 9fr; gap: 56px; }
.oghf .pagehead h1 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.1; font-weight: 400; letter-spacing: -.02em; margin: 0 0 24px; }
.oghf .pagehead p { font-size: 18px; max-width: 56ch; margin: 0; }

@media (max-width: 860px) {
  .oghf .wrap { padding: 0 20px; }
  .oghf .strip .hide-s { display: none; }
  .oghf .strip { flex-direction: column; justify-content: center; gap: 14px; padding: 14px 0 16px; }
  .oghf .menu-toggle { display: flex; width: 100%; justify-content: center; align-items: center; gap: 12px; padding: 15px 0; background: none; border: 0; border-top: 1px solid var(--rule); border-bottom: 3px double var(--rule); color: var(--ink); cursor: pointer; }
  .oghf .menu-toggle[aria-expanded="true"] { border-bottom: 1px solid var(--hairline); }
  .oghf .bars { display: inline-flex; flex-direction: column; gap: 4px; }
  .oghf .bars i { display: block; width: 18px; height: 1px; background: currentColor; }
  .oghf .nav { flex-direction: column; flex-wrap: nowrap; gap: 0; padding: 0; border-top: 0; }
  .oghf .nav a { padding: 15px 0; text-align: center; border-top: 1px solid var(--hairline); }
  .oghf .nav a:first-child { border-top: 0; }
  .js .oghf .nav { display: none; }
  .js .oghf .nav.open { display: flex; }
  html:not(.js) .oghf .menu-toggle { display: none; }
  .oghf .lead, .oghf .feature, .oghf .section-head, .oghf .cols, .oghf .pagehead, .oghf .note { grid-template-columns: 1fr; gap: 28px; }
  .oghf .lead { padding-top: 48px; padding-bottom: 56px; }
  .oghf .pagehead { padding-top: 55px; padding-bottom: 40px; }
  .oghf .lead h1 { font-size: clamp(30px, 9.6vw, 46px); }
  .oghf .pagehead h1 { font-size: clamp(26px, 7.2vw, 31px); }
  .oghf section { padding: 56px 0; }
  .oghf .index li { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .oghf .panels, .oghf .panels.two { grid-template-columns: 1fr; }
  .oghf .panels li, .oghf .panels li:first-child, .oghf .panels li:last-child { padding: 22px 0; border-left: 0; border-top: 1px solid var(--hairline); }
  .oghf .panels li:first-child { border-top: 0; }
  .oghf .grid3 { grid-template-columns: 1fr; }
  .oghf .foot { grid-template-columns: 1fr 1fr; }
  .oghf .foot > div:first-child { grid-column: 1 / -1; }
  .oghf .banner { aspect-ratio: 4 / 3; }
  .oghf .reslist li > div, .oghf .cols > div { grid-column: auto !important; }
  .oghf .list li { flex-direction: column; gap: 2px; }
  .oghf .list li span:last-child { text-align: left; }
}

/* ── WordPress integration ────────────────────────────────────────────────
   The theme's global styles still load on these pages. These rules stop its
   spacing and width defaults from altering the layout. */
.oghf h1, .oghf h2, .oghf h3, .oghf h4, .oghf h5, .oghf h6 { font-family: inherit; color: inherit; text-transform: none; line-height: inherit; }
.oghf blockquote { border: 0; padding: 0; }
.oghf figure { margin-left: 0; margin-right: 0; }
/* The theme makes links semibold, and the site's Additional CSS removes every link
   underline with !important. Restore the design's underline on links inside running
   text; menu, button, list and footer links are styled without underlines. */
.oghf a { font-family: inherit; font-weight: inherit; font-style: inherit; }
/* The site's Additional CSS turns every link green on hover with !important.
   On these pages links turn the accent colour instead; buttons, the masthead and
   post cards keep their own text colour. */
body.oghf a:hover { color: var(--accent) !important; }
body.oghf a.btn:hover { color: var(--paper) !important; }
html[data-theme="dark"] body.oghf a.btn:hover { color: #121419 !important; }
body.oghf .masthead a:hover, body.oghf a.card:hover { color: inherit !important; }
/* The site's own CSS thins menu links and pads every list item. */
.oghf .nav a, .oghf .strip a { font-weight: inherit !important; }
body.oghf li { padding-bottom: 0; }
.oghf main p a:not(.btn):not(.textlink), .oghf .section-head h2 a { text-decoration: underline !important; }
/* The main site's own light/dark switch is replaced by this design's theme circles. */
body.oghf #toggler { display: none; }
body.oghf .wp-site-blocks { padding: 0; }
body.oghf .wp-site-blocks > * { margin-block: 0; }
body.oghf .oghf-main, body.oghf .wp-block-post-content { margin: 0; padding: 0; max-width: none; }
body.oghf .wp-block-post-content > * { margin-block: 0; max-width: none; }
body.oghf .wp-block-post-content > .wrap { max-width: var(--wrap); margin-left: auto; margin-right: auto; }

/* Contact form (the site's own Form block), styled to match */
body.oghf .oghf-contact { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; padding-top: 16px; padding-bottom: 88px; }
body.oghf .oghf-contact > *, body.oghf .oghf-form > * { margin-block: 0; }
body.oghf .oghf-form > .label { display: block; margin-bottom: 28px; }
body.oghf .oghf-ways { padding-top: 0; }
@media (max-width: 860px) {
  body.oghf .oghf-contact { grid-template-columns: 1fr; gap: 48px; padding-bottom: 64px; }
}
body.oghf .oghf-form form { max-width: 640px; }
body.oghf .oghf-form label { display: block; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
body.oghf .oghf-form input[type="text"], body.oghf .oghf-form input[type="email"], body.oghf .oghf-form input[type="tel"], body.oghf .oghf-form input[type="url"], body.oghf .oghf-form select, body.oghf .oghf-form textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; font-family: var(--serif); font-size: 16px; color: var(--ink); box-shadow: none; }
body.oghf .oghf-form input:focus, body.oghf .oghf-form select:focus, body.oghf .oghf-form textarea:focus { outline: none; border-bottom-color: var(--accent); }
body.oghf .oghf-form button, body.oghf .oghf-form .wp-block-button__link { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: 16px 28px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 0; cursor: pointer; }
body.oghf .oghf-form button:hover, body.oghf .oghf-form .wp-block-button__link:hover { background: var(--accent); border-color: var(--accent); }

/* A shallower photo banner */
body.oghf .banner-short { aspect-ratio: 32 / 9; }
@media (max-width: 860px) {
  body.oghf .banner-short { aspect-ratio: 16 / 9; }
}

/* Instagram feed on the Contact page */
body.oghf .oghf-instagram-head { padding-bottom: 8px; }
body.oghf .oghf-instagram { padding-bottom: 88px; }
body.oghf .oghf-form .contact-form > p, body.oghf .oghf-form .wp-block-jetpack-contact-form > p { font-size: 13px; color: var(--muted); max-width: 640px; }

/* ── Utility classes (replace the prototype's inline styles) ────────────── */
body.oghf .align-start { align-items: start; }
body.oghf .fineprint { margin: 40px 0 0; font-size: 13px; color: var(--muted); }
body.oghf .fineprint-end { margin: 0 0 64px; font-size: 13px; color: var(--muted); }
body.oghf .foot-tag { margin: 0 0 20px; font-size: 14px; }
body.oghf .h2-lg { font-size: clamp(28px, 3.4vw, 44px); font-weight: 400; line-height: 1.15; margin: 0 0 20px; }
body.oghf .h2-md { font-size: clamp(26px, 3vw, 38px); font-weight: 400; line-height: 1.2; margin: 0 0 20px; }
body.oghf .link-row { margin-top: 24px; display: flex; gap: 28px; flex-wrap: wrap; }
body.oghf .m-0 { margin: 0; }
body.oghf .mb-28 { margin-bottom: 28px; }
body.oghf .measure { max-width: 62ch; }
body.oghf .mt-14 { margin-top: 14px; }
body.oghf .mt-18 { margin-top: 18px; }
body.oghf .mt-20 { margin-top: 20px; }
body.oghf .mt-24 { margin-top: 24px; }
body.oghf .mt-36 { margin: 36px 0 0; }
body.oghf .mt-72 { margin-top: 72px; }
body.oghf .no-rule { border-top: 0; }
body.oghf .quote-md { margin: 0 0 24px; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.3; font-style: italic; letter-spacing: -.01em; }
body.oghf .section-note { max-width: 62ch; margin: -12px 0 32px; font-size: 14px; color: var(--muted); }
body.oghf .span-2 { grid-column: span 2; }
@media (max-width: 860px) {
  body.oghf .span-2 { grid-column: auto; }
}
