/*
Theme Name: Catfish Edge
Theme URI: https://www.catfishedge.com/
Author: Chad Ferguson
Author URI: https://www.catfishedge.com/
Description: Gunmetal block theme for catfishedge.com. Black and charcoal chrome, light steel pages, Edge green and yellow accents. Built for posts, video posts and a WooCommerce shop. Keeps every existing URL, category and product.
Requires at least: 6.6
Tested up to: 7.2
Requires PHP: 7.4
Version: 1.2.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: catfish-edge
Tags: block-themes, full-site-editing, e-commerce, blog, custom-colors, editor-style, wide-blocks
WC requires at least: 9.0
WC tested up to: 11.3
*/

/* ==========================================================================
   Token aliases — the colors and fonts live in theme.json (Styles panel).
   These short names let the component CSS below read like the design system.
   ========================================================================== */
:root {
	--surface: var(--wp--preset--color--surface);
	--surface-raised: var(--wp--preset--color--surface-raised);
	--surface-sunken: var(--wp--preset--color--surface-sunken);
	--surface-chrome: var(--wp--preset--color--chrome);
	--surface-inverse: var(--wp--preset--color--chrome);
	--ink: var(--wp--preset--color--ink);
	--ink-muted: var(--wp--preset--color--ink-muted);
	--ink-on-chrome: var(--wp--preset--color--ink-on-chrome);
	--rule: var(--wp--preset--color--rule);
	--border-strong: var(--wp--preset--color--border-strong);
	--primary: var(--wp--preset--color--primary);
	--primary-hover: var(--wp--preset--color--primary-hover);
	--on-primary: var(--wp--preset--color--on-primary);
	--accent: var(--wp--preset--color--accent);
	--accent-hover: var(--wp--preset--color--accent-hover);
	--on-accent: var(--wp--preset--color--edge-black);
	--on-edge-green: #0b0c0d;
	--link: var(--wp--preset--color--link);
	--edge-green: var(--wp--preset--color--edge-green);
	--edge-yellow: var(--wp--preset--color--accent);
	--edge-black: var(--wp--preset--color--edge-black);
	--safety-orange: var(--wp--preset--color--safety-orange);
	--tip-bg: var(--wp--preset--color--tip-bg);
	--rig-bg: var(--wp--preset--color--rig-bg);
	--caution-bg: var(--wp--preset--color--caution-bg);
	--caution-ink: var(--wp--preset--color--caution-ink);
	--gunmetal-950: #0b0c0d;
	--gunmetal-900: #111315;
	--gunmetal-850: #17191b;
	--gunmetal-800: #1d2023;
	--gunmetal-700: #2a2e32;
	--gunmetal-600: #3a3f44;
	--gunmetal-300: #a9adb1;
	--gunmetal-200: #d3d6d8;
	--gunmetal-100: #e6e8e9;
	--gunmetal-50: #f2f3f1;
	--focus-ring: var(--wp--preset--color--ink);
	--shadow-hard: var(--wp--preset--shadow--hard);
	--shadow-hard-sm: var(--wp--preset--shadow--hard-sm);
	--font-display: var(--wp--preset--font-family--display);
	--font-body: var(--wp--preset--font-family--body);
	--font-mono: var(--wp--preset--font-family--mono);
	--space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
	--space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;
	--radius-0: 0px; --radius-1: 2px; --radius-2: 4px;
	--stroke-hair: 1px; --stroke-solid: 2px; --stroke-heavy: 4px;
	--article-max: 720px;
	--hazard: repeating-linear-gradient(-45deg, transparent 0 14px, #020200 14px 24px);
}

body { -webkit-font-smoothing: antialiased; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.ce-chrome :where(a, button):focus-visible, .ce-header :where(a, button):focus-visible, .ce-footer :where(a, button):focus-visible { outline-color: var(--edge-yellow); }
::selection { background: var(--accent); color: var(--edge-black); }
img { height: auto; }
.screen-reader-text:focus { clip: auto !important; clip-path: none; height: auto; width: auto; z-index: 100000; background: var(--accent); color: var(--edge-black); padding: 12px 16px; }


/* ==========================================================================
   Components — from the Catfish Edge design system (ce- classes)
   ========================================================================== */
/* ---------- Button ---------- */
.ce-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: 0 var(--space-5);
  font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 20px;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  border: var(--stroke-solid) solid transparent; border-radius: var(--radius-1);
  cursor: pointer; transition: transform .08s ease, box-shadow .08s ease, background-color .12s ease;
}
.ce-btn:active { transform: translate(2px, 2px); box-shadow: none; }
.ce-btn--primary { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.ce-btn--primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.ce-btn--accent { background: var(--accent); color: var(--on-accent); border-color: var(--edge-black); box-shadow: var(--shadow-hard-sm); }
.ce-btn--accent:hover { background: var(--accent-hover); }
.ce-btn--outline { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.ce-btn--outline:hover { border-color: var(--ink); background: var(--surface-sunken); }
.ce-btn--ghost { background: transparent; color: var(--link); padding: 0 var(--space-2); text-decoration: underline; text-underline-offset: 4px; }
.ce-btn--sm { min-height: 36px; padding: 0 var(--space-4); font-size: 14px; }
.ce-btn--lg { min-height: 52px; padding: 0 var(--space-6); font-size: 18px; }
.ce-btn--block { width: 100%; }
.ce-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- Tag ---------- */
.ce-tag {
  display: inline-flex; align-items: center; height: 26px; padding: 0 var(--space-2);
  font-family: var(--font-body); font-weight: 700; font-size: 13px; line-height: 16px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius-0); border: var(--stroke-solid) solid var(--border-strong);
  color: var(--ink); background: transparent;
}
a.ce-tag:hover { background: var(--surface-sunken); border-color: var(--ink); }
.ce-tag--category { background: var(--edge-green); color: var(--on-edge-green); border-color: var(--edge-green); }
a.ce-tag--category:hover { background: var(--edge-green); border-color: var(--edge-black); }
.ce-tag--accent { background: var(--accent); color: var(--on-accent); border-color: var(--edge-black); }
.ce-tag--dark { background: var(--gunmetal-850); color: var(--edge-yellow); border-color: var(--edge-yellow); }

/* ---------- Callout ---------- */
.ce-callout { border: var(--stroke-solid) solid var(--border-strong); border-radius: var(--radius-0); background: var(--surface-raised); color: var(--ink); margin: var(--space-6) 0; }
.ce-callout__head { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-4); font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 24px; letter-spacing: 0.06em; text-transform: uppercase; }
.ce-callout__icon { width: 20px; height: 20px; flex: none; }
.ce-callout__title { font-family: var(--font-body); font-weight: 700; font-size: 16px; letter-spacing: 0; text-transform: none; opacity: .92; }
.ce-callout__title::before { content: "— "; }
.ce-callout__body { padding: var(--space-4) var(--space-5) var(--space-5); font-size: 17px; line-height: 28px; }
.ce-callout__body > :first-child { margin-top: 0; }
.ce-callout__body > :last-child { margin-bottom: 0; }
.ce-callout--tip { background: var(--tip-bg); }
.ce-callout--tip .ce-callout__head { background: var(--edge-green); color: var(--on-edge-green); }
.ce-callout--rig { background: var(--rig-bg); }
.ce-callout--rig .ce-callout__head { background: var(--gunmetal-600); color: var(--gunmetal-50); }
.ce-callout--caution { background: var(--caution-bg); }
.ce-callout--caution .ce-callout__head { background: var(--safety-orange); color: var(--edge-black); background-image: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(2,2,0,.14) 14px 22px); }
.ce-callout--gear .ce-callout__head { background: var(--gunmetal-850); color: var(--edge-yellow); }

/* ---------- SpecTable ---------- */
.ce-spec { width: 100%; border-collapse: collapse; background: var(--surface-sunken); border: var(--stroke-solid) solid var(--border-strong); font-size: 15px; }
.ce-spec caption { caption-side: top; text-align: left; padding: 0 0 var(--space-2); font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.ce-spec th, .ce-spec td { text-align: left; vertical-align: top; padding: var(--space-3) var(--space-4); border-top: var(--stroke-hair) solid var(--rule); }
.ce-spec tr:first-child th, .ce-spec tr:first-child td { border-top: 0; }
.ce-spec th { width: 38%; font-weight: 700; font-size: 13px; line-height: 22px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.ce-spec td { font-family: var(--font-mono); font-weight: 500; line-height: 22px; color: var(--ink); }
.ce-spec td small { display: block; font-family: var(--font-body); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.ce-callout .ce-spec { background: transparent; border: 0; border-top: var(--stroke-solid) solid var(--border-strong); margin-top: var(--space-4); }

/* ---------- ArticleCard ---------- */
.ce-card { display: flex; flex-direction: column; background: var(--surface-raised); color: var(--ink); text-decoration: none; border: var(--stroke-solid) solid var(--border-strong); border-radius: var(--radius-2); overflow: hidden; transition: transform .1s ease, box-shadow .1s ease; }
a.ce-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-hard); border-color: var(--ink); }
.ce-card__media { position: relative; aspect-ratio: 16 / 9; background: var(--gunmetal-850); border-bottom: var(--stroke-solid) solid var(--border-strong); }
.ce-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ce-card__media .ce-tag { position: absolute; left: var(--space-3); top: var(--space-3); }
.ce-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gunmetal-300); font-family: var(--font-mono); font-size: 13px; background-image: repeating-linear-gradient(-45deg, transparent 0 18px, rgba(245,242,233,.06) 18px 20px); }
.ce-card__body { display: grid; gap: var(--space-2); padding: var(--space-4); }
.ce-card__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 26px; }
.ce-card__excerpt { margin: 0; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.ce-card__meta { font-size: 14px; line-height: 20px; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); }
.ce-card__meta b { color: var(--ink); font-weight: 700; }
.ce-card--row { flex-direction: row; }
.ce-card--row .ce-card__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 120px; border-bottom: 0; border-right: var(--stroke-solid) solid var(--border-strong); }

/* ---------- ProductCard (eBooks) ---------- */
.ce-product { position: relative; display: flex; flex-direction: column; background: var(--surface-raised); color: var(--ink); border: var(--stroke-solid) solid var(--border-strong); border-radius: var(--radius-2); overflow: hidden; }
.ce-product--featured { border-color: var(--edge-black); box-shadow: var(--shadow-hard); }
.ce-product__cover { position: relative; aspect-ratio: 3 / 4; background: var(--gunmetal-850); border-bottom: var(--stroke-solid) solid var(--border-strong); overflow: hidden; }
.ce-product__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ce-gencover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: var(--space-4); color: var(--gunmetal-100); }
.ce-gencover__kicker { font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--edge-green); }
.ce-gencover__title { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 30px; text-transform: uppercase; color: var(--gunmetal-50); }
.ce-gencover__band { margin: 0 calc(var(--space-4) * -1) calc(var(--space-4) * -1); padding: var(--space-2) var(--space-4); background: var(--edge-yellow); color: var(--edge-black); font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.ce-product__flag { position: absolute; top: var(--space-3); right: 0; padding: var(--space-1) var(--space-3); background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; border: var(--stroke-solid) solid var(--edge-black); border-right: 0; }
.ce-product__body { display: grid; gap: var(--space-2); padding: var(--space-4); flex: 1; align-content: start; }
.ce-product__format { font-weight: 700; font-size: 13px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.ce-product__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 26px; }
.ce-product__desc { margin: 0; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.ce-product__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4) var(--space-4); }
.ce-price { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 28px; }
.ce-price s { font-family: var(--font-body); font-weight: 400; font-size: 15px; color: var(--ink-muted); margin-left: var(--space-2); }
.ce-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 560px) { .ce-grid--products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 840px) { .ce-grid--products, .ce-grid--articles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 560px) and (max-width: 839px) { .ce-grid--articles { grid-template-columns: repeat(2, 1fr); } }

