/* ==========================================================================
   Chargehouse theme stylesheet
   --------------------------------------------------------------------------
   1. Fonts            6. Elementor sections & layout helpers
   2. Tokens           7. Elementor components (cards, stats, steps, forms…)
   3. Base             8. Theme templates (posts, archives, legal, 404)
   4. Header           9. Responsive
   5. Footer
   Rules use low specificity on purpose: anything set in the Elementor panel
   (which outputs `.elementor-N .elementor-element.elementor-element-ID`)
   always wins over these defaults. No !important is used.
   ========================================================================== */

/* 1. Fonts (Inter, SIL OFL – self-hosted, no third-party request) --------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/inter-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/inter-latin-900-normal.woff2") format("woff2"); }

/* 2. Tokens ----------------------------------------------------------------
   Colours and fonts map to Elementor > Site Settings > Global Colors / Fonts.
   They are declared on body because Elementor defines its variables on the
   kit body class. The hex values are fallbacks for when Elementor is off.  */
body {
	--ch-blue: var(--e-global-color-primary, #17469e);
	--ch-green: var(--e-global-color-secondary, #007d45);
	--ch-ink: var(--e-global-color-text, #0b1f2a);
	--ch-mint: var(--e-global-color-accent, #1bd096);
	--ch-teal: var(--e-global-color-chteal, #052730);
	--ch-teal-2: var(--e-global-color-chteal2, #0b3d47);
	--ch-light: var(--e-global-color-chlight, #e7f0f7);
	--ch-muted: var(--e-global-color-chmuted, #667883);
	--ch-line: var(--e-global-color-chline, #d9e3e9);
	--ch-footer: var(--e-global-color-chfooter, #031c22);
	--ch-error: var(--e-global-color-cherror, #b42318);
	--ch-white: #fff;

	--ch-font: var(--e-global-typography-text-font-family, "Inter"), Inter, Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
	--ch-font-heading: var(--e-global-typography-primary-font-family, "Inter"), Inter, Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
	--ch-weight-heading: var(--e-global-typography-primary-font-weight, 700);
	--ch-weight-label: var(--e-global-typography-secondary-font-weight, 900);
	--ch-weight-button: var(--e-global-typography-accent-font-weight, 900);

	--ch-h1: clamp(44px, 5.7vw, 78px);
	--ch-h1-product: clamp(40px, 5vw, 64px);
	--ch-h2: clamp(34px, 4vw, 56px);
	--ch-h2-48: clamp(32px, 4vw, 48px);
	--ch-h2-oem: clamp(32px, 4.4vw, 52px);
	--ch-h3: 23px;

	--ch-container: 1180px;
	--ch-gutter: 20px;
	--ch-section-y: 92px;
	--ch-radius: 24px;
	--ch-radius-md: 17px;
	--ch-radius-sm: 11px;
	--ch-btn-radius: 999px;
	--ch-shadow: 0 18px 50px rgba(5, 39, 48, 0.1);
	--ch-shadow-card: 0 8px 25px rgba(5, 39, 48, 0.04);
	--ch-shadow-stage: 0 32px 70px rgba(0, 0, 0, 0.18);
	--ch-header-h: 78px;
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	font-family: var(--ch-font);
	color: var(--ch-ink);
	line-height: 1.55;
	background: var(--ch-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.ch-entry a, .ch-text a:not(.elementor-button) { text-decoration: underline; text-underline-offset: 2px; }
.ch-contactitem a { text-decoration: none; }
:focus-visible { outline: 3px solid var(--ch-blue); outline-offset: 3px; }
.ch-main:focus { outline: 0; }
address { font-style: normal; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0; z-index: 100000;
	left: 12px; top: 12px; padding: 12px 18px; background: var(--ch-white); color: var(--ch-ink);
	border-radius: var(--ch-radius-sm); box-shadow: var(--ch-shadow);
}

.ch-container { width: min(var(--ch-container), calc(100% - 2 * var(--ch-gutter))); margin-inline: auto; }
.ch-narrow { max-width: 820px; }

/* Buttons – theme markup (.ch-button) and Elementor Button widget (.ch-btn) */
.ch-button,
.ch-btn .elementor-button,
.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 19px;
	border-radius: var(--ch-btn-radius);
	background: var(--ch-mint);
	color: #052b26;
	font-family: var(--ch-font);
	font-size: 16px;
	font-weight: var(--ch-weight-button);
	line-height: 1.55;
	border: 0;
	cursor: pointer;
	transition: filter 0.2s ease, transform 0.2s ease;
}
.ch-button:hover, .ch-btn .elementor-button:hover, .wpcf7-submit:hover,
.ch-btn .elementor-button:focus, .ch-btn .elementor-button:visited { color: #052b26; }
.ch-button:hover, .ch-btn .elementor-button:hover, .wpcf7-submit:hover { filter: brightness(1.04); }
.ch-button--dark, .ch-btn--dark .elementor-button,
.ch-btn--dark .elementor-button:hover, .ch-btn--dark .elementor-button:focus, .ch-btn--dark .elementor-button:visited { background: var(--ch-teal); color: var(--ch-white); }
.ch-btn--ghost .elementor-button,
.ch-btn--ghost .elementor-button:hover, .ch-btn--ghost .elementor-button:focus, .ch-btn--ghost .elementor-button:visited {
	background: transparent; color: var(--ch-white); border: 1px solid rgba(255, 255, 255, 0.28);
}
.ch-btn--ghost .elementor-button:hover { border-color: rgba(255, 255, 255, 0.6); }

/* 4. Header ---------------------------------------------------------------- */
.ch-topbar { background: #edf5fa; border-bottom: 1px solid #dbe7ee; font-size: 12px; }
.ch-topbar__inner { min-height: 42px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ch-topbar__contacts { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.ch-topbar__contacts a:hover { color: var(--ch-green); }
.ch-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ch-mint); display: inline-block; margin-right: 6px; }

.ch-header { position: relative; z-index: 50; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(12px); border-bottom: 1px solid #e8eef1; }
.ch-has-sticky-header .ch-header { position: sticky; top: 0; }
.admin-bar.ch-has-sticky-header .ch-header { top: var(--wp-admin--admin-bar--height, 32px); }
.ch-nav { height: var(--ch-header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }

.ch-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: 0.02em; flex-shrink: 0; }
.ch-brand__logo { max-height: 52px; width: auto; }
.ch-brand__mark { width: 38px; height: 38px; border: 4px solid var(--ch-blue); border-radius: 50%; position: relative; flex-shrink: 0; }
.ch-brand__mark::before, .ch-brand__mark::after { content: ""; position: absolute; background: var(--ch-green); }
.ch-brand__mark::before { width: 5px; height: 24px; left: 13px; top: 3px; }
.ch-brand__mark::after { height: 5px; width: 24px; left: 3px; top: 13px; }
.ch-brand__text { line-height: 0.9; }
.ch-brand__text b { display: block; font-size: 16px; }
.ch-brand__text b:first-child { color: var(--ch-blue); }
.ch-brand__text b:last-child { color: var(--ch-green); }

.ch-menu-toggle { display: none; border: 0; background: none; font-size: 28px; line-height: 1; padding: 6px; cursor: pointer; color: var(--ch-ink); }

.ch-menu { display: flex; gap: 24px; align-items: center; font-size: 13px; font-weight: 800; list-style: none; margin: 0; padding: 0; }
.ch-menu > li { position: relative; }
.ch-menu > li > a { display: block; padding: 28px 0; }
.ch-menu a:hover, .ch-menu a:focus-visible { color: var(--ch-green); }
.ch-menu > .menu-item-has-children > a::after { content: " \25BE"; }
.ch-menu .sub-menu {
	position: absolute; display: none; top: 68px; left: -15px; z-index: 60;
	background: var(--ch-white); border: 1px solid var(--ch-line); border-radius: 16px; box-shadow: var(--ch-shadow);
	padding: 8px; min-width: 255px; list-style: none; margin: 0;
}
.ch-menu > li:hover > .sub-menu, .ch-menu > li:focus-within > .sub-menu { display: block; }
.ch-menu .sub-menu a { display: block; padding: 11px 12px; border-radius: 10px; }
.ch-menu .sub-menu a:hover, .ch-menu .sub-menu a:focus-visible { background: var(--ch-light); color: var(--ch-ink); }

/* 5. Footer ---------------------------------------------------------------- */
.ch-footer { background: var(--ch-footer); color: #dce7e9; padding: 66px 0 26px; }
.ch-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 38px; }
.ch-footer__title { color: var(--ch-mint); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; margin: 21px 0 15px; font-weight: 700; }
.ch-footer__links { list-style: none; margin: 0; padding: 0; }
.ch-footer__links a { display: block; color: #b8c9cd; margin: 8px 0; font-size: 13px; }
.ch-footer__links a:hover { color: var(--ch-white); }
.ch-footer p, .ch-footer__address { color: #9fb5ba; font-size: 13px; margin: 13px 0; }
.ch-footer__about .ch-brand { margin-top: 8px; }
.ch-footer__copy {
	border-top: 1px solid #18363d; margin-top: 38px; padding-top: 20px; font-size: 11px; color: #789198;
	display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.ch-footer__legal { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.ch-footer__legal li + li::before { content: "\2022"; margin: 0 0.35em; }
.ch-footer__legal a:hover { color: var(--ch-white); }

/* 6. Elementor sections & layout helpers ---------------------------------- */
.e-con.ch-section,
.e-con.ch-hero,
.e-con.ch-pagehero,
.e-con.ch-producthero,
.e-con.ch-strip {
	--padding-left: var(--ch-gutter);
	--padding-right: var(--ch-gutter);
	--content-width: min(100%, var(--container-max-width, var(--ch-container)));
}
.e-con.ch-section { --padding-top: var(--ch-section-y); --padding-bottom: var(--ch-section-y); }
.e-con.ch-section--alt { background-color: var(--ch-light); }
.e-con.ch-section--dark { background-color: var(--ch-teal); color: var(--ch-white); }
.e-con.ch-section--oem { background-color: var(--ch-mint); }

/* Structural (layout-only) containers carry no padding of their own. */
.e-con:is(.ch-head, .ch-head-text, .ch-hero-content, .ch-col, .ch-grid, .ch-actions, .ch-split,
	.ch-featured-content, .ch-oem-content, .ch-prodcard-body, .ch-contactgrid, .ch-center-row) {
	--padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
}
.e-con.ch-actions { margin-top: 28px; }
.e-con.ch-featured-content > .ch-actions,
.e-con.ch-center-row { margin-top: 0; }
.ch-actions > .elementor-widget, .ch-center-row > .elementor-widget { flex-grow: 0; width: auto; }

/* Hero */
.e-con.ch-hero {
	--padding-top: 96px; --padding-bottom: 80px;
	background-image: linear-gradient(135deg, var(--ch-teal), var(--ch-teal-2));
	color: var(--ch-white);
	overflow: hidden;
}
.e-con.ch-pagehero, .ch-pagehero--theme {
	--padding-top: 78px; --padding-bottom: 78px;
	background-image: linear-gradient(135deg, var(--ch-teal), #123f49);
	color: var(--ch-white);
}
.ch-pagehero--theme { padding: 78px 0; }
.e-con.ch-producthero { --padding-top: 72px; --padding-bottom: 72px; background-color: #f6fafc; }

/* Typography helpers applied to Heading / Text Editor widgets */
.ch-kicker, .ch-kicker .elementor-heading-title {
	color: var(--ch-green);
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.14em;
	font-weight: var(--ch-weight-label);
	line-height: 1.55;
}
/* Mint kicker is kept wherever it sits on a dark background (as designed). */
.ch-hero .ch-kicker .elementor-heading-title,
.ch-pagehero .ch-kicker, .ch-pagehero .ch-kicker .elementor-heading-title,
.ch-section--dark .ch-kicker .elementor-heading-title { color: var(--ch-mint); }
.ch-kicker--deep .elementor-heading-title { color: #064b3f; }

.ch-h1 .elementor-heading-title, .ch-pagehero__title {
	font-family: var(--ch-font-heading);
	font-size: var(--ch-h1);
	font-weight: var(--ch-weight-heading);
	letter-spacing: -0.045em;
	line-height: 1.02;
	margin: 0;
	color: inherit;
}
.ch-h1--product .elementor-heading-title { font-size: var(--ch-h1-product); letter-spacing: -0.04em; }

.ch-h2 .elementor-heading-title {
	font-family: var(--ch-font-heading);
	font-size: var(--ch-h2);
	font-weight: var(--ch-weight-heading);
	line-height: 1.04;
	letter-spacing: -0.035em;
	color: inherit;
}
.ch-h2--48 .elementor-heading-title { font-size: var(--ch-h2-48); line-height: 1.08; letter-spacing: normal; }
.ch-h2--oem .elementor-heading-title { font-size: var(--ch-h2-oem); letter-spacing: normal; }

.ch-h3 .elementor-heading-title, .ch-blogcard__title, .ch-form-title .elementor-heading-title {
	font-family: var(--ch-font-heading);
	font-size: var(--ch-h3);
	font-weight: var(--ch-weight-heading);
	line-height: 1.15;
	color: inherit;
}

.ch-text p { margin: 0; }
.ch-text p + p { margin-top: 1em; }
.ch-lead p, .ch-pagehero__intro { font-size: 18px; color: #c7dadd; max-width: 700px; margin: 0; }
.ch-producthero .ch-lead p { color: var(--ch-muted); font-size: 17px; }
.ch-crumb, .ch-crumb .elementor-heading-title { font-size: 12px; color: #92afb5; line-height: 1.55; }
.ch-crumb a:hover { color: var(--ch-white); }
.ch-pagehero__meta { color: #92afb5; font-size: 13px; margin: 0; }

/* Section heading row */
.e-con.ch-head { --gap: 30px; }
.ch-head .ch-head-intro { max-width: 560px; }
.ch-head-intro p { color: var(--ch-muted); }
.ch-section--dark .ch-head-intro p { color: #b8c9cd; }

/* Image stage */
.e-con.ch-stage {
	--padding-top: 34px; --padding-right: 34px; --padding-bottom: 34px; --padding-left: 34px;
	--min-height: 460px;
	background-color: var(--ch-white);
	border-radius: 30px;
	box-shadow: var(--ch-shadow-stage);
}
.ch-stage-img img { max-height: 330px; width: auto; object-fit: contain; margin-inline: auto; }

/* Highlights strip */
.e-con.ch-strip { --padding-top: 17px; --padding-bottom: 17px; background-color: var(--ch-mint); }
.ch-strip-item .elementor-heading-title {
	text-align: center; font-size: 11px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.55; color: var(--ch-ink);
}

/* Vertical rhythm ------------------------------------------------------------
   Elementor resets widget bottom margins inside containers, so spacing is set
   as margin-top on the following widget. Values reproduce the original
   design's collapsed margins. Per-widget Advanced > Margin in the Elementor
   panel overrides any of these. */
div.ch-kicker, nav.ch-crumb { margin-bottom: 12px; }
.ch-pagehero__title { margin-bottom: 22px; }
.elementor-widget.ch-h1,
.elementor-widget.ch-h2,
.elementor-widget.ch-contactitem { margin-top: 12px; }
.elementor-widget.ch-h3 { margin-top: 10px; }
.elementor-widget.ch-step-title { margin-top: 31px; }
.elementor-widget.ch-form-title { margin-top: 18px; }
.elementor-widget.ch-h2--48 { margin-top: 40px; }
.ch-h1 + .ch-lead { margin-top: 22px; }
.ch-h1--product + .ch-lead { margin-top: 18px; }
.ch-h3 + .elementor-widget { margin-top: 10px; }
.ch-h3 + .ch-power, .ch-power + .elementor-widget { margin-top: 12px; }
.ch-h2--oem + .elementor-widget { margin-top: 18px; }
.ch-h2--48 + .elementor-widget { margin-top: 40px; }
.ch-form-title + .elementor-widget { margin-top: 12px; }
.ch-kicker + .elementor-widget.ch-h2--48 { margin-top: 40px; }
.ch-divider + .elementor-widget { margin-top: 0; }

/* 7. Components -------------------------------------------------------------- */
.e-con.ch-card, .ch-card {
	--padding-top: 28px; --padding-right: 28px; --padding-bottom: 28px; --padding-left: 28px;
	background-color: var(--ch-white);
	border: 1px solid var(--ch-line);
	border-radius: var(--ch-radius);
	box-shadow: var(--ch-shadow-card);
	color: var(--ch-ink);
}
.ch-card .ch-text p { color: var(--ch-muted); }
.e-con.ch-card--dark { background-color: #082f39; border-color: #194953; color: var(--ch-white); }
.ch-card--dark .ch-text p { color: #bad0d5; }

.ch-badge .elementor-heading-title {
	display: inline-flex; padding: 7px 11px; border-radius: var(--ch-btn-radius);
	background: #e8fbf5; color: #006945; font-size: 11px; font-weight: 900; line-height: 1.55;
}
.ch-power .elementor-heading-title { color: var(--ch-green); font-weight: 900; font-size: 16px; line-height: 1.55; }
.ch-card--dark .ch-power .elementor-heading-title { color: var(--ch-mint); }

.e-con.ch-prodcard { --min-height: 380px; }
.ch-prodcard-img img { height: 250px; width: 100%; object-fit: contain; background: #f7fafb; border-radius: 18px; padding: 18px; }
.ch-card--dark .ch-prodcard-img img { background: #f7fafb; }

.ch-divider .elementor-divider { --divider-color: var(--ch-line); }
.ch-divider .elementor-divider-separator { border-top: 1px solid var(--ch-line); }

/* Stats */
.e-con.ch-stat {
	--padding-top: 21px; --padding-right: 21px; --padding-bottom: 21px; --padding-left: 21px;
	background-color: var(--ch-white); border: 1px solid var(--ch-line); border-radius: var(--ch-radius-md);
}
.ch-section--dark .e-con.ch-stat { background-color: #123c46; border-color: #29535c; }
.ch-stat-value .elementor-heading-title { font-size: 27px; font-weight: 700; line-height: 1.55; color: inherit; }
.ch-stat-label .elementor-heading-title {
	font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ch-muted); line-height: 1.55; font-weight: 400;
}
.ch-section--dark .ch-stat-label .elementor-heading-title { color: #acc2c7; }

/* Steps */
.e-con.ch-step {
	--padding-top: 20px; --padding-right: 20px; --padding-bottom: 20px; --padding-left: 20px;
	--min-height: 150px;
	background-color: #f2f7fa; border-radius: var(--ch-radius-md);
}
.ch-step-num .elementor-heading-title { color: var(--ch-blue); font-size: 11px; font-weight: 700; line-height: 1.55; }
.ch-step-title .elementor-heading-title { font-size: 18px; line-height: 1.15; font-weight: 700; color: var(--ch-ink); }

/* Notice */
.ch-note {
	padding: 18px 20px; border: 1px solid #edd382; background: #fff6dc; border-radius: 15px; color: #6f5710;
}
.ch-note p { color: #6f5710; }

/* Spec table (CH Spec Table widget) */
.ch-tablewrap { overflow: auto; border: 1px solid var(--ch-line); border-radius: 18px; background: var(--ch-white); }
.ch-spec { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 16px; }
.ch-spec th, .ch-spec td { padding: 14px 16px; border-bottom: 1px solid var(--ch-line); text-align: left; vertical-align: top; }
.ch-spec thead th { background: #eef5f8; font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.ch-spec tbody th { font-weight: 700; }
.ch-spec tbody tr:last-child th, .ch-spec tbody tr:last-child td { border-bottom: 0; }

/* Contact items */
.ch-contactitem { background: var(--ch-light); padding: 20px; border-radius: var(--ch-radius-md); }

/* Forms (Contact Form 7 inside a .ch-form container) */
.e-con.ch-form {
	--padding-top: 28px; --padding-right: 28px; --padding-bottom: 28px; --padding-left: 28px;
	background-color: var(--ch-teal); color: var(--ch-white); border-radius: 25px;
}
.ch-cf7 label { display: block; }
.ch-form input[type="text"], .ch-form input[type="email"], .ch-form input[type="tel"],
.ch-form select, .ch-form textarea {
	width: 100%; padding: 13px 14px; margin: 6px 0; border-radius: var(--ch-radius-sm);
	border: 1px solid #28515a; background: #123942; color: var(--ch-white);
	font: inherit; font-size: 16px; line-height: 1.3;
}
.ch-form select { appearance: auto; }
.ch-form textarea { height: 115px; min-height: 115px; resize: vertical; display: block; }
.ch-form ::placeholder { color: #9fb5ba; opacity: 1; }
.ch-form input:focus, .ch-form select:focus, .ch-form textarea:focus { outline: 2px solid var(--ch-mint); outline-offset: 1px; }
.ch-cf7__submit { margin-top: 10px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ch-form .wpcf7-spinner { margin: 0; }
.ch-form .wpcf7-not-valid-tip { color: #ffb4ab; font-size: 13px; margin-bottom: 4px; }
.ch-form .wpcf7-not-valid { border-color: #ffb4ab; }
.ch-form .wpcf7 form .wpcf7-response-output { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--ch-radius-sm); font-size: 14px; }
.ch-form .wpcf7 form.sent .wpcf7-response-output { border-color: var(--ch-mint); background: rgba(27, 208, 150, 0.12); }
.ch-form .wpcf7 form.invalid .wpcf7-response-output,
.ch-form .wpcf7 form.failed .wpcf7-response-output { border-color: #ffb4ab; background: rgba(180, 35, 24, 0.18); }
.ch-form-fallback a { color: var(--ch-mint); text-decoration: underline; }

/* Blog / resource cards (posts grid widget + archives) */
.ch-postgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ch-card.ch-blogcard { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.ch-blogcard__thumb { display: block; }
.ch-blogcard__thumb img { width: 100%; height: 180px; object-fit: cover; display: block; }
.ch-blogthumb { display: block; height: 180px; background: linear-gradient(135deg, #d3ebe9, #c7ddec); position: relative; border-radius: 18px 18px 0 0; }
.ch-blogthumb::after { content: "EV"; position: absolute; right: 18px; bottom: 2px; font-size: 68px; font-weight: 900; color: rgba(23, 70, 158, 0.11); line-height: 1.55; }
.ch-blogcard__body { padding: 23px; }
.ch-blogcard__title { margin: 10px 0; }
.ch-blogcard__title a:hover { color: var(--ch-green); }
.ch-blogcard__body p { margin: 0; color: var(--ch-muted); }
.ch-meta { color: var(--ch-green); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.ch-pagination { margin-top: 34px; }
.ch-pagination ul, .ch-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; justify-content: center; }
.ch-pagination .page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 14px; border-radius: var(--ch-btn-radius); border: 1px solid var(--ch-line); font-weight: 800; font-size: 14px; }
.ch-pagination .page-numbers.current { background: var(--ch-teal); color: var(--ch-white); border-color: var(--ch-teal); }

/* 8. Theme templates --------------------------------------------------------- */
.ch-section-block { padding: var(--ch-section-y) 0; }
.ch-entry { font-size: 17px; }
.ch-entry > * + * { margin-top: 1.1em; }
.ch-entry h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -0.02em; margin-top: 1.6em; }
.ch-entry h3 { font-size: 22px; line-height: 1.2; margin-top: 1.4em; }
.ch-entry img { border-radius: var(--ch-radius-md); }
.ch-entry__media { margin: 0 0 28px; }
.ch-post-nav { padding-bottom: var(--ch-section-y); }
.ch-post-nav .nav-links { display: flex; justify-content: space-between; gap: 20px; font-weight: 800; border-top: 1px solid var(--ch-line); padding-top: 24px; }
.ch-post-nav .nav-links a:hover { color: var(--ch-green); }
.ch-actions-row { margin-top: 28px; }
.search-form { display: flex; gap: 10px; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; padding: 13px 14px; border: 1px solid var(--ch-line); border-radius: var(--ch-radius-sm); font: inherit; }
.search-form .search-submit { padding: 13px 19px; border-radius: var(--ch-btn-radius); border: 0; background: var(--ch-teal); color: var(--ch-white); font-weight: 900; cursor: pointer; }
.ch-comments { margin-top: 40px; }
.ch-comments textarea, .ch-comments input[type="text"], .ch-comments input[type="email"], .ch-comments input[type="url"] {
	width: 100%; padding: 12px; border: 1px solid var(--ch-line); border-radius: var(--ch-radius-sm); font: inherit;
}
.ch-comments .submit { padding: 13px 19px; border-radius: var(--ch-btn-radius); border: 0; background: var(--ch-mint); font-weight: 900; cursor: pointer; }

/* 9. Responsive --------------------------------------------------------------
   Breakpoints match the original build (980px / 680px). The setup screen sets
   Elementor's tablet / mobile breakpoints to the same values.               */
@media (max-width: 980px) {
	.ch-topbar { display: none; }
	.ch-menu-toggle { display: block; }
	.ch-header__cta { display: none; }
	.ch-primary-nav {
		display: none; position: absolute; top: var(--ch-header-h); left: calc(-1 * var(--ch-gutter)); right: calc(-1 * var(--ch-gutter));
		background: var(--ch-white); box-shadow: var(--ch-shadow); padding: 18px 28px;
		max-height: calc(100vh - var(--ch-header-h)); overflow-y: auto;
	}
	.ch-primary-nav.is-open { display: block; }
	.ch-menu { flex-direction: column; align-items: flex-start; gap: 0; }
	.ch-menu > li > a { padding: 7px 0; }
	.ch-menu .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 12px; min-width: 0; }
	.ch-menu .sub-menu a { padding: 7px 0; }
	.ch-footer__grid { grid-template-columns: repeat(2, 1fr); }
	.ch-postgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
	body { --ch-gutter: 14px; --ch-section-y: 64px; }
	.e-con.ch-hero, .e-con.ch-pagehero, .e-con.ch-producthero { --padding-top: 64px; --padding-bottom: 64px; }
	.ch-pagehero--theme { padding: 64px 0; }
	.e-con.ch-stage { --min-height: 320px; --padding-top: 24px; --padding-right: 24px; --padding-bottom: 24px; --padding-left: 24px; }
	.e-con.ch-prodcard { --min-height: 0px; }
	.ch-footer__grid { grid-template-columns: 1fr; }
	.ch-postgrid { grid-template-columns: 1fr; }
	.ch-post-nav .nav-links { flex-direction: column; }
}
