/* Inner pages from the new Figma file (Gold Bullion, Gold Bars, Sell Gold, Sell Gold Jewellery, Sell Silver Bars,
   Sell Bullion, Invest in Palladium, Johnson Matthey). Builds on styles.css, buy.css and sell.css; sizes are Figma px at 1920. */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Shared type ---------- */
.fg-page h2 { color: var(--navy); font-size: max(30px, calc(74 * var(--u))); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.fg-page .invest h2 { color: #fff; font-size: max(24px, calc(50 * var(--u))); font-weight: 900; line-height: 1.08; letter-spacing: -.02em; }
.fg-lead { margin-top: calc(28 * var(--u)); max-width: calc(1365 * var(--u)); font-size: max(17px, calc(30 * var(--u))); font-weight: 500; line-height: 1.27; color: var(--text); }
.fg-page p { color: var(--text); }
.fg-photo { width: 100%; object-fit: cover; border-radius: 24px; }
.fg-btns { display: flex; flex-wrap: wrap; gap: calc(14 * var(--u)); margin-top: calc(40 * var(--u)); }
.fg-btns .btn { gap: calc(10 * var(--u)); padding-inline: calc(28 * var(--u)); }
.fg-btns .btn img { width: auto; height: max(13px, calc(16 * var(--u))); }
.fg-note { margin-top: calc(28 * var(--u)); font-size: max(14px, calc(20 * var(--u))) !important; font-style: italic; line-height: 1.4; }
.fg-page > section, .fg-page > .fg-band, .fg-page > .faq { margin-top: calc(140 * var(--u)); }
.fg-page > .cream-band + section:not(.fg-invest-over), .fg-page > .fg-band + .fg-band { margin-top: 0; }
.fg-page > .fg-band + .fg-band { padding-top: 0; }
.fg-page-top > :first-child { margin-top: calc(120 * var(--u)); }
.fg-band { padding-block: calc(130 * var(--u)); }
.fg-band > section { margin-top: 0; }
.fg-band-tail { padding-bottom: calc(365 * var(--u)); }
.fg-invest-over { margin-top: calc(-225 * var(--u)) !important; }
.fg-invest { margin-top: calc(140 * var(--u)); }
/* A page's own banner photo (client, Nov 2026) is already a wide shot, dark on the left: shown whole, not zoomed like the foundry photo */
.invest-own .invest-card > img { left: 0; top: 0; width: 100%; height: 100%; object-position: right center; filter: none; }
/* A page's own banner text: a question and a short line (client, Nov 2026); the card grows with it */
.invest-text .invest-card { height: auto; min-height: calc(450 * var(--u)); padding-bottom: calc(80 * var(--u)); }
.invest-text .invest-card h2 { max-width: calc(720 * var(--u)); text-wrap: balance; }
.invest-text .invest-card p { max-width: calc(620 * var(--u)); margin-top: calc(18 * var(--u)); color: rgba(255, 255, 255, .85); font-size: max(15px, calc(22 * var(--u))); font-weight: 300; line-height: 1.4; }
/* The quote section under the banner: one section gap, not the gap plus its own top padding (client, Nov 2026) */
.fg-page > .fg-invest + .rc-center { margin-top: 0; }
.fg-invest + * { margin-top: calc(140 * var(--u)); }

/* ---------- Hero (Figma: 560 tall below the nav, title 74/66, lede 22/27) ---------- */
.fg-hero { height: calc(590 * var(--u)); }
.fg-hero .hero-inner { padding-top: calc(85 * var(--u)); }
.fg-hero h1 { max-width: none; line-height: 1.08; }
/* Silver Bars: the frame sets its narrower photo in a 1465 x 818 box on the right, fading into the navy on the left */
.fg-hero-silver-hero { --hw: 1465; --hh: 818; --hy: -114; }
.fg-hero-silver-hero .hero-bg { min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.fg-hero .hero-sub { max-width: calc(815 * var(--u)); margin-top: calc(15 * var(--u)); line-height: 1.23; }
.fg-hero .hero-sub + .hero-sub { margin-top: calc(22 * var(--u)); }
.fg-hero .hero-btns { margin-top: calc(22 * var(--u)); }
.fg-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(11, 17, 24, .78) 0%, rgba(11, 17, 24, .45) 45%, rgba(11, 17, 24, 0) 70%); pointer-events: none; }

/* ---------- Buy board: service cards + live table ---------- */
.fg-board { position: relative; z-index: 3; display: grid; grid-template-columns: calc(467 * var(--u)) 1fr; gap: calc(11 * var(--u)); margin-top: calc(-108 * var(--u)); }
.fg-qcards { display: grid; gap: calc(18 * var(--u)); }
.fg-qcards .qcard { height: auto; min-height: calc(185 * var(--u)); }
.fg-qcards .qcard-sell { --ix: 150; --iy: -40; --iw: 420; --ih: 280; }
.fg-table { padding: calc(48 * var(--u)) calc(38 * var(--u)) calc(30 * var(--u)) calc(42 * var(--u)); border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(129.7deg, #f2f2f2 1.88%, #dbdbdb 98.98%); }
.fg-table .rates-ctrl { justify-content: flex-end; }
.fg-table table { width: 100%; margin-top: calc(14 * var(--u)); border-collapse: collapse; color: var(--navy); }
.fg-table th, .fg-table td { padding: 0 calc(8 * var(--u)); text-align: center; }
.fg-table thead th { height: calc(80 * var(--u)); border-bottom: 1px solid rgba(22, 34, 48, .6); font-size: max(13px, calc(18 * var(--u))); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; vertical-align: middle; }
.fg-table thead th:first-child, .fg-table tbody th { text-align: left; padding-left: calc(18 * var(--u)); }
.fg-table tbody tr { height: calc(80 * var(--u)); }
.fg-table tbody tr + tr { border-top: 1px solid rgba(22, 34, 48, .6); }
.fg-table tbody th { color: #28333f; font-size: max(14px, calc(20 * var(--u))); font-weight: 600; }
.fg-table td { font-size: max(13px, calc(18 * var(--u))); font-weight: 400; color: var(--text); }
.fg-px { color: var(--navy); font-size: max(15px, calc(22 * var(--u))); font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.fg-wsel { appearance: none; min-width: calc(134 * var(--u)); height: max(34px, calc(44 * var(--u))); padding: 0 calc(40 * var(--u)) 0 calc(30 * var(--u)); border: 0; border-radius: 999px; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23edbd22' stroke-width='2'/%3E%3C/svg%3E") no-repeat right calc(18 * var(--u)) center / max(10px, calc(12 * var(--u))); color: var(--gold); font: inherit; font-size: max(13px, calc(18 * var(--u))); text-align: center; cursor: pointer; }
.fg-wsel:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Sell panel: single-metal cards ---------- */
.fg-sellrates { margin-top: calc(-108 * var(--u)); }
.fg-rate { min-height: calc(300 * var(--u)); }
.fg-rate header { padding-bottom: calc(18 * var(--u)); border-bottom: 1px solid rgba(22, 34, 48, .25); }
.fg-rate .rate-unit { margin-top: calc(26 * var(--u)); }
.fg-rate > a { margin-top: auto; padding-top: calc(16 * var(--u)); border-top: 1px solid rgba(22, 34, 48, .25); }
.fg-rate .rate-price { margin-bottom: calc(20 * var(--u)); }
.fg-rate-navy { border-color: var(--navy); background: var(--navy); color: #fff; }
.fg-rate-navy::before { display: none; }
.fg-rate-navy h3, .fg-rate-navy > a { color: #fff; }
.fg-rate-navy header, .fg-rate-navy > a { border-color: rgba(255, 255, 255, .25); }
.fg-rate-navy > a img { filter: brightness(0) invert(1); }
.fg-chg { display: flex; align-items: center; gap: calc(18 * var(--u)); color: #ff4b4b; }
.fg-chg.is-up { color: #06ff55; }
.fg-chg img { width: max(16px, calc(22 * var(--u))); }
.fg-chg:not(.is-up) img { transform: none; }
.fg-chg.is-up img { transform: none; }
.fg-sellrates .rates-foot .fg-btns { margin-top: 0; flex: none; }

/* ---------- Intro: copy beside a photo ---------- */
.fg-intro { display: grid; grid-template-columns: calc(775 * var(--u)) calc(620 * var(--u)); justify-content: space-between; align-items: start; }
.fg-intro-copy p { font-size: max(17px, calc(30 * var(--u))); font-weight: 300; line-height: 1.27; }
.fg-intro-copy p + p { margin-top: calc(38 * var(--u)); }
.fg-intro .fg-photo { height: calc(600 * var(--u)); }

/* ---------- Why choose: bordered cream cards ---------- */
.fg-why h2 { max-width: calc(900 * var(--u)); }
.fg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(26 * var(--u)) calc(22 * var(--u)); margin-top: calc(76 * var(--u)); }
.fg-cards article { min-height: calc(342 * var(--u)); padding: calc(74 * var(--u)) calc(44 * var(--u)) calc(44 * var(--u)) calc(42 * var(--u)); border: .7px solid #d9ad64; border-radius: 20px; background: #fcfaf4; transition: transform .25s, box-shadow .25s; }
.fg-cards article:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22, 34, 48, .08); }
.fg-cards h3 { color: var(--navy); font-size: max(22px, calc(34 * var(--u))); font-weight: 900; line-height: 1.12; letter-spacing: -.04em; }
.fg-cards p { margin-top: calc(32 * var(--u)); font-size: max(15px, calc(24 * var(--u))); font-weight: 300; line-height: 1.25; }
.fg-cta { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: calc(68 * var(--u)); }
.fg-cta > div { max-width: calc(811 * var(--u)); }
.fg-cta p { font-size: max(17px, calc(30 * var(--u))); font-weight: 500; line-height: 1.27; }
.fg-cta p + p { margin-top: calc(28 * var(--u)); }
.fg-cta .fg-btns { flex: none; margin-top: 0; }
.fg-cta-text > div { max-width: calc(1100 * var(--u)); }

/* ---------- Products ---------- */
.fg-products h2 { font-size: max(30px, calc(74 * var(--u))); line-height: 1; }
.fg-filter { display: flex; align-items: center; gap: calc(16 * var(--u)); margin-top: calc(40 * var(--u)); color: var(--navy); font-size: max(15px, calc(22 * var(--u))); font-weight: 500; }
.fg-filter-sel { justify-content: flex-end; }
.fg-filter select { appearance: none; height: max(40px, calc(56 * var(--u))); min-width: calc(178 * var(--u)); padding: 0 calc(50 * var(--u)) 0 calc(26 * var(--u)); border: 1px solid #d9ad64; border-radius: 64px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23d9ad64' stroke-width='2'/%3E%3C/svg%3E") no-repeat right calc(22 * var(--u)) center / max(10px, calc(12 * var(--u))); color: #c79a3e; font: inherit; font-size: max(14px, calc(20 * var(--u))); cursor: pointer; }
.fg-pills { justify-content: center; }
.fg-pills > div { display: flex; padding: calc(3 * var(--u)); border: 1px solid #d9ad64; border-radius: 64px; background: #fff; }
.fg-pills button { height: max(36px, calc(48 * var(--u))); padding-inline: calc(44 * var(--u)); border: 0; border-radius: 64px; background: none; color: #c79a3e; font-size: max(13px, calc(18 * var(--u))); font-weight: 500; transition: background-color .2s, color .2s; }
.fg-pills button[aria-pressed="true"] { background: var(--navy); color: var(--gold); font-weight: 700; }
.fg-pills button:hover:not([aria-pressed="true"]) { color: var(--navy); }
.fg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(28 * var(--u)) calc(22 * var(--u)); margin-top: calc(40 * var(--u)); }
.fg-grid .pcard { height: auto; min-height: calc(707 * var(--u)); padding-inline: calc(60 * var(--u)); }
.fg-grid .pcard[hidden] { display: none; }
/* One or two products (or a filter that leaves one or two) are centred instead of hugging the left */
.fg-grid { grid-template-columns: repeat(auto-fit, calc((100% - 2 * 22 * var(--u)) / 3)); justify-content: center; }
.fg-more { display: flex; justify-content: center; margin-top: calc(40 * var(--u)); }
.fg-more[hidden] { display: none; }

/* ---------- Bars and coins: product shot boxes ---------- */
.fg-choice h2 { line-height: 1; }
.fg-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: calc(40 * var(--u)); margin-top: calc(56 * var(--u)); }
.fg-choice-grid article { display: flex; flex-direction: column; align-items: flex-start; }
.fg-shot { display: grid; place-items: center; width: 100%; height: calc(482 * var(--u)); border: .7px solid #d9ad64; border-radius: 20px; background: #fff; }
.fg-shot img { max-height: calc(320 * var(--u)); width: auto; }
.fg-shot img.round { border-radius: 50%; }
.fg-choice h3 { margin-top: calc(54 * var(--u)); color: var(--navy); font-size: max(24px, calc(44 * var(--u))); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.fg-choice-grid p { margin-top: calc(24 * var(--u)); font-size: max(15px, calc(24 * var(--u))); font-weight: 300; line-height: 1.3; }
.fg-choice-grid .fg-btns { margin-top: auto; padding-top: calc(36 * var(--u)); }

/* ---------- Plain feature grid on cream ---------- */
.fg-feat-grid { display: grid; grid-template-columns: repeat(3, calc(424 * var(--u))); justify-content: space-between; gap: calc(80 * var(--u)) 0; margin-top: calc(70 * var(--u)); }
.fg-feat-grid h3 { color: var(--navy); font-size: max(22px, calc(34 * var(--u))); font-weight: 900; line-height: 1.12; letter-spacing: -.04em; }
.fg-feat-grid p { margin-top: calc(18 * var(--u)); font-size: max(15px, calc(22 * var(--u))); font-weight: 400; line-height: 1.18; }

/* ---------- Photo splits ---------- */
.fg-split { display: grid; grid-template-columns: calc(702 * var(--u)) 1fr; column-gap: calc(36 * var(--u)); align-items: start; }
.fg-split .fg-photo { height: calc(504 * var(--u)); }
.fg-split-r { grid-template-columns: 1fr calc(620 * var(--u)); column-gap: calc(60 * var(--u)); }
.fg-split-r .fg-photo { grid-column: 2; grid-row: 1; }
.fg-split-r .fg-split-copy { grid-column: 1; grid-row: 1; }
.fg-head-top > h2 { grid-column: 1 / -1; margin-bottom: calc(52 * var(--u)); }
.fg-head-top.fg-split-r .fg-photo, .fg-head-top.fg-split-r .fg-split-copy, .fg-head-top:not(.fg-split-r) .fg-photo, .fg-head-top:not(.fg-split-r) .fg-split-copy { grid-row: 2; }
.fg-split-copy { padding-top: calc(10 * var(--u)); }
.fg-split h2 { font-size: max(24px, calc(44 * var(--u))); line-height: 1.11; }
.fg-lg h2 { font-size: max(28px, calc(64 * var(--u))); line-height: 1.05; }
.fg-xl h2 { font-size: max(30px, calc(74 * var(--u))); line-height: .95; }
.fg-split-copy > p { margin-top: calc(32 * var(--u)); font-size: max(15px, calc(24 * var(--u))); font-weight: 300; line-height: 1.33; }
.fg-head-top .fg-split-copy > p:first-child { margin-top: 0; }
.fg-split-copy > p + p { margin-top: calc(30 * var(--u)); }
.fg-big .fg-split-copy > p { font-size: max(16px, calc(30 * var(--u))); line-height: 1.2; }
.fg-big .fg-photo { height: calc(742 * var(--u)); }
.fg-xl .fg-photo { height: calc(570 * var(--u)); }
.fg-split-r.fg-xl { grid-template-columns: 1fr calc(607 * var(--u)); }
.fg-head-top .fg-photo { height: calc(510 * var(--u)); }

/* ---------- Key factors around a product shot ---------- */
.fg-factors header { text-align: center; }
.fg-factors h2 { font-size: max(28px, calc(64 * var(--u))); line-height: 1.09; letter-spacing: -.02em; }
.fg-factors .fg-lead { max-width: none; margin-top: calc(18 * var(--u)); letter-spacing: -.035em; }
.fg-factors-grid { display: grid; grid-template-columns: 1fr calc(349 * var(--u)) 1fr; gap: calc(26 * var(--u)) calc(30 * var(--u)); align-items: center; margin-top: calc(80 * var(--u)); }
.fg-factors-img { width: 100%; height: auto; border-radius: 12px; }
.fg-f-left, .fg-f-right { display: grid; gap: calc(40 * var(--u)); }
.fg-f-left { text-align: right; }
.fg-factors h3 { color: var(--navy); font-size: max(20px, calc(34 * var(--u))); font-weight: 900; line-height: 1.06; letter-spacing: -.04em; }
.fg-f-left h3 br { display: none; }
.fg-factors-grid p { margin-top: calc(14 * var(--u)); font-size: max(15px, calc(22 * var(--u))); font-weight: 400; line-height: 1.18; }
.fg-factors-after { display: flex; flex-direction: column; align-items: center; margin-top: calc(90 * var(--u)); text-align: center; }
.fg-factors-after p { max-width: calc(800 * var(--u)); color: #000 !important; font-size: max(17px, calc(30 * var(--u))); font-weight: 500; line-height: 1.2; }
.fg-factors-after .fg-btns { margin-top: calc(32 * var(--u)); }

/* ---------- Compliance ---------- */
.fg-comp { display: grid; grid-template-columns: 1fr calc(562 * var(--u)); gap: calc(60 * var(--u)); align-items: start; }
.fg-comp h2 { font-size: max(24px, calc(44 * var(--u))); line-height: 1.11; letter-spacing: -.03em; }
.fg-comp-copy p { margin-top: calc(32 * var(--u)); font-size: max(15px, calc(30 * var(--u))); font-weight: 300; line-height: 1.27; }
.fg-comp-copy p + p { margin-top: calc(36 * var(--u)); }
.fg-fintrac { height: calc(454 * var(--u)); background: #fdf1cd; }
.fg-fintrac img { width: calc(380 * var(--u)); }
.fg-page > .fg-comp:not(:first-child) .fg-fintrac, .fg-page > section.fg-comp .fg-fintrac { background: var(--cream); }
.fg-comp-band .fg-fintrac { background: #fdf1cd; }
.fg-req { margin-top: calc(48 * var(--u)); }
.fg-req h3 { color: var(--navy); font-size: max(24px, calc(44 * var(--u))); font-weight: 700; letter-spacing: -.03em; }
.fg-req-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(90 * var(--u)); margin-top: calc(70 * var(--u)); }
.fg-req .check-ico { width: max(70px, calc(117 * var(--u))); }
.fg-req h4 { margin-top: calc(40 * var(--u)); color: var(--navy); font-size: max(20px, calc(34 * var(--u))); font-weight: 900; line-height: 1.06; letter-spacing: -.04em; }
.fg-req p { margin-top: calc(20 * var(--u)); font-size: max(15px, calc(22 * var(--u))); font-weight: 400; line-height: 1.18; }
.fg-comp-part .dots { margin-top: calc(28 * var(--u)); }
.fg-page > .fg-comp + .fg-comp-part { margin-top: calc(110 * var(--u)); }
.fg-pay h2 { font-size: max(24px, calc(44 * var(--u))); line-height: 1.11; }

/* ---------- Navy cards ---------- */
.fg-navy .value-grid { margin-top: 0; }
.fg-navy h2 { color: var(--gold); font-size: max(24px, calc(40 * var(--u))); line-height: 1.125; letter-spacing: -.02em; }
.fg-navy .value-grid p { margin-top: calc(24 * var(--u)); color: #fff; font-size: max(15px, calc(23 * var(--u))); font-weight: 400; line-height: 1.22; }
.fg-navy .value-grid p + p { margin-top: calc(22 * var(--u)); }
.fg-navy .fg-btns { margin-top: calc(28 * var(--u)); }

/* ---------- Category tiles ---------- */
.fg-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(18 * var(--u)); margin-top: calc(70 * var(--u)); }
.fg-cat-img { display: grid; place-items: center; aspect-ratio: 1; border: .7px solid #d9ad64; border-radius: 20px; background: #fcfaf4; overflow: hidden; }
.fg-cat-img img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
.fg-cats h3 { margin-top: calc(34 * var(--u)); color: var(--navy); font-size: max(20px, calc(34 * var(--u))); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.fg-cat-grid p { margin-top: calc(18 * var(--u)); font-size: max(15px, calc(22 * var(--u))); font-weight: 300; line-height: 1.18; }
.fg-cats-round h2 { line-height: 1; }
.fg-cats-round .fg-cat-grid { margin-top: calc(30 * var(--u)); text-align: center; }
.fg-cats-round .fg-cat-img { width: 64%; margin-inline: auto; border: 0; background: none; border-radius: 50%; }
.fg-cats-round .fg-cat-img img { width: 100%; height: 100%; }
.fg-cats-round h3 { margin-top: calc(20 * var(--u)); }
.fg-after { margin-top: calc(56 * var(--u)) !important; }

/* ---------- Before you bring: points beside a tall photo ---------- */
.fg-prep { display: grid; grid-template-columns: 1fr calc(520 * var(--u)); gap: calc(60 * var(--u)); align-items: stretch; }
.fg-prep .fg-photo { height: 100%; min-height: calc(700 * var(--u)); }
.fg-prep-l { grid-template-columns: calc(520 * var(--u)) 1fr; gap: calc(50 * var(--u)); }
.fg-prep-l .fg-photo { grid-column: 1; grid-row: 1; }
.fg-prep-l .fg-prep-copy { grid-column: 2; grid-row: 1; }
.fg-prep h2 { max-width: calc(620 * var(--u)); font-size: max(28px, calc(54 * var(--u))); line-height: 1.04; letter-spacing: -.02em; }
.fg-prep-copy { padding-top: calc(12 * var(--u)); }
.fg-prep-lead { margin-top: calc(18 * var(--u)); font-size: max(16px, calc(24 * var(--u))); font-weight: 500; line-height: 1.22; }
.fg-prep-kicker { margin-top: calc(34 * var(--u)); color: var(--navy) !important; font-size: max(16px, calc(24 * var(--u))); font-weight: 700; }
.fg-prep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: calc(34 * var(--u)) calc(60 * var(--u)); max-width: calc(860 * var(--u)); margin-top: calc(40 * var(--u)); }
.fg-prep-grid h3 { color: var(--navy); font-size: max(19px, calc(28 * var(--u))); font-weight: 700; line-height: 1.07; letter-spacing: -.02em; }
.fg-prep-grid p { margin-top: calc(12 * var(--u)); font-size: max(14px, calc(18 * var(--u))); font-weight: 400; line-height: 1.22; }
.fg-prep-grid + .fg-prep-lead { margin-top: calc(40 * var(--u)); }
/* Three points stack in one column, so a two-column grid never leaves a gap (client: tiles come in threes or sixes) */
.fg-prep-grid:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; max-width: calc(640 * var(--u)); }
.fg-prep-grid:has(> :nth-child(3):last-child) h3 br { display: none; }

/* ---------- Centred heading ---------- */
.fg-center { max-width: calc(1000 * var(--u)); text-align: center; }
.fg-center h2 { font-size: max(28px, calc(64 * var(--u))); line-height: 1.04; }
.fg-center p { margin-top: calc(36 * var(--u)); font-size: max(16px, calc(24 * var(--u))); font-weight: 500; line-height: 1.17; }
.fg-center p + p { margin-top: calc(30 * var(--u)); }
.fg-center .fg-btns { justify-content: center; }

/* ---------- Two columns with photos (Palladium) ---------- */
.fg-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: calc(36 * var(--u)); }
/* Photo, heading and copy share rows across the columns (subgrid), so both columns' copy starts on one line even when
   one heading wraps (client, Nov 2026) */
.fg-twocol article { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-items: start; }
.fg-twocol-body { display: flex; flex-direction: column; align-items: flex-start; height: 100%; }
.fg-twocol .fg-photo { height: calc(372 * var(--u)); }
.fg-twocol h2 { margin-top: calc(36 * var(--u)); font-size: max(26px, calc(54 * var(--u))); font-weight: 600; line-height: 1.11; }
.fg-twocol p { margin-top: calc(30 * var(--u)); font-size: max(15px, calc(24 * var(--u))); font-weight: 300; line-height: 1.25; }
.fg-twocol p + p { margin-top: calc(30 * var(--u)); }
.fg-twocol h3 { margin-top: calc(40 * var(--u)); font-size: max(18px, calc(30 * var(--u))); font-weight: 600; line-height: 1.2; }
.fg-twocol h3 + p { margin-top: calc(14 * var(--u)); }
.fg-twocol .fg-btns { margin-top: auto; padding-top: calc(40 * var(--u)); }

/* ---------- FAQ + contact ---------- */
.fg-faq h2 { color: var(--gold); font-size: max(30px, calc(64 * var(--u))); line-height: 1.05; letter-spacing: -.04em; }
.fg-page > .fg-faq { padding-top: 0; padding-bottom: calc(140 * var(--u)); }
.fg-contact h2 { font-size: max(28px, calc(62 * var(--u))); line-height: 1.065; letter-spacing: -.06em; padding-bottom: calc(40 * var(--u)); border-bottom: 1px solid rgba(22, 34, 48, .35); }
.fg-contact .fg-contact-dl { margin-top: 0; padding-block: calc(42 * var(--u)) calc(40 * var(--u)); border-top: 0; grid-template-columns: 1fr 1fr; gap: calc(34 * var(--u)) calc(30 * var(--u)); }
.fg-contact .contact-btns { margin-top: calc(40 * var(--u)); flex-wrap: wrap; }
.fg-contact .contact-info { padding-top: calc(70 * var(--u)); padding-right: calc(40 * var(--u)); }

/* ---------- Tablet / mobile ---------- */
/* Refining: numbered step cards on cream, bullet lists as a gold-tick checklist, sub-heading cards */
.fg-steps h2 { max-width: calc(1100 * var(--u)); }
.fg-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(26 * var(--u)) calc(22 * var(--u)); margin: calc(64 * var(--u)) 0 0; padding: 0; list-style: none; counter-reset: none; }
.fg-step-grid li { position: relative; padding: calc(40 * var(--u)) calc(40 * var(--u)) calc(44 * var(--u)); border: .7px solid #d9ad64; border-radius: 20px; background: #fff; transition: transform .25s, box-shadow .25s; }
.fg-step-grid li:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22, 34, 48, .08); }
.fg-step-n { display: grid; place-items: center; width: max(44px, calc(64 * var(--u))); height: max(44px, calc(64 * var(--u))); border-radius: 50%; background: var(--navy); color: var(--gold); font-size: max(16px, calc(24 * var(--u))); font-weight: 700; }
.fg-step-grid h3 { margin-top: calc(28 * var(--u)); color: var(--navy); font-size: max(20px, calc(30 * var(--u))); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.fg-step-grid p { margin-top: calc(18 * var(--u)); font-size: max(15px, calc(22 * var(--u))); font-weight: 300; line-height: 1.3; }
.fg-step-grid h3 + p { margin-top: calc(14 * var(--u)); }
.fg-step-grid > li > .fg-step-n + p { margin-top: calc(28 * var(--u)); }
.fg-checks { display: grid; gap: calc(14 * var(--u)); margin: calc(26 * var(--u)) 0 0; padding: 0; list-style: none; }
.fg-checks li { position: relative; padding-left: max(28px, calc(40 * var(--u))); font-size: max(15px, calc(22 * var(--u))); font-weight: 300; line-height: 1.3; }
.fg-checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: max(18px, calc(24 * var(--u))); height: max(18px, calc(24 * var(--u))); border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23162230' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 62% no-repeat; }
.fg-checks b { color: var(--navy); font-weight: 600; }
.fg-checks + p { margin-top: calc(26 * var(--u)); }
.fg-cards:has(> article:nth-child(2):last-child), .fg-cards:has(> article:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
.fg-hero-refining-hero { height: auto; min-height: calc(590 * var(--u)); padding-bottom: calc(70 * var(--u)); }
.fg-hero-refining-hero .hero-bg { top: 0; height: 100%; object-fit: cover; }
.fg-page > .cream-band:has(> .fg-steps) + section:not(.fg-invest-over) { margin-top: calc(130 * var(--u)); }
.fg-subcards .fg-cards article { padding-top: calc(48 * var(--u)); }
.fg-subcards .fg-cards h3 { font-weight: 700; letter-spacing: -.02em; }
.fg-subcards .fg-cards p + p { margin-top: calc(18 * var(--u)); }
.fg-subcards > .fg-btns { margin-top: calc(48 * var(--u)); }

/* Refining hub services: photo cards that open each service page, four across, the last row centred */
.fg-svc-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: calc(26 * var(--u)) calc(22 * var(--u)); margin-top: calc(64 * var(--u)); }
.fg-svc { display: flex; flex-direction: column; flex: 0 0 calc((100% - 3 * 22 * var(--u)) / 4); overflow: hidden; border: .7px solid #d9ad64; border-radius: 20px; background: #fcfaf4; color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s; }
a.fg-svc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22, 34, 48, .08); }
.fg-svc > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.fg-svc > div { display: flex; flex-direction: column; flex: 1; padding: calc(34 * var(--u)) calc(34 * var(--u)) calc(36 * var(--u)); }
.fg-svc h3 { color: var(--navy); font-size: max(20px, calc(30 * var(--u))); font-weight: 900; line-height: 1.12; letter-spacing: -.04em; }
.fg-svc p { margin-top: calc(16 * var(--u)); font-size: max(15px, calc(20 * var(--u))); font-weight: 300; line-height: 1.35; }
.fg-svc-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: calc(24 * var(--u)); color: var(--navy); font-size: max(14px, calc(18 * var(--u))); font-weight: 700; }
a.fg-svc:hover .fg-svc-go img { transform: translateX(3px); }
.fg-svc-go img { transition: transform .2s; }

/* All products page: filter sidebar beside the product grid */
.shop { display: grid; grid-template-columns: calc(340 * var(--u)) 1fr; gap: calc(48 * var(--u)); align-items: start; margin-top: calc(100 * var(--u)); margin-bottom: calc(120 * var(--u)); }
.shop-toggle { display: none; }
.shop-filters { position: sticky; top: 110px; max-height: calc(100vh - 130px); overflow-y: auto; padding: calc(28 * var(--u)) calc(28 * var(--u)) calc(12 * var(--u)); border: .7px solid #d9ad64; border-radius: 20px; background: #fff; color: var(--navy); scrollbar-width: thin; }
.shop-filters-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: calc(16 * var(--u)); border-bottom: 1px solid #ecdcb4; }
.shop-filters-head h3 { font-size: max(18px, calc(26 * var(--u))); font-weight: 600; }
.shop-clear { border: 0; background: none; color: var(--gold-dark); font: inherit; font-size: max(13px, calc(16 * var(--u))); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.shop-filters fieldset { margin: 0; padding: calc(20 * var(--u)) 0; border: 0; border-bottom: 1px solid #ecdcb4; }
.shop-filters fieldset:last-child { border-bottom: 0; }
.shop-filters legend { float: left; width: 100%; margin-bottom: calc(10 * var(--u)); font-size: max(13px, calc(16 * var(--u))); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.shop-check { clear: both; display: flex; align-items: center; gap: 10px; min-height: 32px; font-size: max(14px, calc(18 * var(--u))); cursor: pointer; }
.shop-check input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--navy); cursor: pointer; }
.shop-check span { flex: 1; }
.shop-check em { color: #8a8f98; font-size: .85em; font-style: normal; }
.shop-check:hover span { color: var(--gold-dark); }
.shop-price > div { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop-price label { display: grid; gap: 4px; font-size: 12px; color: #6b7280; }
.shop-price input { width: 100%; height: 40px; padding: 0 10px; border: 1px solid #d9ad64; border-radius: 10px; color: var(--navy); font: inherit; font-size: 15px; }
.shop-filters input:focus-visible, .shop-clear:focus-visible, .shop-chips button:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.shop-count { color: var(--navy); font-size: max(15px, calc(22 * var(--u))); }
.shop-sort { margin-top: 0; }
.shop-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: calc(20 * var(--u)); }
.shop-chips button { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 14px; border: 1px solid var(--navy); border-radius: 64px; background: var(--navy); color: var(--gold); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.shop-chips button::after { content: "\00d7"; font-size: 18px; line-height: 1; }
.shop-chips button:hover { background: #fff; color: var(--navy); }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(28 * var(--u)) calc(22 * var(--u)); margin-top: calc(28 * var(--u)); }
.shop-grid .pcard { height: auto; min-height: calc(600 * var(--u)); padding-inline: calc(36 * var(--u)); }
.shop-grid .pcard[hidden] { display: none; }
.shop-grid .pcard-img { height: calc(360 * var(--u)); }
.shop-grid .pcard-img img { max-height: calc(260 * var(--u)); }
.shop-empty { display: grid; justify-items: center; gap: 14px; padding: calc(80 * var(--u)) 20px; border: 1px dashed #d9ad64; border-radius: 20px; margin-top: calc(28 * var(--u)); text-align: center; color: var(--navy); }
.shop-empty h3 { font-size: max(20px, calc(30 * var(--u))); font-weight: 600; }
.shop-empty p { max-width: 46ch; color: var(--text); }
.shop-empty[hidden], .shop-chips[hidden], .shop-toggle [hidden] { display: none; }
.shop-main .fg-note a { color: var(--navy); text-decoration: underline; }
@media (max-width: 1024px) {
  .fg-step-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .fg-step-grid li { padding: 20px 18px 22px; }
  .shop { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-block: 40px 64px; }
  .shop-sort select { min-width: 0; }
  .shop-toggle { display: inline-flex; justify-self: start; }
  .shop-filters { display: none; position: static; max-height: none; padding: 16px 18px 4px; }
  .shop-filters.is-open { display: block; }
  .shop-filters fieldset { padding: 14px 0; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .shop-grid .pcard { min-height: 0; padding: 0 16px 20px; }
  .shop-grid .pcard-img { height: 200px; }
  .shop-grid .pcard-img img { max-height: 160px; }
}
@media (max-width: 560px) {
  .fg-step-grid { grid-template-columns: 1fr; }
  .fg-cards:has(> article:nth-child(2):last-child), .fg-cards:has(> article:nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); }
  .fg-page > .cream-band:has(> .fg-steps) + section:not(.fg-invest-over) { margin-top: 56px; }
  .shop-bar { flex-wrap: wrap; }
  .shop-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .shop-grid .pcard { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-content: center; column-gap: 14px; padding: 12px 14px; }
  .shop-grid .pcard-img { grid-row: 1 / span 3; height: 96px; padding: 0; margin: 0; border: 0; }
  .shop-grid .pcard-img img { max-height: 92px; }
  .shop-grid .pcard > :not(.pcard-img) { grid-column: 2; margin: 0; padding-block: 3px; border: 0; }
  .shop-grid .pcard h3 { font-size: 15px; }
  .shop-grid .pcard-pure, .shop-grid .pcard-price { flex-wrap: wrap; gap: 6px; }
}

@media (max-width: 1024px) {
  .fg-page > section, .fg-page > .fg-band, .fg-page > .faq, .fg-invest, .fg-invest + * { margin-top: 72px; }
  .fg-page > .fg-invest + .rc-center { margin-top: 0; }
  .fg-page > .fg-comp + .fg-comp-part { margin-top: 72px; }
  .fg-page-top > :first-child { margin-top: 56px; }
  .fg-band { padding-block: 56px; }
  .fg-band-tail { padding-bottom: 120px; }
  .fg-invest-over { margin-top: -60px !important; }
  .fg-hero { height: auto; }
  .fg-svc { flex-basis: calc((100% - 22px) / 2); }
  .fg-svc-grid { gap: 22px; }
  .fg-hero-silver-hero .hero-bg { min-width: 100%; -webkit-mask-image: none; mask-image: none; }
  .fg-hero .hero-inner { padding: 48px 0 100px; }
  .fg-board, .fg-intro, .fg-split, .fg-split-r, .fg-split-r.fg-xl, .fg-comp, .fg-prep, .fg-prep-l, .fg-twocol, .fg-choice-grid { grid-template-columns: 1fr; gap: 24px; }
  .fg-board { margin-top: -60px; }
  .fg-table { padding: 20px 14px; overflow-x: auto; }
  .fg-table table { min-width: 560px; }
  .fg-wsel { min-width: 100px; padding: 0 30px 0 16px; background-position: right 12px center; }
  .fg-table .rates-ctrl { justify-content: flex-start; }
  .fg-sellrates { margin-top: -60px; }
  .fg-intro .fg-photo, .fg-split .fg-photo, .fg-big .fg-photo, .fg-xl .fg-photo, .fg-head-top .fg-photo { height: auto; aspect-ratio: 4 / 3; }
  .fg-split-r .fg-photo, .fg-prep-l .fg-photo { grid-row: auto; grid-column: auto; }
  .fg-split-r .fg-split-copy, .fg-prep-l .fg-prep-copy { grid-row: auto; grid-column: auto; }
  .fg-head-top.fg-split-r .fg-photo, .fg-head-top.fg-split-r .fg-split-copy, .fg-head-top:not(.fg-split-r) .fg-photo, .fg-head-top:not(.fg-split-r) .fg-split-copy { grid-row: auto; }
  .fg-head-top > h2 { margin-bottom: 0; }
  .fg-prep .fg-photo, .fg-prep-l .fg-photo { height: auto; aspect-ratio: 4 / 5; max-height: 520px; }
  .fg-cards, .fg-grid, .fg-feat-grid, .fg-req-grid { grid-template-columns: 1fr; gap: 16px; }
  .fg-feat-grid, .fg-req-grid { gap: 32px; }
  .fg-cards article { min-height: 0; padding: 28px 22px; }
  .fg-cards h3 br, .fg-feat-grid h3 br, .fg-req h4 br, .fg-prep-grid h3 br, .fg-factors h2 br, .fg-products h2 br, .fg-choice h2 br, .fg-center h2 br, .fg-navy h2 br, .fg-prep h2 br { display: none; }
  .fg-cta { flex-direction: column; align-items: flex-start; margin-top: 36px; }
  .fg-pills { flex-direction: column; align-items: flex-start; }
  .fg-pills > div { flex-wrap: wrap; border-radius: 22px; }
  .fg-pills button { padding-inline: 16px; }
  .fg-grid .pcard { min-height: 0; padding-inline: 22px; }
  .fg-shot { height: 260px; }
  .fg-shot img { max-height: 200px; }
  .fg-factors-grid { grid-template-columns: 1fr; }
  .fg-f-left { text-align: left; }
  .fg-factors-img { width: 200px; margin-inline: auto; order: -1; }
  .fg-fintrac { height: auto; padding: 28px; }
  .fg-fintrac img { width: 200px; }
  .fg-cat-grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .fg-prep-grid { grid-template-columns: 1fr; gap: 22px; }
  .fg-twocol .fg-photo { height: auto; aspect-ratio: 16 / 9; }
  .fg-contact .fg-contact-dl { grid-template-columns: 1fr; }
  .fg-contact .contact-info { padding: 40px 22px; }
}
@media (max-width: 560px) {
  .fg-cat-grid { grid-template-columns: 1fr; }
  .fg-svc { flex-basis: 100%; }
}

/* ---------- One type scale for all content pages (font audit, Nov 2026) ----------
   Every generated page (.rc-page, .fg-page) uses the same sizes per role: large section heading, medium heading beside
   a photo, card/sub heading, lead, body and fine print. Home, Buy and Sell don't load this file and keep their Figma
   sizes. :not(#_) lifts these over the per-component rules above without !important. */
:is(.rc-page, .fg-page) :is(.rc-center, .rc-why, .rc-benefits, .rc-products, .rc-values, .rc-links, .rc-navy, .rc-bdealer, .rc-wide, .fg-why, .fg-products, .fg-steps, .steps, .fg-feat, .fg-cats, .fg-choice, .fg-factors, .fg-center, .fg-services, .fg-xl, .fg-lg, .faq):not(#_) h2 { font-size: max(30px, calc(74 * var(--u))); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; }
:is(.rc-page, .fg-page) :is(.rc-split, .rc-prepare, .fg-prep, .fg-md, .fg-comp, .fg-pay, .fg-twocol, .fg-navy):not(#_) h2 { font-size: max(26px, calc(54 * var(--u))); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }
:is(.rc-page, .fg-page) section:not(.faq, .invest, .rc-cta):not(#_) h3:not(.pcard h3, .faq-ask, .faq-guide) { font-size: max(19px, calc(32 * var(--u))); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
:is(.rc-page, .fg-page):not(#_) :is(.fg-lead, .lead) { font-size: max(17px, calc(30 * var(--u))); font-weight: 500; line-height: 1.3; }
:is(.rc-page, .fg-page) section:not(.faq, .invest, .rc-cta):not(#_) :is(p:not([class]), li):not(.rc-note p, .fg-cta p, .pcard *) { font-size: max(16px, calc(24 * var(--u))); font-weight: 300; line-height: 1.45; }
:is(.rc-page, .fg-page):not(#_) :is(.rc-note p, .fg-note, .doc-note) { font-size: max(13px, calc(19 * var(--u))) !important; font-weight: 400; line-height: 1.5; }

/* Split photos run the full height of their text column (client, Nov 2026). contain: size and aspect-ratio: auto keep the photo's own
   aspect ratio from setting the row height, so the copy decides it; the minimum keeps short sections from a sliver. */
@media (min-width: 1025px) {
  .fg-split, .split:is(.rc-split, .rc-prepare), .fg-prep { align-items: stretch; }
  :is(.fg-split, .fg-prep) .fg-photo, .split:is(.rc-split, .rc-prepare) :is(.split-img, .prepare-img) { align-self: stretch; height: auto; min-height: calc(300 * var(--u)); aspect-ratio: auto; contain: size; }
}

/* Page ends: the FAQ block normally leaves the room above the contact card; pages without FAQs keep the same gap */
.fg-page > :last-child:not(.faq) { margin-bottom: calc(140 * var(--u)); }
@media (max-width: 1024px) { .fg-page > :last-child:not(.faq) { margin-bottom: 72px; } }

/* Pages without a price panel or table (client, Nov 2026): the hero as designed, edge to edge, but less tall */
.hero.hero-short { height: auto; min-height: calc(400 * var(--u)); padding-bottom: calc(60 * var(--u)); }
.hero.hero-short .hero-bg { top: 0; height: 100%; min-height: 100%; object-fit: cover; }
.hero.hero-short .hero-inner { padding-top: calc(80 * var(--u)); }
/* The first section sits closer under it than under the tall hero */
.hero-short + :is(.fg-page-top, .rc-page-top) > :first-child:not(#_) { margin-top: calc(100 * var(--u)); padding-top: 0; }
@media (max-width: 1024px) {
  .hero-short + :is(.fg-page-top, .rc-page-top) > :first-child:not(#_) { margin-top: 40px; }
  .hero.hero-short { min-height: 0; padding-bottom: 0; }
  .hero.hero-short .hero-inner { padding: 40px 0 48px; }
}
/* Bold phrases in the copy read as bold against the light body weight */
:is(.rc-page, .fg-page) :is(p, li) strong { font-weight: 600; color: var(--navy); }
.trust-band :is(p, li) strong { color: #fff; }
/* Refining hub: a heading over the second row of service cards; the Drop Off heading centred over its cards */
.fg-svc-row { margin-top: calc(72 * var(--u)); color: var(--navy); font-size: max(22px, calc(40 * var(--u))); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; text-align: center; }
.fg-svc-row + .fg-svc-grid { margin-top: calc(36 * var(--u)); }
.fg-subcards-center > h2, .fg-subcards-center > .fg-lead { max-width: calc(1200 * var(--u)); margin-inline: auto; text-align: center; }
.fg-subcards-center > .fg-btns { justify-content: center; }
@media (max-width: 1024px) { .fg-svc-row { margin-top: 40px; } .fg-svc-row + .fg-svc-grid { margin-top: 20px; } }

/* Contact card: the two buttons on one row, a little larger (client, Nov 2026) */
@media (min-width: 1025px) {
  .contact .contact-btns { flex-wrap: nowrap; }
  .contact .contact-btns .btn { height: max(48px, calc(58 * var(--u))); padding-inline: calc(30 * var(--u)); font-size: max(15px, calc(19 * var(--u))); white-space: nowrap; }
}
/* "Looking for a particular product?" strip: buttons centred on the copy beside them */
.fg-cta { align-items: center; }
/* A choice card with the client's photo instead of a product shot */
.fg-shot.fg-shot-photo { overflow: hidden; padding: 0; }
.fg-shot.fg-shot-photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
/* A category card with the client's photo fills its frame */
.fg-cat-img.fg-cat-photo { overflow: hidden; }
.fg-cat-img.fg-cat-photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