/* ---------- AuthorBio ---------- */
.ce-author { display: grid; grid-template-columns: 72px 1fr; gap: var(--space-4); padding: var(--space-5); background: var(--surface-sunken); border: var(--stroke-solid) solid var(--border-strong); border-top: var(--stroke-heavy) solid var(--primary); }
.ce-author__avatar { width: 72px; height: 72px; background: var(--gunmetal-850); color: var(--edge-green); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 30px; border: var(--stroke-solid) solid var(--border-strong); overflow: hidden; }
.ce-author__avatar img { width: 100%; height: 100%; object-fit: cover; }
.ce-author__eyebrow { font-weight: 700; font-size: 13px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.ce-author__name { margin: var(--space-1) 0 0; font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 28px; text-transform: uppercase; }
.ce-author__role { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.ce-author__bio { grid-column: 1 / -1; margin: 0; font-size: 16px; line-height: 26px; }
.ce-author__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.ce-link { color: var(--link); font-weight: 700; font-size: 15px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (min-width: 768px) { .ce-author { grid-template-columns: 96px 1fr; } .ce-author__avatar { width: 96px; height: 96px; font-size: 40px; } .ce-author__bio, .ce-author__links { grid-column: 2; } }

/* ---------- ArticleHeader ---------- */
.ce-ahead { display: grid; gap: var(--space-3); max-width: var(--article-max); padding-bottom: var(--space-5); border-bottom: var(--stroke-heavy) solid var(--ink); }
.ce-ahead__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ce-ahead__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 34px; letter-spacing: .01em; text-transform: uppercase; }
.ce-ahead__dek { margin: 0; font-size: 20px; line-height: 30px; font-weight: 500; color: var(--ink-muted); }
.ce-byline { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-3); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.ce-byline b { color: var(--ink); }
.ce-byline span + span::before { content: "/"; margin-right: var(--space-3); color: var(--border-strong); }
@media (min-width: 768px) { .ce-ahead__title { font-size: 48px; line-height: 48px; } }

/* ---------- Prose (article body) ---------- */
.ce-prose { max-width: var(--article-max); font-size: 18px; line-height: 30px; color: var(--ink); }
.ce-prose > * { margin: 0 0 var(--space-4); }
.ce-prose h2 { margin: var(--space-7) 0 var(--space-3); padding-bottom: var(--space-2); border-bottom: var(--stroke-heavy) solid var(--edge-green); font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 30px; letter-spacing: .02em; text-transform: uppercase; }
.ce-prose h3 { margin: var(--space-6) 0 var(--space-2); font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 26px; }
.ce-prose a { color: var(--link); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ce-prose strong { font-weight: 700; }
.ce-prose mark { background: var(--accent); color: var(--on-accent); padding: 0 .15em; }
.ce-prose code { font-family: var(--font-mono); font-size: .85em; background: var(--surface-sunken); border: var(--stroke-hair) solid var(--rule); padding: .05em .35em; }
.ce-prose ul, .ce-prose ol { padding-left: var(--space-5); }
.ce-prose li { margin-bottom: var(--space-2); }
.ce-prose ul li::marker { color: var(--primary); content: "■  "; font-size: .7em; }
.ce-prose ol li::marker { font-family: var(--font-display); font-weight: 800; color: var(--primary); }
.ce-prose blockquote { margin: var(--space-6) 0; padding: var(--space-4) 0; border-top: var(--stroke-solid) solid var(--ink); border-bottom: var(--stroke-solid) solid var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 30px; }
.ce-prose blockquote cite { display: block; margin-top: var(--space-2); font-family: var(--font-body); font-style: normal; font-weight: 400; font-size: 14px; color: var(--ink-muted); }
.ce-prose figure { margin: var(--space-6) 0; }
.ce-prose figcaption { margin-top: var(--space-2); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
@media (min-width: 768px) { .ce-prose h2 { font-size: 34px; line-height: 38px; } .ce-prose h3 { font-size: 24px; line-height: 30px; } }

/* ==========================================================================
   WordPress layer — how core and WooCommerce blocks wear the Gunmetal look.
   ========================================================================== */

/* ---------- Shared helpers ---------- */
.ce-chrome { background: var(--surface-chrome); color: var(--ink-on-chrome); }
.ce-chrome :where(h1, h2, h3, h4, h5, h6) { color: var(--gunmetal-50); }
.ce-chrome :where(p) { color: var(--gunmetal-300); }
.ce-chrome a:where(:not(.wp-element-button)) { color: var(--edge-green); }
.ce-chrome a:where(:not(.wp-element-button)):hover { color: var(--gunmetal-50); }
.ce-deep { background: var(--gunmetal-950); }

.ce-kicker, .is-style-ce-kicker {
	font-family: var(--font-mono) !important; font-weight: 500 !important; font-size: 14px !important;
	line-height: 20px; letter-spacing: .04em !important; text-transform: none !important; color: var(--link);
}
.ce-chrome .ce-kicker, .ce-chrome .is-style-ce-kicker { color: var(--edge-green); }
.ce-mono { font-family: var(--font-mono); font-size: 14px; }

/* Section heading row: title left, link right, heavy rule under. */
.ce-section-head { border-bottom: var(--stroke-heavy) solid var(--ink); padding-bottom: var(--space-3) !important; gap: var(--space-4); }
.ce-section-head > :where(h1, h2, h3) { margin: 0; font-weight: 800; }
.ce-section-head a { font-weight: 700; font-size: 15px; text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }

.ce-pill, .ce-pill a {
	display: inline-flex; align-items: center; padding: 4px 10px; margin: 0;
	font-family: var(--font-body); font-weight: 700; font-size: 13px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.ce-pill--dark { background: var(--edge-black); color: var(--edge-yellow); }
.ce-pill--accent { background: var(--accent); color: var(--edge-black); border: 2px solid var(--edge-black); }

/* Hazard stripe band (bottom of heroes, share images, footer). */
.ce-hazard-bar { height: 12px; background-color: var(--edge-yellow); background-image: var(--hazard); margin: 0 !important; }
.is-style-ce-hazard { position: relative; padding-bottom: calc(var(--space-6) + 12px) !important; }
.is-style-ce-hazard::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background-color: var(--edge-yellow); background-image: var(--hazard); }

/* Square-edged, hard-shadow frame for images. */
.is-style-ce-framed img { border: var(--stroke-solid) solid var(--edge-black); box-shadow: var(--shadow-hard); border-radius: 0; }
.is-style-ce-card { background: var(--surface-raised); border: var(--stroke-solid) solid var(--border-strong); border-radius: var(--radius-2); padding: var(--space-5); }

.ce-photo-slot img, .ce-photo-slot { border: var(--stroke-solid) solid var(--gunmetal-600); }

/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link { border-radius: var(--radius-1); transition: transform .08s ease, background-color .12s ease; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; text-decoration: none; }
.wp-element-button:active, .wp-block-button__link:active { transform: translate(2px, 2px); box-shadow: none !important; }
.wp-block-button.is-style-accent .wp-block-button__link { background: var(--accent); color: var(--edge-black); border-color: var(--edge-black); box-shadow: var(--shadow-hard-sm); }
.wp-block-button.is-style-accent .wp-block-button__link:hover { background: var(--accent-hover); color: var(--edge-black); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--ink); background: var(--surface-sunken); }
.wp-block-button.is-style-chrome-outline .wp-block-button__link { background: transparent; color: var(--gunmetal-50); border-color: var(--gunmetal-300); }
.wp-block-button.is-style-chrome-outline .wp-block-button__link:hover { border-color: var(--gunmetal-50); background: rgba(242,243,241,.06); }
.ce-btn-lg .wp-block-button__link { min-height: 52px; padding-left: 32px; padding-right: 32px; font-size: 18px; }
.ce-btn-sm .wp-block-button__link { min-height: 38px; padding: 6px 16px; font-size: 14px; }

/* ---------- Header ---------- */
.ce-header { background: var(--surface-chrome); color: var(--ink-on-chrome); border-bottom: var(--stroke-heavy) solid var(--edge-green); position: relative; z-index: 50; }
.ce-header__inner { min-height: 84px; gap: var(--space-6); }
.ce-header .wp-block-site-logo img { max-height: 56px; width: auto; }
.ce-header .wp-block-site-title a { color: var(--gunmetal-50); text-decoration: none; }
.ce-header .wp-block-navigation { color: var(--ink-on-chrome); }
.ce-header .wp-block-navigation a { text-decoration: none; }
.ce-header .wp-block-navigation-item__content:hover,
.ce-header .wp-block-navigation .current-menu-item > a,
.ce-header .wp-block-navigation [aria-current="page"] { color: var(--edge-green); }
.ce-header .wp-block-navigation__submenu-container { background: var(--gunmetal-950) !important; color: var(--ink-on-chrome) !important; border: var(--stroke-solid) solid var(--gunmetal-600) !important; padding: var(--space-2) 0; min-width: 240px !important; }
.ce-header .wp-block-navigation__submenu-container a { padding: 10px 16px !important; font-size: 15px; }
.ce-header .wp-block-navigation__submenu-container a:hover { background: var(--gunmetal-800); }
.ce-header .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; border: var(--stroke-solid) solid var(--gunmetal-600); align-items: center; justify-content: center; color: var(--ink-on-chrome); }
@media (max-width: 599px) { .ce-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; } }
.ce-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--gunmetal-950) !important; color: var(--gunmetal-50) !important; padding: var(--space-6) var(--space-5); }
.ce-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { gap: var(--space-4); }
.ce-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 26px; }
.ce-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; background: transparent !important; padding-left: var(--space-4); }
.ce-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container a { font-size: 18px; color: var(--gunmetal-300); }
.ce-header .wc-block-mini-cart__button { color: var(--ink-on-chrome); }
.ce-header .wc-block-mini-cart__badge { background: var(--accent); color: var(--edge-black); font-weight: 700; }
.ce-header__actions { gap: var(--space-3); margin-left: auto; }
@media (max-width: 781px) {
	.ce-header__inner { min-height: 68px; gap: var(--space-3); }
	.ce-header .wp-block-site-logo img { max-height: 42px; }
}

/* ---------- Hero ---------- */
.ce-hero { background: var(--gunmetal-950); color: var(--ink-on-chrome); }
.ce-hero__title { font-size: var(--wp--preset--font-size--huge) !important; line-height: .92 !important; font-weight: 800; color: var(--gunmetal-50); margin: 0; }
.ce-hero__title mark, .ce-hl { background: none !important; color: var(--edge-yellow) !important; }
.ce-hero__lede { font-size: 20px; line-height: 30px; font-weight: 500; color: var(--gunmetal-300) !important; max-width: 540px; }
.ce-hero__media { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
.ce-hero__media figure { margin: 0; }
.ce-hero__media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; display: block; border: var(--stroke-solid) solid var(--gunmetal-600); border-bottom: 0; }
.ce-proof { background: var(--gunmetal-850); border-top: var(--stroke-solid) solid var(--gunmetal-600); }
.ce-proof p { display: flex; align-items: center; gap: var(--space-3); margin: 0; padding: 18px 0; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-on-chrome) !important; }
.ce-proof p::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--edge-green); }
.ce-proof .wp-block-column:nth-child(2) p::before { background: var(--edge-yellow); }
.ce-proof .wp-block-column:nth-child(3) p::before { background: var(--safety-orange); }
@media (max-width: 781px) {
	.ce-proof .wp-block-columns { gap: 0 !important; }
	.ce-proof p { padding: 12px 0; font-size: 16px; }
	.ce-hero__lede { font-size: 18px; line-height: 28px; }
}

/* ---------- Category tiles ---------- */
.ce-cat-grid { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-4) !important; }
@media (max-width: 960px) { .ce-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ce-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ce-cat { position: relative; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4) !important; background: var(--surface-raised); border: var(--stroke-solid) solid var(--border-strong); min-height: 120px; margin: 0 !important; transition: transform .1s ease, box-shadow .1s ease; }
.ce-cat::before { content: ""; width: 32px; height: 4px; background: var(--edge-green); }
.ce-cat:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-hard); border-color: var(--ink); }
.ce-cat > * { margin: 0 !important; }
.ce-cat h3 { font-size: 24px; font-weight: 700; text-transform: uppercase; line-height: 1; }
.ce-cat h3 a { color: var(--ink); text-decoration: none; }
.ce-cat h3 a::after { content: ""; position: absolute; inset: 0; }
.ce-cat p { font-size: 14px; line-height: 20px; color: var(--ink-muted); }

/* ---------- Post cards (Query Loop) ---------- */
.ce-cards .wp-block-post-template { gap: var(--space-5); }
.ce-card-post { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--surface-raised); border: var(--stroke-solid) solid var(--border-strong); border-radius: var(--radius-2); overflow: hidden; transition: transform .1s ease, box-shadow .1s ease; }
.ce-card-post:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-hard); border-color: var(--ink); }
.ce-card-post > * { margin: 0 !important; }
.ce-card-post .wp-block-post-featured-image { position: relative; aspect-ratio: 16 / 9; background: var(--gunmetal-850); border-bottom: var(--stroke-solid) solid var(--border-strong); overflow: hidden; }
.ce-card-post .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.ce-card-post .ce-card-post__body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.ce-card-post .ce-card-post__body > * { margin: 0; }
.ce-card-post .wp-block-post-title { font-size: 21px; line-height: 26px; font-weight: 700; text-transform: none; }
.ce-card-post .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.ce-card-post .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ce-card-post .wp-block-post-excerpt { font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.ce-card-post .wp-block-post-excerpt__excerpt { margin: 0; }
.ce-card-post .wp-block-post-date, .ce-card-post .ce-meta { font-size: 14px; color: var(--ink-muted); }
.ce-card-post .wp-block-post-terms { position: relative; z-index: 2; }
/* Category pill sits on the photo. */
.ce-card-post .ce-card-post__cat { position: absolute; left: var(--space-3); top: var(--space-3); z-index: 2; }

/* Featured (first) card: bigger, side by side on desktop. */
.ce-feature .ce-card-post { flex-direction: row; }
.ce-feature .ce-card-post .wp-block-post-featured-image { flex: 0 0 58%; aspect-ratio: auto; min-height: 340px; border-bottom: 0; border-right: var(--stroke-solid) solid var(--border-strong); }
.ce-feature .ce-card-post .ce-card-post__body { padding: var(--space-6); justify-content: center; gap: var(--space-3); }
.ce-feature .ce-card-post .wp-block-post-title { font-size: var(--wp--preset--font-size--x-large); line-height: 1.05; font-weight: 800; text-transform: uppercase; }
.ce-feature .ce-card-post .wp-block-post-excerpt { font-size: 18px; line-height: 28px; }
@media (max-width: 781px) {
	.ce-feature .ce-card-post { flex-direction: column; }
	.ce-feature .ce-card-post .wp-block-post-featured-image { flex: none; aspect-ratio: 16 / 9; min-height: 0; border-right: 0; border-bottom: var(--stroke-solid) solid var(--border-strong); }
	.ce-feature .ce-card-post .ce-card-post__body { padding: var(--space-4); }
}

/* Category and tag pills (core/post-terms with the "Tags" style, or our class). */
.is-style-ce-tags, .ce-card-post__cat { display: flex; flex-wrap: wrap; gap: var(--space-2); font-size: 0; }
.is-style-ce-tags a, .ce-card-post__cat a { display: inline-flex; align-items: center; height: 26px; padding: 0 var(--space-2); background: var(--edge-green); color: #0b0c0d !important; border: var(--stroke-solid) solid var(--edge-green); font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.is-style-ce-tags a:hover, .ce-card-post__cat a:hover { border-color: var(--edge-black); }
.is-style-ce-tags .wp-block-post-terms__separator, .ce-card-post__cat .wp-block-post-terms__separator { display: none; }
.ce-tags-outline a { background: transparent; color: var(--ink) !important; border-color: var(--border-strong); }
.ce-tags-outline a:hover { background: var(--surface-sunken); border-color: var(--ink); }

/* Pagination */
.wp-block-query-pagination { gap: var(--space-2); margin-top: var(--space-7); }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border: var(--stroke-solid) solid var(--border-strong); color: var(--ink); text-decoration: none; background: var(--surface-raised); }
.wp-block-query-pagination a:hover { border-color: var(--ink); }
.wp-block-query-pagination .page-numbers.current { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.wp-block-query-pagination .page-numbers.dots { border: 0; background: none; }

/* ---------- Rig of the month / panels ---------- */
.ce-rig { background: var(--surface-sunken); border: var(--stroke-solid) solid var(--border-strong); }
.ce-rig h2 { font-weight: 800; }

/* ---------- Callouts (patterns: Pro Tip, Rig Setup, Gear Note, Caution) ---------- */
.wp-block-group.ce-callout { padding: 0 !important; gap: 0 !important; }
.wp-block-group.ce-callout > .ce-callout__head { margin: 0 !important; }
.wp-block-group.ce-callout > :not(.ce-callout__head) { margin-left: var(--space-5); margin-right: var(--space-5); }
.wp-block-group.ce-callout > .ce-callout__head + * { margin-top: var(--space-4) !important; }
.wp-block-group.ce-callout > :last-child:not(.ce-callout__head) { margin-bottom: var(--space-5) !important; }
.wp-block-group.ce-callout > :where(p, ul, ol) { font-size: 17px; line-height: 28px; }
.wp-block-group.ce-callout > .wp-block-table { margin-left: 0; margin-right: 0; margin-bottom: 0 !important; }
.wp-block-group.ce-callout > .wp-block-table table { border-left: 0; border-right: 0; border-bottom: 0; }
p.ce-callout__head::before { content: ""; display: inline-block; width: 20px; height: 20px; flex: none; background: currentColor; -webkit-mask: var(--ce-icon) center / contain no-repeat; mask: var(--ce-icon) center / contain no-repeat; }
.ce-callout--tip { --ce-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7V17h8v-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E"); }
.ce-callout--rig { --ce-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='M12 2v9M12 11a5 5 0 1 0 5 5'/%3E%3Cpath d='M17 16v-3'/%3E%3C/svg%3E"); }
.ce-callout--gear { --ce-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='M3 21 21 3M15 3h6v6'/%3E%3C/svg%3E"); }
.ce-callout--caution { --ce-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='M12 3 2 21h20L12 3zM12 10v5M12 18v.5'/%3E%3C/svg%3E"); }

/* ---------- Spec table (Table block, "Spec table" style) ---------- */
.wp-block-table.is-style-ce-spec table { width: 100%; border-collapse: collapse; background: var(--surface-sunken); border: var(--stroke-solid) solid var(--border-strong); font-size: 15px; }
.wp-block-table.is-style-ce-spec :where(th, td) { text-align: left; vertical-align: top; padding: var(--space-3) var(--space-4); border: 0; border-top: var(--stroke-hair) solid var(--rule); }
.wp-block-table.is-style-ce-spec tr:first-child :where(th, td) { border-top: 0; }
.wp-block-table.is-style-ce-spec :where(td:first-child, th:first-child) { width: 38%; font-family: var(--font-body); font-weight: 700; font-size: 13px; line-height: 22px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.wp-block-table.is-style-ce-spec td:not(:first-child) { font-family: var(--font-mono); font-weight: 500; line-height: 22px; color: var(--ink); }
.wp-block-table.is-style-ce-spec thead { border-bottom: var(--stroke-solid) solid var(--border-strong); }
.wp-block-table.is-style-ce-spec figcaption { caption-side: top; text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.ce-callout .wp-block-table.is-style-ce-spec table { background: transparent; }

/* Regular tables */
.wp-block-table:not(.is-style-ce-spec) table { border-collapse: collapse; }
.wp-block-table:not(.is-style-ce-spec) :where(th, td) { border: var(--stroke-hair) solid var(--rule); padding: 10px 12px; }
.wp-block-table thead { border-bottom: var(--stroke-solid) solid var(--ink); }
.wp-block-table th { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Guide band ---------- */
.ce-band { background: var(--surface-chrome); color: var(--ink-on-chrome); border-top: var(--stroke-heavy) solid var(--edge-yellow); }
.ce-band img { aspect-ratio: 16 / 9; object-fit: cover; border: var(--stroke-solid) solid var(--gunmetal-600); }

/* ---------- Videos ---------- */
.ce-video-card .wp-block-post-featured-image::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23020200'/%3E%3C/svg%3E") center / 28px no-repeat; border: 3px solid var(--edge-black); pointer-events: none; }
.ce-shorts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-4); }
@media (max-width: 781px) { .ce-shorts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 150px; overflow-x: auto; padding-bottom: var(--space-2); } }
.ce-short { display: flex; flex-direction: column; gap: var(--space-2); color: var(--ink); text-decoration: none; }
.ce-short__media { position: relative; aspect-ratio: 9 / 16; background: var(--gunmetal-850); border: var(--stroke-solid) solid var(--border-strong); overflow: hidden; }
.ce-short__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ce-short:hover .ce-short__media { border-color: var(--ink); box-shadow: var(--shadow-hard); }
.ce-short__badge { position: absolute; left: 8px; top: 8px; padding: 2px 8px; background: var(--accent); color: var(--edge-black); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ce-short__meta { font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted); }
.ce-short__title { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 22px; }
.wp-block-embed.is-type-video iframe { border: var(--stroke-solid) solid var(--edge-black); }
.ce-video-hero .wp-block-embed { margin: 0; box-shadow: var(--shadow-hard); }
.ce-chapters { list-style: none; padding: 0 !important; margin: 0; border: var(--stroke-solid) solid var(--border-strong); background: var(--surface-raised); }
.ce-chapters li { display: flex; gap: var(--space-3); padding: 10px var(--space-4); border-top: var(--stroke-hair) solid var(--rule); margin: 0 !important; }
.ce-chapters li:first-child { border-top: 0; }
.ce-chapters li::marker { content: none; }
.ce-chapters code, .ce-chapters strong:first-child { font-family: var(--font-mono); font-weight: 500; color: var(--link); background: none; border: 0; padding: 0; min-width: 52px; }
.wp-block-details { border: var(--stroke-solid) solid var(--border-strong); background: var(--surface-raised); padding: 0; }
.wp-block-details summary { padding: var(--space-3) var(--space-4); font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.wp-block-details > :not(summary) { padding: 0 var(--space-4); }
.wp-block-details[open] summary { border-bottom: var(--stroke-hair) solid var(--rule); margin-bottom: var(--space-4); }

/* ---------- Single article ---------- */
.ce-ahead { border-bottom: var(--stroke-heavy) solid var(--ink); padding-bottom: var(--space-5) !important; }
.ce-ahead .wp-block-post-title { font-size: var(--wp--preset--font-size--xx-large); line-height: 1; margin: 0; }
.ce-ahead .wp-block-post-excerpt { font-size: 20px; line-height: 30px; font-weight: 500; }
.ce-ahead .wp-block-post-excerpt__excerpt { margin: 0; }
.ce-byline { font-size: 14px; color: var(--ink-muted); gap: var(--space-1) var(--space-3) !important; }
.ce-byline > * { margin: 0 !important; font-size: 14px !important; }
.ce-byline > * + *::before { content: "/"; margin-right: var(--space-3); color: var(--border-strong); }
.ce-byline .wp-block-post-author-name a { color: var(--ink); text-decoration: none; }
.ce-featured img { border: var(--stroke-solid) solid var(--edge-black); }

/* Article body = the design system's Prose. */
.ce-prose { font-size: 18px; line-height: 30px; }
.ce-prose > * { margin-block-start: 0; margin-block-end: var(--space-4); }
.ce-prose > h2, .ce-prose > .wp-block-heading:where(h2) { margin-top: var(--space-7); margin-bottom: var(--space-3); padding-bottom: var(--space-2); border-bottom: var(--stroke-heavy) solid var(--edge-green); font-size: 34px; line-height: 38px; }
.ce-prose > h3 { margin-top: var(--space-6); margin-bottom: var(--space-2); font-size: 24px; line-height: 30px; }
.ce-prose a:where(:not(.wp-element-button)) { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ce-prose mark:not(.has-inline-color) { background: var(--accent); color: var(--edge-black); padding: 0 .15em; }
.ce-prose :where(ul, ol):not(.ce-chapters) { padding-left: var(--space-5); }
.ce-prose li { margin-bottom: var(--space-2); }
.ce-prose ul:not(.ce-chapters):not(.is-style-ce-checks) > li::marker { color: var(--primary); content: "■  "; font-size: .7em; }
.ce-prose ol > li::marker { font-family: var(--font-display); font-weight: 800; color: var(--primary); }
.ce-prose > .wp-block-image, .ce-prose > figure { margin-top: var(--space-6); margin-bottom: var(--space-6); }
.ce-prose figcaption { font-size: 14px; line-height: 20px; color: var(--ink-muted); text-align: left; }
.ce-prose > .wp-block-group.ce-callout { margin-top: var(--space-6); margin-bottom: var(--space-6); }
@media (max-width: 781px) {
	.ce-prose > h2, .ce-prose > .wp-block-heading:where(h2) { font-size: 26px; line-height: 30px; }
	.ce-prose > h3 { font-size: 21px; line-height: 26px; }
}
.is-style-ce-checks { list-style: none; padding-left: 0 !important; }
.is-style-ce-checks li { position: relative; padding-left: 32px; }
.is-style-ce-checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; background: var(--edge-green); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='square'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='square'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Sidebar */
.ce-sidebar { position: sticky; top: var(--space-5); }
.ce-sidebar > * { margin-top: 0; }
.ce-sidebox { border: var(--stroke-solid) solid var(--border-strong); background: var(--surface-raised); padding: var(--space-5) !important; }
.ce-sidebox h3 { font-size: 20px; font-weight: 800; text-transform: uppercase; margin: 0; }
.ce-sidebox.ce-chrome { border-color: var(--edge-black); border-top: var(--stroke-heavy) solid var(--edge-yellow); }
@media (max-width: 781px) { .ce-sidebar { position: static; } }

/* Author bio */
.ce-author-box { background: var(--surface-sunken); border: var(--stroke-solid) solid var(--border-strong); border-top: var(--stroke-heavy) solid var(--primary); padding: var(--space-5) !important; gap: var(--space-4) !important; }
.ce-author-box .wp-block-avatar img, .ce-author-box .wp-block-image img { width: 96px; height: 96px; object-fit: cover; border: var(--stroke-solid) solid var(--border-strong); border-radius: 0; }
.ce-author-box h3 { margin: 0; font-size: 24px; font-weight: 800; text-transform: uppercase; }
.ce-author-box p { margin: 0; }
.ce-eyebrow { font-weight: 700; font-size: 13px !important; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin: 0; }

/* Comments */
.wp-block-comments .wp-block-comment-template li { border-top: var(--stroke-hair) solid var(--rule); padding-top: var(--space-4); }
.wp-block-post-comments-form :where(input:not([type=submit]):not([type=checkbox]), textarea) { border: var(--stroke-solid) solid var(--border-strong); background: var(--surface-raised); border-radius: 0; padding: 10px 12px; font: inherit; }

/* ---------- Archive / category ---------- */
.ce-archive-head { border-bottom: var(--stroke-heavy) solid var(--ink); padding-bottom: var(--space-5) !important; }
.ce-archive-head .wp-block-query-title { font-size: var(--wp--preset--font-size--xx-large); font-weight: 800; margin: 0; }
.ce-archive-head .wp-block-term-description { font-size: 19px; line-height: 30px; color: var(--ink-muted); max-width: 720px; }
.ce-archive-head .wp-block-term-description p { margin: 0; }

/* ---------- Forms & search ---------- */
:where(input[type=text], input[type=email], input[type=search], input[type=tel], input[type=url], input[type=number], input[type=password], select, textarea) { border: var(--stroke-solid) solid var(--border-strong); border-radius: 0; background: var(--surface-raised); color: var(--ink); font: inherit; padding: 10px 12px; }
:where(input, select, textarea):focus { border-color: var(--ink); outline: 3px solid var(--accent); outline-offset: 0; }
.wp-block-search__input { border: var(--stroke-solid) solid var(--border-strong) !important; min-height: 48px; }
.wp-block-search__button { margin-left: 0 !important; }
.wpforms-container input, .wpforms-container textarea, .wpforms-container select { border-radius: 0 !important; border: var(--stroke-solid) solid var(--border-strong) !important; }
.wpforms-container .wpforms-submit { background: var(--primary) !important; color: var(--on-primary) !important; border: var(--stroke-solid) solid var(--primary) !important; border-radius: 2px !important; font-family: var(--font-display) !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .06em; min-height: 48px; padding: 0 24px !important; }

/* ---------- Footer ---------- */
.ce-footer { background: var(--gunmetal-950); color: var(--gunmetal-300); font-size: 15px; }
.ce-footer h2, .ce-footer h3 { font-size: 16px !important; letter-spacing: .08em; text-transform: uppercase; color: var(--gunmetal-50); margin: 0; }
.ce-footer a { color: var(--gunmetal-300); text-decoration: none; }
.ce-footer a:hover { color: var(--edge-green); text-decoration: underline; }
.ce-footer .wp-block-navigation { color: var(--gunmetal-300); font-family: var(--font-body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 15px; }
.ce-footer__base { border-top: var(--stroke-hair) solid var(--gunmetal-700); padding-top: var(--space-5) !important; font-size: 13px; }
.ce-footer__base p { margin: 0; color: var(--gunmetal-300) !important; }
.ce-footer .wp-block-site-logo img { max-width: 160px; height: auto; }

/* ---------- 404 ---------- */
.ce-404 { font-size: clamp(96px, 18vw, 220px) !important; line-height: .85 !important; color: var(--edge-yellow) !important; margin: 0; -webkit-text-stroke: 3px var(--edge-black); }

/* ==========================================================================
   WooCommerce
   ========================================================================== */
.woocommerce-store-notice, p.demo_store { background: var(--accent); color: var(--edge-black); }
.wc-block-breadcrumbs, .woocommerce-breadcrumb { font-size: 14px; color: var(--ink-muted); }
.wc-block-breadcrumbs a, .woocommerce-breadcrumb a { color: var(--ink-muted); }

/* Product grid cards */
.ce-products { --wc-product-collection--column-gap: 24px; }
.ce-products .wc-block-product-template { row-gap: 24px; }
.ce-products .wc-block-product { position: relative; display: flex; flex-direction: column; background: var(--surface-raised); border: var(--stroke-solid) solid var(--border-strong); border-radius: var(--radius-2); overflow: hidden; text-align: left; transition: transform .1s ease, box-shadow .1s ease; }
.ce-products .wc-block-product:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-hard); border-color: var(--ink); }
.ce-products .wc-block-product > * { margin-left: var(--space-4) !important; margin-right: var(--space-4) !important; text-align: left !important; }
.ce-products .wc-block-product > .wc-block-components-product-image { margin: 0 0 var(--space-4) !important; border-bottom: var(--stroke-solid) solid var(--border-strong); background: var(--gunmetal-850); }
.ce-products .wc-block-components-product-image img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; display: block; }
.ce-products .wc-block-product .wp-block-post-title { font-size: 22px !important; line-height: 26px !important; font-weight: 700; text-transform: none; margin-top: 0; margin-bottom: var(--space-2) !important; }
.ce-products .wc-block-product .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.ce-products .wc-block-components-product-price, .ce-price, .wc-block-components-product-price { font-family: var(--font-display); font-weight: 800; font-size: 28px !important; line-height: 1.1; color: var(--ink); }
.wc-block-components-product-price del { font-family: var(--font-body); font-weight: 400; font-size: 15px; color: var(--ink-muted); }
.wc-block-components-product-price ins { text-decoration: none; }
.ce-products .wc-block-product .wp-block-button, .ce-products .wc-block-components-product-button { margin-top: auto !important; margin-bottom: var(--space-4) !important; justify-content: flex-start !important; }
.ce-products .wc-block-components-product-button { align-items: stretch !important; width: auto; }
.ce-products .wc-block-components-product-button__button { width: 100%; }
.ce-products .wc-block-components-product-rating { margin-top: 0; }
.wc-block-components-product-sale-badge, .onsale { background: var(--accent) !important; color: var(--edge-black) !important; border: var(--stroke-solid) solid var(--edge-black) !important; border-radius: 0 !important; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.wc-block-components-product-rating__stars, .star-rating { color: var(--ink); }
.wc-block-components-product-rating__stars span::before, .star-rating span::before { color: #c9a400; }

/* Woo buttons → design system buttons */
.wc-block-components-button:not(.is-link), .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .wc-block-components-product-button__button, .single_add_to_cart_button {
	background: var(--primary) !important; color: var(--on-primary) !important; border: var(--stroke-solid) solid var(--primary) !important; border-radius: 2px !important;
	font-family: var(--font-display) !important; font-weight: 700 !important; font-size: 16px !important; letter-spacing: .06em; text-transform: uppercase; min-height: 48px; padding: 0 24px !important; box-shadow: none;
}
.wc-block-components-button:not(.is-link):hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .wc-block-components-product-button__button:hover { background: var(--primary-hover) !important; border-color: var(--primary-hover) !important; }
.single_add_to_cart_button, .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, .wc-block-mini-cart__footer-checkout {
	background: var(--accent) !important; color: var(--edge-black) !important; border-color: var(--edge-black) !important; box-shadow: var(--shadow-hard-sm) !important; min-height: 52px;
}
.single_add_to_cart_button:hover, .wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover { background: var(--accent-hover) !important; }

/* Shop archive */
.ce-shop-head { border-bottom: var(--stroke-heavy) solid var(--ink); padding-bottom: var(--space-4) !important; }
.ce-shop-head .wp-block-query-title { font-size: var(--wp--preset--font-size--xx-large); font-weight: 800; margin: 0; }
.woocommerce-result-count, .wc-block-product-results-count { color: var(--ink-muted); font-size: 14px; }
.wc-block-catalog-sorting select, .woocommerce-ordering select { min-height: 44px; }

/* Single product */
.ce-product-main .wp-block-post-title { font-size: var(--wp--preset--font-size--xx-large); line-height: 1; margin: 0; }
.ce-product-main .woocommerce-product-gallery, .ce-product-main .wc-block-product-gallery-large-image, .ce-product-main .wp-block-woocommerce-product-image-gallery img { border: var(--stroke-solid) solid var(--edge-black); box-shadow: var(--shadow-hard); background: var(--gunmetal-850); }
.ce-buybox { background: var(--surface-raised); border: var(--stroke-solid) solid var(--border-strong); padding: var(--space-5) !important; }
.ce-buybox .quantity input { min-height: 52px; width: 72px; text-align: center; }
.ce-buybox form.cart { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: stretch; margin: 0; }
.ce-buybox form.cart .single_add_to_cart_button { flex: 1; }
.ce-buybox .variations { width: 100%; margin-bottom: var(--space-3); }
.ce-buybox .variations th, .ce-buybox .variations td { display: block; padding: 0 0 6px; text-align: left; }
.ce-buybox .variations label { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.ce-buybox .variations select { width: 100%; min-height: 48px; }
.ce-buybox .woocommerce-variation-price .price { font-family: var(--font-display); font-weight: 800; font-size: 28px; }
.ce-trust { font-size: 14px; color: var(--ink-muted); }
.ce-trust li { margin-bottom: 4px; }
.wp-block-woocommerce-product-details .wc-tabs, .woocommerce-tabs ul.tabs { display: flex; gap: 0; padding: 0 !important; margin: 0 0 var(--space-5) !important; border-bottom: var(--stroke-heavy) solid var(--ink); list-style: none; overflow-x: auto; }
.wp-block-woocommerce-product-details .wc-tabs li, .woocommerce-tabs ul.tabs li { margin: 0 !important; border: 0 !important; background: none !important; border-radius: 0 !important; padding: 0 !important; }
.wp-block-woocommerce-product-details .wc-tabs li::before, .wp-block-woocommerce-product-details .wc-tabs li::after, .woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after, .woocommerce-tabs ul.tabs::before { display: none !important; }
.wp-block-woocommerce-product-details .wc-tabs li a, .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 20px !important; font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted) !important; text-decoration: none; white-space: nowrap; }
.wp-block-woocommerce-product-details .wc-tabs li.active a, .woocommerce-tabs ul.tabs li.active a { background: var(--primary); color: var(--on-primary) !important; }
.woocommerce-Tabs-panel { font-size: 18px; line-height: 30px; }
.woocommerce-Tabs-panel > h2:first-child { display: none; }
#reviews .comment-text { border: var(--stroke-solid) solid var(--rule) !important; border-radius: 0 !important; }
.ce-related h2 { font-weight: 800; }

/* Cart & checkout blocks */
.wc-block-cart, .wc-block-checkout { --wc-block-border: var(--border-strong); }
.wc-block-components-sidebar-layout .wc-block-components-sidebar .wc-block-components-panel, .wc-block-components-totals-wrapper { border-color: var(--rule) !important; }
.wc-block-cart .wc-block-cart__sidebar, .wc-block-checkout__sidebar { background: var(--surface-raised); border: var(--stroke-solid) solid var(--border-strong); padding: var(--space-5) !important; }
.wc-block-components-title.wc-block-components-title, .wc-block-cart__totals-title { font-family: var(--font-display) !important; font-weight: 800 !important; text-transform: uppercase; letter-spacing: .04em; }
.wc-block-components-checkout-step__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 22px !important; }
.wc-block-components-checkout-step__container .wc-block-components-checkout-step__heading { border-bottom: var(--stroke-solid) solid var(--ink); padding-bottom: var(--space-2); }
.wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control input, .wc-blocks-components-select__select, .wc-block-components-textarea { border: var(--stroke-solid) solid var(--border-strong) !important; border-radius: 0 !important; background: var(--surface-raised) !important; }
.wc-block-components-text-input.is-active input, .wc-block-components-text-input input:focus { border-color: var(--ink) !important; box-shadow: 0 0 0 2px var(--accent) !important; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-radius: 0 !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted, .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--ink) !important; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value, .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.wc-block-components-product-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink) !important; text-decoration: none; }
.wc-block-components-order-summary-item__quantity { background: var(--accent) !important; color: var(--edge-black) !important; border: 2px solid var(--edge-black) !important; border-radius: 0 !important; box-shadow: none !important; }
.wc-block-components-notice-banner { border-radius: 0 !important; border-width: 2px !important; }
.wc-block-components-notice-banner.is-info { border-color: var(--ink) !important; background: var(--surface-sunken) !important; }
.wc-block-components-notice-banner.is-success { border-color: var(--edge-green) !important; background: var(--tip-bg) !important; }
.wc-block-components-notice-banner.is-error { border-color: var(--safety-orange) !important; background: var(--caution-bg) !important; }
.wc-block-mini-cart__drawer .components-modal__content { background: var(--surface); }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-top-color: var(--edge-green); border-radius: 0; background: var(--surface-sunken); }
.woocommerce-error { border-top-color: var(--safety-orange); }

/* My Account */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; border: var(--stroke-solid) solid var(--border-strong); background: var(--surface-raised); }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; border-top: var(--stroke-hair) solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 700; }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--primary); color: var(--on-primary); }
.woocommerce table.shop_table { border: var(--stroke-solid) solid var(--border-strong); border-radius: 0; border-collapse: collapse; }

/* Footer link lists */
.ce-footer__list { list-style: none; padding: 0 !important; margin: 0; }
.ce-footer__list li { margin: 0; }

/* Fixes from the test pass */
.wp-site-blocks > header.wp-block-template-part, .wp-site-blocks > footer.wp-block-template-part, .wp-site-blocks > main { margin-block-start: 0; }
.ce-ahead { max-width: var(--wp--style--global--wide-size, 1200px) !important; }
.ce-ahead > * { max-width: 820px; }
.ce-sidebox.ce-chrome { background: var(--surface-chrome); }
.ce-sidebox.ce-chrome h3 { color: var(--gunmetal-50); }
.ce-prose ul.is-style-ce-checks > li::marker, .is-style-ce-checks li::marker { content: none; }
.woocommerce .ce-buybox button.single_add_to_cart_button, .ce-buybox .single_add_to_cart_button { background: var(--accent) !important; color: var(--edge-black) !important; border-color: var(--edge-black) !important; box-shadow: var(--shadow-hard-sm) !important; }
.woocommerce .ce-buybox button.single_add_to_cart_button:hover { background: var(--accent-hover) !important; }
.ce-callout .wp-block-table { margin-bottom: 0 !important; }
.wp-block-group.ce-callout > .wp-block-table:last-child { margin-bottom: 0 !important; }
.ce-header .ce-kicker { color: var(--edge-green); margin: 0; }
.wc-block-components-button.wc-block-components-checkout-place-order-button, .wc-block-components-button.wc-block-cart__submit-button, .wc-block-components-button.wc-block-mini-cart__footer-checkout { background: var(--accent) !important; color: var(--edge-black) !important; border-color: var(--edge-black) !important; box-shadow: var(--shadow-hard-sm) !important; }

/* Lazy images never show as black boxes: light placeholder until they load. */
.ce-card-post .wp-block-post-featured-image, .ce-products .wc-block-product > .wc-block-components-product-image, .ce-short__media { background-color: var(--surface-sunken); }
.ce-video-card .wp-block-post-featured-image { background-color: var(--gunmetal-850); }

/* /best-catfish-bait/ summary table (and any wide table in posts) */
.ce-prose .catfish-bait-summary, .catfish-bait-summary { width: 100%; border-collapse: collapse; background: var(--surface-raised); border: var(--stroke-solid) solid var(--border-strong); font-size: 16px; line-height: 1.5; margin: var(--space-6) 0; }
.catfish-bait-summary th, .catfish-bait-summary td { padding: var(--space-3) var(--space-4); border-top: var(--stroke-hair) solid var(--rule); text-align: left; vertical-align: top; }
.catfish-bait-summary thead th { background: var(--surface-chrome); color: var(--gunmetal-50); font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; border-top: 0; }
.catfish-bait-summary tbody th { font-family: var(--font-display); font-weight: 700; font-size: 17px; white-space: nowrap; background: var(--surface-sunken); }
.catfish-bait-summary tbody tr:nth-child(even) td { background: rgba(23,25,27,.03); }
@media (max-width: 781px) {
	.catfish-bait-summary { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
	.catfish-bait-summary th, .catfish-bait-summary td { min-width: 160px; }
	.catfish-bait-summary tbody th { min-width: 120px; }
}
.ce-prose table:not(.catfish-bait-summary) { max-width: 100%; }
@media (max-width: 781px) { .ce-prose > table, .ce-prose .wp-block-table { display: block; overflow-x: auto; } }

/* Phone fixes (390px) */
.ce-header__book .wp-block-button__link { white-space: nowrap; }
@media (max-width: 480px) {
	.ce-header .wp-block-site-logo img { max-height: 36px; }
	.ce-header__inner { gap: var(--space-2) !important; }
	.ce-header__actions { gap: var(--space-2) !important; }
	.ce-header__book .wp-block-button__link { padding: 6px 10px !important; font-size: 13px; min-height: 36px; }
	.ce-products .wc-block-product .wp-block-post-title { font-size: 18px !important; line-height: 22px !important; }
	.ce-products .wc-block-components-product-price { font-size: 22px !important; }
	.ce-products .wc-block-components-product-button__button { font-size: 13px !important; padding: 0 8px !important; min-height: 42px; white-space: nowrap; }
	.ce-products .wc-block-product > * { margin-left: var(--space-3) !important; margin-right: var(--space-3) !important; }
}
@media (max-width: 781px) {
	.ce-product-main { gap: var(--space-5) !important; }
}

/* ==========================================================================
   1.1 design pass: rounded cards, section rhythm, motion.
   ========================================================================== */
:root {
	--ce-radius: 12px;
	--ce-radius-sm: 8px;
	--ce-shadow: 0 1px 2px rgba(11, 12, 13, .06), 0 8px 24px rgba(11, 12, 13, .08);
	--ce-shadow-hover: 0 2px 4px rgba(11, 12, 13, .08), 0 18px 40px rgba(11, 12, 13, .16);
	--ce-ease: cubic-bezier(.2, .7, .2, 1);
	--ink-body: #222426;
	--gold: #e0a800;
	--cat-rigs: #8dc63e; --cat-bait: #ff8a3d; --cat-tech: #f8e500; --cat-gear: #9fd3ff; --cat-boats: #5fd1c4; --cat-tips: #d3d6d8; --cat-news: #c9b6ff;
}

/* ---------- Links stand out ---------- */
.ce-prose a:where(:not(.wp-element-button)), .ce-page-prose a:where(:not(.wp-element-button)) {
	color: var(--ink); text-decoration: underline; text-decoration-color: var(--edge-green); text-decoration-thickness: 3px; text-underline-offset: 4px; font-weight: 500;
	transition: background-color .15s ease, text-decoration-color .15s ease;
}
.ce-prose a:where(:not(.wp-element-button)):hover { background: var(--accent); text-decoration-color: var(--edge-black); color: var(--edge-black); }
.ce-chrome a:where(:not(.wp-element-button)):hover { color: var(--edge-yellow); }

/* ---------- Header: sticky, shrinks on scroll, hamburger under 1100px ---------- */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 100; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }
.ce-header__inner { transition: min-height .25s var(--ce-ease); }
.ce-header .wp-block-site-logo img { max-height: 64px; transition: max-height .25s var(--ce-ease); }
.ce-scrolled .ce-header__inner { min-height: 64px; }
.ce-scrolled .ce-header .wp-block-site-logo img { max-height: 44px; }
.ce-scrolled .ce-header { box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.ce-header .wp-block-navigation-item__content { position: relative; padding: 6px 0; }
.ce-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--edge-yellow); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ce-ease);
}
.ce-header .wp-block-navigation-item:hover > .wp-block-navigation-item__content::after { transform: scaleX(1); }
@media (max-width: 1099px) {
	.ce-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none !important; }
	.ce-header .wp-block-navigation__responsive-container-open { display: inline-flex !important; }
	.ce-header .wp-block-navigation { order: 3; margin-left: 0; }
	.ce-header__actions { margin-left: auto; }
}
.ce-header .wp-block-navigation__responsive-container.is-menu-open { padding-top: 88px; }
.ce-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 28px; padding: 6px 0; }
@media (max-width: 480px) {
	.ce-header .wp-block-site-logo img { max-height: 40px; }
	.ce-scrolled .ce-header .wp-block-site-logo img { max-height: 34px; }
	.ce-header .wc-block-customer-account { display: none; }
}

/* ---------- Bands (section rhythm) ---------- */
.ce-band-white { background: #fff; }
.ce-band-steel { background: var(--surface); }
.ce-band-lime { background: var(--tip-bg); }
.ce-band-dark { background: var(--gunmetal-950); }
.ce-angle { clip-path: polygon(0 48px, 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--wp--preset--spacing--80) + 40px) !important; margin-top: -40px !important; position: relative; z-index: 1; }
.ce-band-dark.ce-chrome .ce-section-head { border-bottom-color: var(--gunmetal-700); }
.ce-band-dark.ce-chrome .ce-section-head a { color: var(--edge-yellow); }
.ce-band-dark .ce-card-post { background: var(--gunmetal-850); border-color: var(--gunmetal-700); }
.ce-band-dark .ce-card-post .wp-block-post-title a { color: var(--gunmetal-50); }
.ce-band-dark .ce-short { color: var(--gunmetal-50); }
.ce-band-dark .ce-short__meta { color: var(--gunmetal-300); }
.ce-band-dark .ce-short__media { border-color: var(--gunmetal-700); }
.ce-front > * { margin-block-start: 0 !important; }
.ce-section-head a { color: var(--ink); text-decoration: none; }
.ce-section-head a:hover { background: var(--accent); }

/* ---------- Hero: photo bleeds off the right edge, angled, slow zoom ---------- */
.ce-hero { position: relative; overflow: hidden; background: var(--gunmetal-950); min-height: clamp(560px, 72vh, 760px); display: flex; align-items: center; }
.ce-hero .ce-hero__photo { position: absolute !important; top: 0; right: 0; bottom: 0; width: 58%; margin: 0 !important; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.ce-hero .ce-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: ce-kenburns 24s ease-in-out infinite alternate; border: 0 !important; }
.ce-hero .ce-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,12,13,.85) 0%, rgba(11,12,13,.25) 30%, rgba(11,12,13,0) 55%); pointer-events: none; }
@keyframes ce-kenburns { from { transform: scale(1); } to { transform: scale(1.08) translate(-1%, 1%); } }
.ce-hero__inner { position: relative; z-index: 2; width: 100%; padding-top: var(--wp--preset--spacing--80) !important; padding-bottom: var(--wp--preset--spacing--80) !important; }
.ce-hero__inner > .ce-hero__copy { max-width: 560px; margin-left: max(0px, calc((100% - 1200px) / 2)) !important; margin-right: auto !important; }
.ce-hero__eyebrow { color: var(--edge-green) !important; font-size: 15px !important; }
@media (max-width: 900px) {
	.ce-hero { display: block; min-height: 0; }
	.ce-hero .ce-hero__photo { position: relative !important; width: 100%; aspect-ratio: 16 / 9; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
	.ce-hero .ce-hero__photo::after { background: linear-gradient(0deg, rgba(11,12,13,.6) 0%, rgba(11,12,13,0) 40%); }
	.ce-hero__inner { padding-top: var(--wp--preset--spacing--50) !important; padding-bottom: var(--wp--preset--spacing--70) !important; }
}
@media (prefers-reduced-motion: reduce) { .ce-hero .ce-hero__photo img { animation: none; } }

/* ---------- Trust strip ---------- */
.ce-trust-band { background: var(--gunmetal-850); border-top: 1px solid var(--gunmetal-700); border-bottom: 1px solid var(--gunmetal-700); }
.ce-trust { display: flex !important; flex-wrap: wrap; justify-content: space-between; gap: 20px 48px !important; align-items: center; box-sizing: border-box; max-width: calc(1200px + 2 * var(--wp--style--root--padding-left, 16px)) !important; margin: 0 auto !important; padding: 32px var(--wp--style--root--padding-left, 16px) !important; }
.ce-trust__reviews:empty, .ce-trust__reviews:not(:has(*)) { display: none; }
.ce-trust > * { margin: 0 !important; }
.ce-trust__nums { display: flex !important; flex-wrap: wrap; gap: 24px 40px; }
.ce-trust__item > * { margin: 0 !important; }
.ce-trust__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5vw, 60px); line-height: .95; color: var(--edge-yellow) !important; }
.ce-trust__label { font-size: 14px; color: var(--gunmetal-300) !important; margin-top: 6px !important; }
.ce-trust__reviews, .ce-trust__reviews p { color: var(--gunmetal-100); font-size: 16px; margin: 0; }
.ce-stars { color: var(--gold); letter-spacing: 2px; font-size: 18px; }
.ce-trust__seen { gap: 12px 20px !important; align-items: center; }
.ce-trust__seen-label { font-family: var(--font-mono); font-size: 13px !important; color: var(--gunmetal-300) !important; margin: 0 !important; text-transform: uppercase; letter-spacing: .08em; }
.ce-trust__press { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 !important; }
.ce-trust__press span { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; color: var(--gunmetal-100); opacity: .85; }
.ce-chrome .ce-trust__press span { color: var(--gunmetal-100); }
@media (max-width: 900px) {
	.ce-trust { flex-direction: column; align-items: flex-start; }
	.ce-trust__nums { gap: 16px 24px; justify-content: space-between; width: 100%; flex-wrap: nowrap; }
	.ce-trust__num { font-size: 34px !important; }
	.ce-trust__label { font-size: 12px; }
	.ce-trust__num { font-size: 40px; }
}

/* ---------- Category photo tiles ---------- */
.ce-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .ce-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ce-tiles { gap: 12px; } }
.ce-tile { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--ce-radius); overflow: hidden; background: var(--gunmetal-850); color: #fff; text-decoration: none; box-shadow: var(--ce-shadow); border: 3px solid transparent; transition: transform .25s var(--ce-ease), box-shadow .25s var(--ce-ease), border-color .2s ease; }
.ce-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .6s var(--ce-ease); }
.ce-tile__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,13,.25) 0%, rgba(11,12,13,.88) 75%); }
.ce-tile__body { position: absolute; left: 20px; right: 56px; bottom: 18px; display: flex; flex-direction: column; gap: 2px; }
.ce-tile__count { font-family: var(--font-mono); font-size: 12px; color: var(--edge-green); }
.ce-tile__label { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); line-height: 1; text-transform: uppercase; }
.ce-tile__desc { font-size: 14px; color: var(--gunmetal-200); }
.ce-tile__arrow { position: absolute; right: 16px; bottom: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--edge-black); display: grid; place-items: center; font-weight: 800; transform: translateX(-6px); opacity: .9; transition: transform .25s var(--ce-ease); }
.ce-tile:hover { transform: translateY(-4px); box-shadow: var(--ce-shadow-hover); border-color: var(--edge-yellow); }
.ce-tile:hover img { transform: scale(1.06); }
.ce-tile:hover .ce-tile__arrow { transform: translateX(0); }
.ce-tile:focus-visible { outline: 3px solid var(--edge-yellow); outline-offset: 3px; }
@media (max-width: 480px) { .ce-tile__label { font-size: 24px; } .ce-tile__desc { display: none; } .ce-tile__body { left: 12px; bottom: 12px; } .ce-tile__arrow { width: 28px; height: 28px; right: 10px; bottom: 12px; } }

/* ---------- One card system ---------- */
.ce-card-post, .ce-products .wc-block-product, .is-style-ce-card, .ce-sidebox {
	border-radius: var(--ce-radius) !important; border: 1px solid var(--rule) !important; box-shadow: var(--ce-shadow); overflow: hidden;
}
.ce-card-post, .ce-products .wc-block-product { transition: transform .25s var(--ce-ease), box-shadow .25s var(--ce-ease); background: #fff; }
.ce-card-post:hover, .ce-products .wc-block-product:hover { transform: translateY(-4px); box-shadow: var(--ce-shadow-hover); border-color: var(--rule) !important; }
.ce-card-post .wp-block-post-featured-image { border-bottom: 0 !important; aspect-ratio: 16 / 9 !important; }
.ce-thumb { position: relative; overflow: hidden; background: var(--gunmetal-850); }
.ce-thumb::before { content: ""; position: absolute; inset: -24px; background: var(--ce-bg, none) center / cover no-repeat; filter: blur(18px) brightness(.55); transform: scale(1.1); }
.ce-thumb a, .ce-thumb img { position: relative; display: block; width: 100%; height: 100% !important; }
.ce-thumb img { object-fit: contain !important; transition: transform .6s var(--ce-ease); }
.ce-card-post:hover .ce-thumb img { transform: scale(1.05); }
.ce-thumb--empty { display: grid; place-items: center; background: linear-gradient(135deg, var(--gunmetal-900), var(--gunmetal-700)); }
.ce-thumb--empty img.ce-thumb__logo { width: 46% !important; height: auto !important; opacity: .9; object-fit: contain !important; margin: auto; }
.ce-thumb--empty a { display: grid; place-items: center; }
.ce-card-post .ce-card-post__body { padding: 18px 20px 20px; gap: 10px; }
.ce-card-post .wp-block-post-title { font-size: 20px !important; line-height: 1.25 !important; }
.ce-card-post .wp-block-post-excerpt { font-size: 15px; line-height: 1.55; color: #55595e; }
.ce-card-post__meta { gap: 6px 10px !important; font-size: 13px; color: var(--ink-muted); margin-top: auto !important; }
.ce-card-post__meta > * { margin: 0 !important; font-size: 13px !important; }
.ce-card-post__meta > * + *::before { content: "·"; margin-right: 10px; color: var(--border-strong); }
.ce-more { margin: 0 !important; font-weight: 700; font-size: 14px; color: var(--link); letter-spacing: .02em; }
.ce-band-dark .ce-more { color: var(--edge-yellow); }
.ce-card-post:hover .ce-more { color: var(--ink); }
.ce-band-dark .ce-card-post:hover .ce-more { color: #fff; }
.ce-card-post__cat a, .is-style-ce-tags a { border-radius: 999px !important; height: 26px; padding: 0 12px !important; border: 0 !important; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
/* Feature card matches the rest (no hard shadow). */
.ce-feature .ce-card-post { box-shadow: var(--ce-shadow); }
.ce-feature .ce-card-post .wp-block-post-featured-image { aspect-ratio: auto !important; }
@media (max-width: 781px) { .ce-feature .ce-card-post .wp-block-post-featured-image { aspect-ratio: 16 / 9 !important; } }
/* Lone card on a grid's last row spans the row instead of sitting by itself. */
@media (min-width: 782px) {
	.ce-cards .wp-block-post-template.columns-3 > li:last-child:nth-child(3n + 1):not(:first-child) { grid-column: 1 / -1; }
	.ce-cards .wp-block-post-template.columns-3 > li:last-child:nth-child(3n + 1):not(:first-child) .ce-card-post { flex-direction: row; }
	.ce-cards .wp-block-post-template.columns-3 > li:last-child:nth-child(3n + 1):not(:first-child) .wp-block-post-featured-image { flex: 0 0 48%; aspect-ratio: auto !important; min-height: 280px; }
}

/* Category colors (pills, tiles, filters). */
[data-cat="catfish-rigs"] { --cat: var(--cat-rigs); }
[data-cat="catfish-bait"] { --cat: var(--cat-bait); }
[data-cat="techiques"] { --cat: var(--cat-tech); }
[data-cat="catfish-tackle"] { --cat: var(--cat-gear); }
[data-cat="catfish-boats"] { --cat: var(--cat-boats); }
[data-cat="catfishingtips"] { --cat: var(--cat-tips); }
[data-cat="news"], [data-cat="catfish-edge-podcast"], [data-cat="uncategorized"] { --cat: var(--cat-news); }
.ce-card-post__cat a[data-cat], .is-style-ce-tags a[data-cat] { background: var(--cat, var(--edge-green)) !important; color: #0b0c0d !important; }
.ce-tile[data-cat] .ce-tile__count { color: var(--cat); }

/* Category filter pills (blog hub). */
.ce-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.ce-filter a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--rule); box-shadow: var(--ce-shadow); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; transition: transform .2s var(--ce-ease), border-color .2s ease; }
.ce-filter a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cat, var(--edge-green)); }
.ce-filter a:hover { transform: translateY(-2px); border-color: var(--ink); }

/* ---------- Pagination ---------- */
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { border-radius: var(--ce-radius-sm); border: 1px solid var(--rule) !important; box-shadow: var(--ce-shadow); transition: transform .15s ease, background-color .15s ease; }
.wp-block-query-pagination a:hover { transform: translateY(-2px); background: var(--accent); }
.wp-block-query-pagination .page-numbers.current { background: var(--edge-black); color: var(--edge-yellow); }

/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link { border-radius: 6px !important; transition: transform .15s var(--ce-ease), background-color .15s ease, box-shadow .15s ease; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button.is-style-accent .wp-block-button__link { box-shadow: 0 4px 14px rgba(248, 229, 0, .25); }

/* ---------- Rig band ---------- */
.ce-band-lime .ce-pill--dark { border-radius: 999px; }
.ce-band-lime .wp-block-table.is-style-ce-spec table { background: #fff; border-radius: var(--ce-radius-sm); overflow: hidden; border: 1px solid var(--rule); }
.ce-rigdiagram { margin: 0; background: #fff; border-radius: var(--ce-radius); box-shadow: var(--ce-shadow); padding: 20px; }
.ce-rigdiagram svg { width: 100%; height: auto; display: block; }

/* ---------- Guide band photo ---------- */
.ce-band .ce-band__photo img, .ce-band img { border-radius: var(--ce-radius); border: 0 !important; box-shadow: 0 20px 50px rgba(0,0,0,.45); aspect-ratio: 16 / 9; object-fit: cover; }
.ce-bookband h2 { color: var(--gunmetal-50); margin: 0; }
.ce-right { justify-content: flex-end; }
@media (max-width: 781px) { .ce-right { justify-content: flex-start; } }

/* ---------- Videos ---------- */
.ce-video-card .wp-block-post-featured-image::after { border-radius: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; transition: transform .25s var(--ce-ease); z-index: 2; }
.ce-video-card:hover .wp-block-post-featured-image::after { transform: scale(1.15); }
.ce-short__media { border-radius: var(--ce-radius); border-width: 1px !important; }
.ce-short:hover .ce-short__media { transform: translateY(-4px); box-shadow: var(--ce-shadow-hover); }
.ce-short__media { transition: transform .25s var(--ce-ease), box-shadow .25s var(--ce-ease); }
.ce-short__media img { transition: transform .6s var(--ce-ease); }
.ce-short:hover .ce-short__media img { transform: scale(1.06); }
.ce-short__badge { border-radius: 999px; }

/* ---------- Article typography ---------- */
.ce-prose { font-size: 18px; line-height: 1.7; color: var(--ink-body); }
.ce-prose :where(h2) { margin-top: var(--space-7); margin-bottom: var(--space-3); padding-bottom: 10px; border-bottom: 4px solid var(--edge-green); font-size: clamp(28px, 3vw, 36px); line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; font-weight: 800; }
.ce-prose :where(h3) { margin-top: var(--space-6); font-size: clamp(22px, 2.2vw, 26px); line-height: 1.2; font-weight: 700; }
.ce-prose :where(.ce-callout, .ce-author-box, .wp-block-table, details) :where(h2, h3) { border: 0; padding: 0; margin-top: 0; text-transform: none; font-size: inherit; }
.ce-ahead .wp-block-post-title { font-size: clamp(36px, 5vw, 60px); }
.ce-byline { align-items: center; }
.ce-byline__avatar img { border-radius: 50%; width: 40px; height: 40px; border: 2px solid var(--edge-green); display: block; }
.ce-byline > .ce-byline__avatar + *::before { content: none; }
.ce-byline > .ce-byline__avatar { margin-right: -4px !important; }
.ce-prose img { border-radius: var(--ce-radius-sm); }
.ce-prose :where(img.alignleft, img.alignright, .alignleft, .alignright) { float: none !important; display: block; margin: var(--space-5) auto !important; max-width: 100%; height: auto; }
.ce-prose figure.wp-caption, .ce-prose .wp-caption { max-width: 100% !important; margin: var(--space-6) auto; text-align: center; }
.ce-prose .wp-caption-text, .ce-prose figcaption { font-size: 14px; color: var(--ink-muted); text-align: center; margin-top: 8px; }
/* Pull quotes and blockquotes: yellow bar. */
.ce-prose blockquote, .wp-block-pullquote, .wp-block-quote { border: 0 !important; border-left: 6px solid var(--accent) !important; background: #fff; border-radius: 0 var(--ce-radius) var(--ce-radius) 0; padding: 20px 24px !important; box-shadow: var(--ce-shadow); text-align: left; }
.wp-block-pullquote blockquote p, .ce-prose blockquote p { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; text-transform: none; margin: 0; }
.wp-block-pullquote cite, .ce-prose blockquote cite { display: block; margin-top: 10px; font-family: var(--font-body); font-size: 14px; color: var(--ink-muted); }
/* Pro tip: yellow bar. */
.wp-block-group.ce-callout { border-radius: var(--ce-radius) !important; overflow: hidden; box-shadow: var(--ce-shadow); }
.wp-block-group.ce-callout--tip { border-left: 8px solid var(--accent) !important; }
/* Numbered lists. */
.ce-prose ol:not([class*="ce-"]):not(.wp-block-list.ce-chapters) { list-style: none; counter-reset: ce-ol; padding-left: 0 !important; }
.ce-prose ol:not([class*="ce-"]) > li { counter-increment: ce-ol; position: relative; padding-left: 48px; margin-bottom: 14px; }
.ce-prose ol:not([class*="ce-"]) > li::before { content: counter(ce-ol); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: var(--edge-black); font-family: var(--font-display); font-weight: 800; font-size: 18px; display: grid; place-items: center; }
.ce-prose ol:not([class*="ce-"]) > li::marker { content: none; }

/* Table of contents */
.ce-toc { background: #fff; border: 1px solid var(--rule); border-radius: var(--ce-radius); box-shadow: var(--ce-shadow); padding: 20px 22px; }
.ce-toc__title { margin: 0 0 10px; font-family: var(--font-display); font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; }
.ce-toc ol { margin: 0; padding-left: 0; list-style: none; counter-reset: toc; max-height: 50vh; overflow: auto; }
.ce-toc li { counter-increment: toc; display: flex; gap: 10px; padding: 6px 0; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.35; }
.ce-toc li:first-child { border-top: 0; }
.ce-toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--link); padding-top: 2px; }
.ce-toc a { color: var(--ink); text-decoration: none; }
.ce-toc a:hover { background: var(--accent); }
.ce-prose h2[id] { scroll-margin-top: 110px; }

/* Sidebar shop box */
.ce-sidebox { background: #fff; }
.ce-sidebox.ce-chrome { background: var(--surface-chrome); border-color: var(--gunmetal-700) !important; }
.ce-products--mini .wc-block-product { box-shadow: none; border: 1px solid var(--rule) !important; }
.ce-products--mini .wc-block-product:hover { transform: none; }
.ce-products--mini .wc-block-product-template { grid-template-columns: 1fr !important; }
.ce-products--mini .wc-block-product { display: grid !important; grid-template-columns: 88px 1fr; grid-template-rows: auto auto auto; column-gap: 12px; align-items: start; padding: 10px; }
.ce-products--mini .wc-block-product > * { margin: 0 !important; }
.ce-products--mini .wc-block-product > .wc-block-components-product-image { grid-row: 1 / span 3; border: 0; border-radius: var(--ce-radius-sm); overflow: hidden; margin: 0 !important; }
.ce-products--mini .wc-block-product .wp-block-post-title { font-size: 16px !important; line-height: 1.25 !important; }
.ce-products--mini .wc-block-components-product-rating, .ce-products--mini .wc-block-components-product-button { display: none !important; }
.ce-products--mini .wc-block-components-product-price { font-size: 18px !important; }
.ce-sidebox--shop:not(:has(.wc-block-product)) { display: none; }

/* ---------- Blog hub ---------- */
.ce-blog-intro { border-radius: var(--ce-radius); border: 1px solid var(--rule) !important; box-shadow: var(--ce-shadow); background: #fff; }
.ce-blog-intro img { display: none; }
.ce-blog-intro .ce-prose { padding: 0 20px 20px !important; max-width: none; }

/* ---------- Pages: text lines up with the title ---------- */
.ce-page .ce-page-head, .ce-page .ce-page-prose, .ce-page .ce-page-featured { max-width: 760px !important; margin-left: 0 !important; margin-right: auto !important; }
.ce-page > .ce-page-head, .ce-page > .ce-page-prose, .ce-page > .ce-page-featured { margin-left: max(0px, calc((100% - 1200px) / 2)) !important; }
.ce-page-prose > * { margin-left: 0 !important; }
.ce-page .wp-block-columns .ce-page-prose { margin-left: 0 !important; }

/* ---------- Contact ---------- */
.ce-formcard { background: #fff; border: 1px solid var(--rule); border-radius: var(--ce-radius); box-shadow: var(--ce-shadow); padding: 24px !important; }
.ce-iconlist { list-style: none; padding: 0 !important; margin: 0; }
.ce-iconlist li { position: relative; padding: 10px 0 10px 40px; border-top: 1px solid var(--rule); line-height: 1.45; }
.ce-iconlist li:first-child { border-top: 0; }
.ce-iconlist li::before { position: absolute; left: 0; top: 9px; width: 28px; height: 28px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; font-size: 15px; }
.ce-i-pin::before { content: "📍"; } .ce-i-phone::before { content: "📞"; } .ce-i-help::before { content: "🛟"; } .ce-i-boat::before { content: "🚤"; }
.ce-map { border-radius: var(--ce-radius-sm); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--rule); }
.ce-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.ce-muted { color: var(--ink-muted); }

/* ---------- About ---------- */
.ce-about__title { font-size: clamp(40px, 5vw, 64px) !important; color: var(--gunmetal-50); }
.ce-about__photo img { border-radius: var(--ce-radius); box-shadow: 0 20px 50px rgba(0,0,0,.45); border: 0 !important; }
.ce-band-dark .ce-trust__nums { margin-top: var(--space-6) !important; padding-top: var(--space-5); border-top: 1px solid var(--gunmetal-700); }

/* ---------- Category banner ---------- */
.ce-cat-hero { background: radial-gradient(1200px 300px at 80% 0%, rgba(141,198,62,.18), transparent 60%), var(--gunmetal-950); }
.ce-cat-banner .wp-block-query-title { color: var(--gunmetal-50); font-size: clamp(44px, 6vw, 76px); font-weight: 800; margin: 0; }
.ce-cat-banner .wp-block-term-description { color: var(--gunmetal-300); font-size: 19px; max-width: 720px; }
.ce-cat-banner .wp-block-term-description p { margin: 0; color: var(--gunmetal-300) !important; }
.ce-count { display: inline-flex; padding: 6px 14px; border-radius: 999px; background: var(--accent); color: var(--edge-black); font-weight: 700; font-size: 14px; }
.category .ce-card-post .wp-block-post-title { font-size: 22px !important; }

/* ---------- Badges ---------- */
.ce-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.ce-badges span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--rule); font-size: 14px; font-weight: 700; color: var(--ink); }
.ce-chrome .ce-badges span { background: rgba(255,255,255,.06); border-color: var(--gunmetal-700); color: var(--gunmetal-100); }

/* ---------- Shop + product ---------- */
.ce-shop-banner .wp-block-query-title { color: var(--gunmetal-50); font-size: clamp(44px, 6vw, 72px); font-weight: 800; margin: 0; }
.ce-products .wc-block-product-template > li, .ce-products .wc-block-product { height: 100%; }
.ce-products .wc-block-product { display: flex !important; flex-direction: column; }
.ce-products .wc-block-components-product-image { position: relative; aspect-ratio: 1 / 1; border-bottom: 0 !important; overflow: hidden; }
.ce-products .wc-block-components-product-image img { transition: transform .6s var(--ce-ease); }
.ce-products .wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.05); }
.ce-products .wc-block-components-product-price, .ce-bigprice .wc-block-components-product-price, .ce-bigprice {
	display: inline-block; width: auto !important; align-self: flex-start; background: var(--accent); color: var(--edge-black) !important; padding: 2px 12px; border-radius: 8px; font-family: var(--font-display); font-weight: 800;
}
.ce-bigprice, .ce-bigprice .wc-block-components-product-price { font-size: 40px !important; padding: 4px 16px; }
.wc-block-components-product-rating__stars span::before, .star-rating span::before, .wc-block-components-product-rating__stars::before { color: var(--gold) !important; }
.ce-products .wc-block-components-product-button__button, .ce-products .wp-block-button__link {
	background: var(--accent) !important; color: var(--edge-black) !important; border: 0 !important; border-radius: 8px !important; box-shadow: 0 4px 14px rgba(248,229,0,.25) !important;
}
.ce-products .wc-block-components-product-button__button:hover { background: var(--accent-hover) !important; transform: translateY(-1px); }
.ce-ribbon { position: absolute; z-index: 3; top: 14px; left: -36px; transform: rotate(-45deg); width: 150px; text-align: center; padding: 6px 0; background: var(--safety-orange); color: #0b0c0d; font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 4px 10px rgba(0,0,0,.25); }
.ce-product-main .woocommerce-product-gallery, .ce-product-main .wp-block-woocommerce-product-image-gallery img { box-shadow: var(--ce-shadow-hover) !important; border: 0 !important; border-radius: var(--ce-radius); overflow: hidden; }
.ce-product-main .flex-control-thumbs { display: flex !important; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; }
.ce-product-main .flex-control-thumbs li { width: 72px !important; float: none !important; }
.ce-product-main .flex-control-thumbs img { border-radius: 6px; }
.ce-buybox { border-radius: var(--ce-radius) !important; border: 1px solid var(--rule) !important; box-shadow: var(--ce-shadow); background: #fff; }
.ce-buybox .ce-badges span { background: var(--surface); }
.ce-buybox .single_add_to_cart_button { border-radius: 8px !important; border: 0 !important; box-shadow: 0 4px 14px rgba(248,229,0,.3) !important; }
/* PayPal buttons: lighter, no blank gap. */
.ce-buybox .ppc-button-wrapper, .ce-buybox #ppc-button-ppcp-gateway { margin-top: 4px !important; max-width: 100%; }
.ce-buybox #ppc-button-ppcp-gateway { flex: 1 1 100%; }
/* Sticky add-to-cart bar. */
.ce-stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--gunmetal-950); border-top: 3px solid var(--edge-yellow); transform: translateY(110%); transition: transform .3s var(--ce-ease); }
.ce-stickybar.is-shown { transform: none; }
.ce-stickybar__inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 12px 16px; }
.ce-stickybar__title { flex: 1; color: var(--gunmetal-50); font-family: var(--font-display); font-weight: 700; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ce-stickybar__price { color: var(--edge-yellow); font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.ce-stickybar__price del { color: var(--gunmetal-300); font-size: 14px; }
.ce-stickybar__btn { background: var(--accent); color: var(--edge-black); border: 0; border-radius: 8px; padding: 12px 20px; font-family: var(--font-display); font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
@media (max-width: 480px) { .ce-stickybar__title { font-size: 15px; } }
/* Tabs: rounder. */
.wp-block-woocommerce-product-details .wc-tabs li a, .woocommerce-tabs ul.tabs li a { border-radius: 8px 8px 0 0; }

/* ---------- Footer ---------- */
.ce-footer { font-size: 16px; }
.ce-footer a { color: var(--gunmetal-100); }
.ce-footer a:hover { color: var(--edge-yellow); }
.ce-footer__list li { padding: 3px 0; }
.ce-footer__cta { background: var(--gunmetal-850); border: 1px solid var(--gunmetal-700); border-radius: var(--ce-radius); padding: 28px 32px !important; margin-bottom: var(--space-6) !important; }
.ce-footer__cta h2 { font-size: 30px !important; margin: 0; }
.ce-footer__cta p { color: var(--gunmetal-300); margin: 4px 0 0; }
.ce-social { gap: 12px !important; margin-top: 12px !important; }
.ce-social .wp-social-link { background: var(--gunmetal-850) !important; border-radius: 50%; transition: transform .2s ease, background-color .2s ease; }
.ce-social .wp-social-link a { padding: 10px !important; }
.ce-social .wp-social-link:hover { background: var(--edge-yellow) !important; transform: translateY(-2px); }
.ce-social .wp-social-link:hover svg { fill: #0b0c0d !important; color: #0b0c0d !important; }
.ce-badges--footer span { font-weight: 500; }
.ce-backtotop a { color: var(--edge-yellow) !important; font-weight: 700; }
.ce-footer .wp-block-site-logo img { max-width: 200px; }

/* ---------- Scroll reveal ---------- */
.ce-will-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ce-ease), transform .6s var(--ce-ease); }
.ce-will-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.ce-trust__nums > *, .ce-trust > *, .ce-tiles > *, .ce-trust__seen > * { margin-block-start: 0 !important; }

/* Rig band: spec table uses the full column; latest rig post card on the right. */
.ce-band-lime .wp-block-table.is-style-ce-spec, .ce-band-lime .wp-block-table.is-style-ce-spec table { width: 100%; }
.ce-band-lime .wp-block-table.is-style-ce-spec td:first-child { width: 34%; }
.ce-rig__latest .ce-kicker { margin-bottom: 10px !important; }
.ce-rig-feature .ce-card-post .wp-block-post-title { font-size: 24px !important; }

/* Rig of the month: newest Catfish Rigs post, text left, image right. */
.ce-rig-q .wp-block-post-template { margin: 0; padding: 0; list-style: none; }
.ce-rig-row { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.ce-rig-row > * { margin: 0 !important; }
.ce-rig__title { font-size: clamp(30px, 3.6vw, 46px) !important; line-height: 1.05 !important; font-weight: 800; text-transform: uppercase; margin: 0; }
.ce-rig__title a { color: var(--ink); text-decoration: none; }
.ce-rig__title a:hover { background: var(--accent); }
.ce-rig__excerpt { font-size: 18px; line-height: 1.6; color: var(--ink-body); margin: 0; }
.ce-rig__excerpt p { margin: 0; }
.ce-rig__more { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 8px; background: var(--edge-black); color: var(--edge-yellow) !important; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; transition: transform .15s var(--ce-ease); }
.ce-rig__more:hover { transform: translateY(-2px); }
.ce-rig__img { position: relative; aspect-ratio: 16 / 10; border-radius: var(--ce-radius); overflow: hidden; box-shadow: var(--ce-shadow-hover); background: #fff; }
.ce-rig__img::before { content: ""; position: absolute; inset: -24px; background: var(--ce-bg, none) center / cover no-repeat; filter: blur(18px) brightness(.9); transform: scale(1.1); }
.ce-rig__img a, .ce-rig__img img { position: relative; display: block; width: 100%; height: 100% !important; }
.ce-rig__img img { object-fit: contain !important; }
.ce-rig__all { margin-top: 24px !important; }
@media (max-width: 900px) { .ce-rig-row { grid-template-columns: 1fr; gap: 28px; } .ce-rig__img { order: -1; } }

/* ==========================================================================
   1.2: round-2 fixes
   ========================================================================== */
html, body { overflow-x: clip; }
.wp-site-blocks { overflow-x: clip; }

/* Header on phones: one line, hamburger, compact Book button. */
.ce-header__inner { flex-wrap: nowrap !important; }
.ce-header .wp-block-site-logo { flex: 0 0 auto; }
.ce-header__actions { flex: 0 0 auto; flex-wrap: nowrap !important; }
@media (max-width: 1099px) {
	.ce-header .wp-block-navigation { flex: 0 0 auto; }
	.ce-header .wp-block-navigation__container:not(.is-menu-open .wp-block-navigation__container) { display: none; }
}
@media (max-width: 600px) {
	.ce-header__inner { gap: 8px !important; min-height: 60px !important; }
	.ce-header .wp-block-site-logo img { max-height: 36px !important; width: auto; }
	.ce-header__book .wp-block-button__link { padding: 6px 10px !important; font-size: 12px !important; min-height: 34px !important; letter-spacing: .04em; }
	.ce-header .wp-block-navigation__responsive-container-open { width: 40px; height: 40px; }
	.ce-header .wc-block-mini-cart__button { padding: 4px; }
}

/* Read time sits inside the date block, same font. */
.ce-readtime::before { content: "·"; margin: 0 8px; color: var(--border-strong); }
.wp-block-post-date .ce-readtime { font: inherit; }
.ce-card-post__meta .wp-block-post-date, .ce-card-post__meta .wp-block-post-date time { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--ink-muted); }
.ce-band-dark .ce-card-post__meta .wp-block-post-date, .ce-band-dark .ce-card-post__meta time { color: var(--gunmetal-300); }

/* H3s get a lime marker so they read as headings, not bold text. */
.ce-prose :where(h3) { position: relative; padding-left: 18px; }
.ce-prose :where(h3)::before { content: ""; position: absolute; left: 0; top: .25em; bottom: .25em; width: 6px; border-radius: 3px; background: var(--edge-green); }
.ce-prose :where(.ce-callout, .ce-author-box, .ce-toc) :where(h3) { padding-left: 0; }
.ce-prose :where(.ce-callout, .ce-author-box, .ce-toc) :where(h3)::before { content: none; }
.ce-prose :where(h4) { font-size: 20px; margin-top: var(--space-5); }

/* Images in posts: centered, captioned, never floated. */
.ce-prose p:has(> img:only-child), .ce-prose p:has(> a:only-child > img) { text-align: center; }
.ce-prose img { display: inline-block; max-width: 100%; height: auto; }
.ce-prose .wp-caption { background: none; border: 0; padding: 0; width: auto !important; }

/* Sidebar sticks while you read (the wrapper is what has to stick). */
@media (min-width: 782px) {
	.wp-block-column > .wp-block-template-part:has(> .ce-sidebar) { position: sticky; top: 100px; }
	.admin-bar .wp-block-column > .wp-block-template-part:has(> .ce-sidebar) { top: 132px; }
	.ce-sidebar { position: static !important; }
}

/* Contact: hide the form card until a WPForms form exists. */
.ce-formcard:not(:has(form)) { display: none; }

/* Homepage already has the "Fish it with Chad" band: no second CTA in the footer there. */
body.home .ce-footer__cta { display: none; }

/* Category tiles: stronger overlay so labels read over busy thumbnails. */
.ce-tile__shade { background: linear-gradient(180deg, rgba(11,12,13,.35) 0%, rgba(11,12,13,.7) 45%, rgba(11,12,13,.95) 100%); }
.ce-tile__label { text-shadow: 0 2px 10px rgba(0,0,0,.6); }

/* Category banner image. */
.ce-cat-hero.has-ce-banner { position: relative; overflow: hidden; isolation: isolate; }
.ce-banner-bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; opacity: .35; filter: saturate(.8); }
.ce-cat-hero.has-ce-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,12,13,.95) 0%, rgba(11,12,13,.75) 55%, rgba(11,12,13,.4) 100%); }

/* Product page. */
.ce-buybox { gap: 14px !important; }
.ce-buybox > * { margin-block-start: 0 !important; }
.ce-buybox .ce-badges { flex-direction: column; align-items: flex-start; gap: 8px; }
.ce-buybox .ce-badges span { background: var(--surface) !important; border: 1px solid var(--rule); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.ce-product-main .wp-block-woocommerce-product-image-gallery, .ce-product-main .woocommerce-product-gallery { box-shadow: var(--ce-shadow) !important; border: 1px solid var(--rule) !important; border-radius: var(--ce-radius); }
.ce-product-main .woocommerce-product-gallery img, .ce-product-main .wp-block-woocommerce-product-image-gallery img { box-shadow: none !important; border: 0 !important; }
/* Uniform 1:1 covers in every product grid. */
.ce-products .wc-block-components-product-image, .ce-products .wc-block-components-product-image a { aspect-ratio: 1 / 1; display: block; }
.ce-products .wc-block-components-product-image img { width: 100% !important; height: 100% !important; aspect-ratio: 1 / 1 !important; object-fit: cover !important; }
/* Gallery: frame the image itself, not the taller gallery wrapper. */
.ce-product-main .wp-block-woocommerce-product-image-gallery, .ce-product-main .woocommerce-product-gallery { box-shadow: none !important; border: 0 !important; background: none !important; }
.ce-product-main .woocommerce-product-gallery__image, .ce-product-main .woocommerce-product-gallery__wrapper > div:first-child { border-radius: var(--ce-radius); overflow: hidden; box-shadow: var(--ce-shadow-hover); }

/* Posts already have "Fish it with Chad" in the sidebar: no second one in the footer. */
body.single-post .ce-footer__cta { display: none; }
/* Payment buttons line up with Add to cart. */
.ce-buybox .ppc-button-wrapper, .ce-buybox #wc-stripe-express-checkout-element, .ce-buybox .ppcp-messages { width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }

/* Buy box: Add to Cart, Link and PayPal buttons stack with one even 12px gap and share one width. */
.ce-buybox form.cart, .ce-buybox .woocommerce-variation-add-to-cart { display: flex !important; flex-wrap: wrap; gap: 12px !important; margin: 0 0 12px !important; width: 100%; }
.ce-buybox form.cart .quantity:has(input[type="hidden"]), .ce-buybox form.cart .quantity:not(:has(input:not([type="hidden"]))) { display: none !important; }
.ce-buybox form.cart .single_add_to_cart_button { flex: 1 1 100% !important; width: 100% !important; margin: 0 !important; }
.ce-buybox form.cart .quantity { flex: 0 0 auto; margin: 0 !important; }
.ce-buybox form.cart .quantity:has(input:not([type="hidden"])) + .single_add_to_cart_button { flex: 1 1 0% !important; width: auto !important; }
.ce-buybox form.variations_form.cart { display: block !important; }
.ce-buybox #wc-stripe-express-checkout-element, .ce-buybox .ppc-button-wrapper {
	width: 100% !important; max-width: 100% !important; margin: 0 0 12px !important; padding: 0 !important; box-sizing: border-box;
}
.ce-buybox #wc-stripe-express-checkout-element:empty, .ce-buybox #wc-stripe-express-checkout-element[style*="display: none"] { margin: 0 !important; }
.ce-buybox [id^="ppc-button-ppcp-gateway"] { width: 100% !important; margin: 0 !important; padding: 0 !important; gap: 12px !important; }
.ce-buybox wc-order-attribution-inputs, .ce-buybox #wc-stripe-express-checkout__order-attribution-inputs { display: none !important; }
.ce-buybox [id^="ppc-button-ppcp-gateway"] > * { width: 100% !important; margin: 0 !important; }
.ce-buybox .ppcp-messages { margin: 0 0 12px !important; }
.ce-buybox .ppcp-messages:empty { display: none; }
.ce-buybox form.cart { padding: 0 !important; }
/* WooCommerce's clearfix pseudo-elements become extra flex rows (24px of dead space). */
.ce-buybox form.cart::before, .ce-buybox form.cart::after, .ce-buybox .woocommerce-variation-add-to-cart::before, .ce-buybox .woocommerce-variation-add-to-cart::after { display: none !important; content: none !important; }

/* Header cart link (light replacement for the Mini-Cart block). */
.ce-header .wp-block-shortcode, .ce-header__actions > p:has(.ce-cartlink) { margin: 0; display: flex; }
.ce-cartlink { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--ink-on-chrome) !important; text-decoration: none; border-radius: 8px; transition: background-color .15s ease; }
.ce-cartlink:hover { background: rgba(255,255,255,.08); color: var(--edge-yellow) !important; }
.ce-cartlink__count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--edge-black); font: 700 11px/18px var(--font-body); text-align: center; }

/* 1.2.6 light product buttons */
.ce-addbtn.is-busy { opacity: .7; pointer-events: none; }
.ce-products a.ce-addbtn.is-added, a.ce-addbtn.is-added { background: var(--edge-green) !important; color: var(--on-edge-green) !important; }
.wc-block-components-product-button .ce-viewcart { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--link); text-align: center; }
