/*
Theme Name: CyberClipper
Author: CyberClipper Infotech LLP
Description: CyberClipper is an editorial tech-magazine theme with three designs (Kinetic Editorial, Midnight Terminal, Classic Print), five header layouts, full font, size and color controls, light and dark modes, reader accounts (sign-up, login, saved stories, likes, reading history, followed topics, profile settings), a drag-and-drop sidebar, automatic table of contents, share buttons, author box, related posts and newsletter boxes. Works with the block editor, Elementor and WooCommerce.
Version: 1.2.0
Requires at least: 5.9
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: cyberclipper
Tags: blog, news, one-column, two-columns, right-sidebar, left-sidebar, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready, theme-options, full-width-template, block-styles, wide-blocks

CyberClipper is derived from BlogSon (C) Spiracle Themes, GPL v3.
CyberClipper, (C) 2026 CyberClipper Infotech LLP, is distributed under the terms of the GNU GPL v3 or later.
*/

/* ==========================================================================
   1. Design tokens (light mode)
   ========================================================================== */

:root {
	--cc-primary: #1e5bf6;
	--cc-accent: #ff5722;
	--cc-teal: #0d9488;


	--cc-bg: #faf8ff;
	--cc-surface: #ffffff;
	--cc-surface-low: #f2f3ff;
	--cc-surface-mid: #eaedff;
	--cc-surface-high: #e2e7ff;
	--cc-surface-highest: #dae2fd;
	--cc-inverse: #283044;
	--cc-on-inverse: #eef0ff;

	--cc-text: #131b2e;
	--cc-text-muted: #434655;
	--cc-outline: #737687;
	--cc-outline-variant: #c3c5d8;
	--cc-border: rgba(15, 23, 42, 0.08);

	--cc-font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
	--cc-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--cc-radius-sm: 0.25rem;
	--cc-radius: 0.5rem;
	--cc-radius-lg: 0.75rem;
	--cc-radius-xl: 1rem;

	--cc-shadow-1: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
	--cc-shadow-4: 0 20px 40px -8px rgba(15, 23, 42, 0.16);

	--cc-gutter: 1rem;
	--cc-container: 1440px;
	--cc-header-h: 5rem;
	--cc-sticky-top: 6.5rem;

	color-scheme: light;
}

/* Dark mode */
html.cc-dark {
	--cc-bg: #090d16;
	--cc-surface: #0f172a;
	--cc-surface-low: #111a2e;
	--cc-surface-mid: #1a2337;
	--cc-surface-high: #1e293b;
	--cc-surface-highest: #2b374d;
	--cc-inverse: #e2e8f0;
	--cc-on-inverse: #0f172a;

	--cc-text: #f8fafc;
	--cc-text-muted: #cbd5e1;
	--cc-outline: #94a3b8;
	--cc-outline-variant: #334155;
	--cc-border: rgba(248, 250, 252, 0.08);


	--cc-shadow-1: 0 4px 20px -2px rgba(0, 0, 0, 0.35);
	--cc-shadow-4: 0 20px 40px -8px rgba(0, 0, 0, 0.6);

	color-scheme: dark;
}

/* Tokens derived from the brand colors. Declared on body so Customizer and
   design overrides (also on body) flow into them. */
body {
	--cc-primary-deep: color-mix(in srgb, var(--cc-primary) 78%, #000);
	--cc-accent-deep: color-mix(in srgb, var(--cc-accent) 80%, #000);
	--cc-teal-deep: color-mix(in srgb, var(--cc-teal) 75%, #000);
	--cc-primary-soft: color-mix(in srgb, var(--cc-primary) 10%, transparent);
	--cc-accent-soft: color-mix(in srgb, var(--cc-accent) 12%, transparent);
	--cc-teal-soft: color-mix(in srgb, var(--cc-teal) 14%, transparent);
	--cc-shadow-2: 0 12px 32px -4px color-mix(in srgb, var(--cc-primary) 12%, transparent);
	--cc-link-color: var(--cc-link, var(--cc-primary));
}

html.cc-dark body {
	--cc-primary-deep: color-mix(in srgb, var(--cc-primary) 55%, #fff);
	--cc-teal-deep: color-mix(in srgb, var(--cc-teal) 60%, #fff);
	--cc-primary-soft: color-mix(in srgb, var(--cc-primary) 20%, transparent);
	--cc-accent-soft: color-mix(in srgb, var(--cc-accent) 20%, transparent);
	--cc-teal-soft: color-mix(in srgb, var(--cc-teal) 22%, transparent);
}

@media (min-width: 1024px) {
	:root {
		--cc-gutter: 2rem;
	}
}

/* ==========================================================================
   2. Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--cc-bg);
	color: var(--cc-text);
	font-family: var(--cc-font-body);
	font-size: var(--cc-fs-body, 16px);
	line-height: 1.625;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: background-color 0.2s ease, color 0.2s ease;
}

::selection {
	background: var(--cc-primary-soft);
	color: var(--cc-text);
}

img,
video,
iframe,
svg {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

a {
	color: var(--cc-primary);
	text-decoration: none;
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

a:hover {
	color: var(--cc-primary-deep);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--cc-font-head);
	color: var(--cc-text);
	font-weight: var(--cc-head-weight, 700);
	text-transform: var(--cc-head-case, none);
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin: 0 0 0.5em;
}

p {
	margin: 0 0 1.25em;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--cc-primary);
	outline-offset: 2px;
}

.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 !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	z-index: 100000;
	top: 8px;
	left: 8px;
	padding: 12px 18px;
	background: var(--cc-surface);
	color: var(--cc-primary);
	border-radius: var(--cc-radius);
	box-shadow: var(--cc-shadow-4);
}

/* Icons */
.material-symbols-outlined {
	font-family: "Material Symbols Outlined";
	font-weight: normal;
	font-style: normal;
	font-size: 20px;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	-webkit-font-smoothing: antialiased;
	font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
	width: 1em;
	overflow: hidden;
	flex-shrink: 0;
	vertical-align: middle;
}

.material-symbols-outlined.is-filled {
	font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

/* ==========================================================================
   3. Utilities & shared pieces
   ========================================================================== */

.cc-container {
	width: 100%;
	max-width: var(--cc-container);
	margin-inline: auto;
	padding-inline: var(--cc-gutter);
}

.cc-label {
	font-family: var(--cc-font-head);
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: 0.04em;
}

.cc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-family: var(--cc-font-head);
	font-size: 11px;
	font-weight: 700;
	line-height: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cc-eyebrow .cc-icon {
	font-size: 18px;
}

.cc-small {
	font-size: 14px;
	line-height: 22px;
}

.cc-muted {
	color: var(--cc-outline);
}

.cc-muted-strong {
	color: var(--cc-text-muted);
}

.cc-text-primary {
	color: var(--cc-primary);
}

.cc-text-accent {
	color: var(--cc-accent);
}

.cc-text-teal {
	color: var(--cc-teal-deep);
}

.cc-h-md {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 22px;
	line-height: 30px;
	font-weight: 600;
	margin: 0;
}

.cc-h-md .cc-icon {
	font-size: 24px;
}

.cc-h-sm {
	font-size: 20px;
	line-height: 28px;
	font-weight: 600;
	margin: 0 0 0.25rem;
}

.cc-dot {
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 999px;
	background: var(--cc-outline);
	flex-shrink: 0;
}

.cc-dot-primary {
	width: 6px;
	height: 6px;
	background: var(--cc-primary);
}

.cc-rule {
	display: inline-block;
	width: 16px;
	height: 1px;
	background: var(--cc-outline-variant);
}

.cc-card {
	background: var(--cc-surface-low);
	border-radius: var(--cc-radius-xl);
	box-shadow: var(--cc-shadow-1);
	padding: 1.5rem;
}

.cc-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

/* Buttons */
.cc-btn,
.wp-block-button__link,
:where(input[type="submit"], button[type="submit"]:not(.cc-icon-btn)) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	min-height: 42px;
	padding: 0.625rem 1.25rem;
	border: 0;
	border-radius: var(--cc-radius);
	background: var(--cc-primary);
	color: #fff;
	font-family: var(--cc-font-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.cc-btn:hover,
.wp-block-button__link:hover,
:where(input[type="submit"], button[type="submit"]:not(.cc-icon-btn)):hover {
	background: var(--cc-primary-deep);
	color: #fff;
	box-shadow: 0 6px 18px color-mix(in srgb, var(--cc-primary) 28%, transparent);
}

html.cc-dark .cc-btn:not(.cc-btn-accent):not(.cc-btn-ghost):not(.cc-btn-danger):hover {
	background: color-mix(in srgb, var(--cc-primary) 85%, #fff);
}

.cc-btn .cc-icon {
	font-size: 18px;
}

.cc-btn-primary {
	box-shadow: 0 4px 16px color-mix(in srgb, var(--cc-primary) 18%, transparent);
}

.cc-btn-accent,
.cc-comment-form .submit {
	background: var(--cc-accent);
}

.cc-btn-accent:hover,
.cc-comment-form .submit:hover {
	background: var(--cc-accent-deep);
	box-shadow: 0 6px 18px color-mix(in srgb, var(--cc-accent) 28%, transparent);
}

.cc-btn-sm {
	min-height: 34px;
	padding: 0.375rem 0.875rem;
	font-size: 11px;
}

.cc-btn-block {
	width: 100%;
}

.cc-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: var(--cc-radius);
	background: var(--cc-surface-mid);
	color: var(--cc-text-muted);
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.cc-icon-btn:hover {
	background: var(--cc-primary);
	color: var(--cc-on-primary, #fff);
}

.cc-icon-btn.cc-ghost {
	background: transparent;
}

.cc-icon-btn.cc-ghost:hover {
	background: var(--cc-surface-high);
	color: var(--cc-text);
}

/* Category labels, badges, chips */
.cc-cat {
	font-family: var(--cc-font-head);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.cc-cat-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 1rem;
	border-radius: 999px;
	font-size: 11px;
	line-height: 16px;
}

.cc-cat-label {
	font-size: 11px;
	line-height: 14px;
}

.cc-tone-primary {
	color: var(--cc-primary);
}

.cc-tone-accent {
	color: var(--cc-accent);
}

.cc-tone-teal {
	color: var(--cc-teal-deep);
}

.cc-cat-pill.cc-tone-primary {
	background: var(--cc-primary-soft);
}

.cc-cat-pill.cc-tone-accent {
	background: var(--cc-accent-soft);
}

.cc-cat-pill.cc-tone-teal {
	background: var(--cc-teal-soft);
}

.cc-cat:hover {
	filter: brightness(0.9);
}

.cc-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.cc-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.25rem 0.625rem;
	border-radius: 999px;
	background: var(--cc-surface-mid);
	color: var(--cc-outline);
	font-family: var(--cc-font-head);
	font-size: 11px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cc-badge .cc-icon {
	font-size: 14px;
}

.cc-badge-teal {
	background: var(--cc-teal-soft);
	color: var(--cc-teal-deep);
}

.cc-badge-accent {
	background: var(--cc-accent-soft);
	color: var(--cc-accent);
}

.cc-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.125rem 0.5rem;
	border-radius: 999px;
	font-family: var(--cc-font-head);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 16px;
}

.cc-chip.cc-tone-primary {
	background: var(--cc-primary-soft);
}

.cc-chip-solid {
	background: var(--cc-primary);
	color: #fff;
	font-size: 11px;
	padding: 0.125rem 0.625rem;
}

.cc-pill-link {
	display: inline-flex;
	padding: 0.25rem 0.625rem;
	border-radius: 999px;
	background: var(--cc-surface-mid);
	color: var(--cc-text);
	font-family: var(--cc-font-head);
	font-size: 12px;
	font-weight: 600;
}

.cc-pill-link:hover {
	background: var(--cc-primary);
	color: #fff;
}

.cc-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-family: var(--cc-font-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cc-link-arrow:hover {
	text-decoration: underline;
}

.cc-link-arrow .cc-icon {
	font-size: 16px;
}

.cc-meta-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	color: inherit;
}

.cc-meta-link:hover {
	color: var(--cc-primary);
}

.cc-meta-link .cc-icon {
	font-size: 14px;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
select,
textarea {
	width: 100%;
	min-height: 44px;
	padding: 0.625rem 1rem;
	border: 1px solid var(--cc-outline-variant);
	border-radius: var(--cc-radius);
	background: var(--cc-surface);
	color: var(--cc-text);
	font-size: 14px;
	line-height: 22px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

textarea {
	min-height: 120px;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--cc-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--cc-primary) 30%, transparent);
}

::placeholder {
	color: var(--cc-outline);
	opacity: 1;
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--cc-primary);
	width: 18px;
	height: 18px;
}

.cc-search-form {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.25rem;
	background: var(--cc-surface);
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
}

.cc-search-form>.cc-icon {
	padding-left: 0.5rem;
}

.cc-search-form input[type="search"] {
	border: 0;
	min-height: 36px;
	padding: 0.375rem 0.5rem;
	background: transparent;
	box-shadow: none;
}

.cc-search-form:focus-within {
	border-color: var(--cc-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--cc-primary) 25%, transparent);
}

/* ==========================================================================
   4. Reading progress bar
   ========================================================================== */

.cc-progress {
	position: fixed;
	inset: 0 0 auto;
	height: 3px;
	z-index: 60;
	pointer-events: none;
	background: transparent;
}

.cc-progress span {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, var(--cc-primary), var(--cc-accent));
	transition: width 0.08s linear;
}

/* ==========================================================================
   5. Header
   ========================================================================== */

.cc-header {
	position: relative;
	z-index: 40;
	background: var(--cc-header-bg, color-mix(in srgb, var(--cc-bg) 90%, transparent));
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.cc-has-sticky-header .cc-header {
	position: sticky;
	top: 0;
}

.admin-bar.cc-has-sticky-header .cc-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar.cc-has-sticky-header .cc-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar.cc-has-sticky-header .cc-header {
		top: 0;
	}
}

.cc-header.is-scrolled {
	box-shadow: 0 6px 24px -8px rgba(15, 23, 42, 0.14);
}

/* Top bar */
.cc-topbar {
	background: var(--cc-topbar-bg, color-mix(in srgb, var(--cc-surface-low) 75%, transparent));
	color: var(--cc-text-muted);
	padding: 0.375rem 0;
}

.cc-topbar-inner,
.cc-topbar-left {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.cc-topbar-left {
	justify-content: flex-start;
}

.cc-topbar-date {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-family: var(--cc-font-head);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cc-outline);
}

.cc-topbar-date .cc-icon {
	font-size: 14px;
}

.cc-topbar-divider {
	width: 1px;
	height: 12px;
	background: var(--cc-outline-variant);
}

.cc-topbar-menu {
	display: flex;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-topbar-menu a {
	font-family: var(--cc-font-head);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cc-text-muted);
}

.cc-topbar-menu a:hover,
.cc-topbar-menu .current-menu-item>a {
	color: var(--cc-text);
}

/* Social menu */
.cc-social-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: var(--cc-radius);
	background: var(--cc-surface-mid);
	color: var(--cc-text-muted);
	font-size: 15px;
}

.cc-social-link:hover {
	background: var(--cc-primary);
	color: #fff;
}

.cc-social-mini {
	gap: 0.25rem;
	flex-wrap: nowrap;
}

.cc-social-mini .cc-social-link {
	width: 1.75rem;
	height: 1.75rem;
	background: transparent;
	font-size: 13px;
}

.cc-social-mini .cc-social-link:hover {
	background: transparent;
	color: var(--cc-primary);
}

/* Main bar: brand / nav / actions zones arranged by the header layout */
.cc-mainbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "brand actions";
	align-items: center;
	gap: 1rem;
	min-height: var(--cc-header-h, 80px);
}

.cc-zone-brand {
	grid-area: brand;
	min-width: 0;
}

.cc-primary-nav {
	grid-area: nav;
	min-width: 0;
}

.cc-mainbar-actions {
	grid-area: actions;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem;
	flex-shrink: 0;
}

.cc-header-right .cc-mainbar {
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas: "actions brand";
}

.cc-header-right .cc-zone-brand {
	justify-self: end;
}

.cc-header-right .cc-mainbar-actions {
	justify-content: flex-start;
}

.cc-header-center .cc-mainbar {
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	grid-template-areas: ". brand actions";
}

.cc-header-center .cc-zone-brand {
	justify-self: center;
}

.cc-header-center .cc-brand {
	flex-direction: column;
	text-align: center;
	gap: 0.375rem;
}

.cc-header-center .cc-brand-text {
	align-items: center;
}

@media (min-width: 1200px) {
	.cc-header-left .cc-mainbar {
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas: "brand nav actions";
		gap: 1.5rem;
	}

	.cc-header-split .cc-mainbar {
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas: "brand nav actions";
		gap: 1.5rem;
	}

	.cc-header-split .cc-primary-nav>.cc-menu {
		justify-content: flex-end;
	}

	.cc-header-right .cc-mainbar {
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas: "actions nav brand";
		gap: 1.5rem;
	}

	.cc-header-right .cc-primary-nav>.cc-menu {
		justify-content: flex-end;
	}

	.cc-header-center .cc-mainbar {
		grid-template-areas:
			". brand actions"
			"nav nav nav";
		row-gap: 0;
	}

	.cc-header-center .cc-primary-nav {
		display: flex;
		justify-content: center;
		padding: 0.5rem 0;
		border-top: 1px solid var(--cc-border);
	}

	.cc-header-center .cc-zone-brand {
		padding: 1rem 0;
	}

	.cc-header-center .cc-brand-name {
		font-size: 26px;
	}
}

/* Minimal: only the menu button opens navigation */
.cc-header-minimal .cc-primary-nav {
	display: none !important;
}

.cc-header-minimal .cc-menu-toggle {
	display: inline-flex !important;
}

/* Branding */
.cc-brand {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	min-width: 0;
}

.cc-brand .custom-logo-link img,
.cc-brand .custom-logo {
	height: var(--cc-logo-h, 36px);
	width: auto;
	max-width: 200px;
	object-fit: contain;
}

.cc-brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: var(--cc-radius);
	background: linear-gradient(135deg, var(--cc-primary), var(--cc-accent));
	color: #fff;
}

.cc-brand-mark .cc-icon {
	font-size: 22px;
}

.cc-brand-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	color: var(--cc-text);
}

.cc-brand-name {
	margin: 0;
	font-family: var(--cc-font-head);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.15s ease;
}

.cc-brand-text:hover .cc-brand-name {
	color: var(--cc-primary);
}

.cc-brand-tagline {
	margin-top: 0.25rem;
	font-family: var(--cc-font-head);
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cc-outline);
	white-space: nowrap;
}

/* Primary navigation */
.cc-primary-nav {
	display: none;
}

.cc-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-primary-nav>.cc-menu {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.cc-primary-nav .menu-item {
	position: relative;
}

.cc-primary-nav .cc-menu>li>a {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.5rem 1rem;
	border-radius: var(--cc-radius);
	font-family: var(--cc-font-head);
	font-size: var(--cc-fs-menu, 13px);
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: var(--cc-menu-case, none);
	color: var(--cc-text-muted);
	white-space: nowrap;
}

.cc-primary-nav .cc-menu>li>a:hover,
.cc-primary-nav .cc-menu>li:hover>a {
	background: var(--cc-surface-mid);
	color: var(--cc-text);
}

.cc-primary-nav .cc-menu>.current-menu-item>a,
.cc-primary-nav .cc-menu>.current-menu-ancestor>a,
.cc-primary-nav .cc-menu>.current-cat>a {
	background: var(--cc-surface-high);
	color: var(--cc-text);
}

.cc-primary-nav .menu-item-has-children>a::after {
	content: "expand_more";
	font-family: "Material Symbols Outlined";
	font-size: 16px;
	line-height: 1;
}

.cc-primary-nav .cc-submenu-toggle {
	display: none;
}

.cc-primary-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 50;
	min-width: 220px;
	margin: 0;
	padding: 0.5rem;
	list-style: none;
	background: var(--cc-surface);
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius-lg);
	box-shadow: var(--cc-shadow-4);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.cc-primary-nav .sub-menu .sub-menu {
	top: -0.5rem;
	left: 100%;
}

.cc-primary-nav li:hover>.sub-menu,
.cc-primary-nav li:focus-within>.sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.cc-primary-nav .sub-menu a {
	display: block;
	padding: 0.5rem 0.75rem;
	border-radius: var(--cc-radius);
	font-size: 14px;
	color: var(--cc-text-muted);
}

.cc-primary-nav .sub-menu a:hover {
	background: var(--cc-surface-low);
	color: var(--cc-primary);
}

.cc-theme-toggle .cc-when-dark {
	display: none;
}

html.cc-dark .cc-theme-toggle .cc-when-dark {
	display: inline-block;
}

html.cc-dark .cc-theme-toggle .cc-when-light {
	display: none;
}

.cc-btn-subscribe {
	display: none;
}

.cc-header-avatar img {
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	object-fit: cover;
	box-shadow: 0 0 0 2px var(--cc-surface-highest);
}

@media (min-width: 640px) {
	.cc-btn-subscribe {
		display: inline-flex;
	}
}

@media (min-width: 1200px) {
	.cc-primary-nav {
		display: block;
	}

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

.cc-primary-nav>.cc-menu {
	flex-wrap: wrap;
}

.cc-topbar-date {
	white-space: nowrap;
}

@media (max-width: 639px) {

	.cc-topbar-nav,
	.cc-topbar-menu,
	.cc-topbar-divider {
		display: none;
	}

	.cc-brand-name {
		font-size: 16px;
		line-height: 1.15;
		white-space: normal;
	}

	.cc-mainbar {
		gap: 0.5rem;
	}

	.cc-mainbar-actions {
		gap: 0.125rem;
	}

	.cc-brand-tagline {
		display: none;
	}

	.cc-header-avatar {
		display: none;
	}
}

/* Mobile drawer */
.cc-drawer[hidden],
.cc-search-modal[hidden] {
	display: none;
}

.cc-drawer {
	position: fixed;
	inset: 0;
	z-index: 70;
}

.cc-drawer-backdrop,
.cc-search-backdrop {
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, #0f172a 45%, transparent);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	animation: cc-fade 0.2s ease;
}

.cc-drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(360px, 88vw);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.25rem;
	overflow-y: auto;
	background: var(--cc-surface);
	box-shadow: var(--cc-shadow-4);
	animation: cc-slide-in 0.25s ease;
}

.cc-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.cc-menu-vertical li {
	position: relative;
}

.cc-menu-vertical a {
	display: block;
	padding: 0.75rem 2.75rem 0.75rem 0.75rem;
	border-radius: var(--cc-radius);
	font-family: var(--cc-font-head);
	font-size: 15px;
	font-weight: 600;
	color: var(--cc-text);
}

.cc-menu-vertical a:hover,
.cc-menu-vertical .current-menu-item>a {
	background: var(--cc-surface-low);
	color: var(--cc-primary);
}

.cc-menu-vertical .sub-menu {
	display: none;
	margin: 0 0 0.25rem 0.75rem;
	padding: 0 0 0 0.5rem;
	list-style: none;
	border-left: 1px solid var(--cc-outline-variant);
}

.cc-menu-vertical .sub-menu a {
	font-size: 14px;
	font-weight: 500;
	color: var(--cc-text-muted);
}

.cc-menu-vertical .is-open>.sub-menu {
	display: block;
}

.cc-menu-vertical .cc-submenu-toggle {
	position: absolute;
	top: 0.25rem;
	right: 0.25rem;
	width: 2.25rem;
	height: 2.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: var(--cc-radius);
	background: transparent;
	color: var(--cc-text-muted);
	cursor: pointer;
}

.cc-menu-vertical .is-open>.cc-submenu-toggle .cc-icon {
	transform: rotate(180deg);
}

.cc-menu-secondary {
	padding-top: 0.75rem;
	margin-top: 0.75rem;
	border-top: 1px solid var(--cc-border);
}

.cc-menu-secondary a {
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cc-text-muted);
}

/* Search popup */
.cc-search-modal {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 5rem 1rem 1rem;
}

.cc-search-panel {
	position: relative;
	width: 100%;
	max-width: 42rem;
	padding: 1.5rem;
	border-radius: var(--cc-radius-xl);
	background: var(--cc-surface);
	box-shadow: var(--cc-shadow-4);
	animation: cc-pop 0.2s ease;
}

.cc-search-modal-form {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--cc-border);
}

.cc-search-modal-form input[type="search"] {
	border: 0;
	padding: 0;
	background: transparent;
	font-size: 18px;
	line-height: 30px;
	box-shadow: none;
}

.cc-trending {
	padding-top: 1rem;
}

.cc-trending .cc-eyebrow {
	margin-bottom: 0.5rem;
}

.cc-trending-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
}

@keyframes cc-fade {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes cc-slide-in {
	from {
		transform: translateX(100%);
	}

	to {
		transform: translateX(0);
	}
}

@keyframes cc-pop {
	from {
		opacity: 0;
		transform: translateY(-8px) scale(0.98);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

body.cc-lock {
	overflow: hidden;
}

/* ==========================================================================
   6. Layout grid
   ========================================================================== */

.cc-site-content {
	min-height: 50vh;
}

.cc-main-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
	padding-bottom: 2.5rem;
}

@media (min-width: 1024px) {
	.cc-main-grid--right {
		grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
		gap: 2.5rem;
	}

	.cc-main-grid--left {
		grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
		gap: 2.5rem;
	}

	.cc-main-grid--left>.cc-sidebar {
		order: -1;
	}

	.cc-main-grid--no>.cc-article {
		max-width: var(--cc-content-width, 860px);
		margin-inline: auto;
		width: 100%;
	}
}

.cc-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.cc-grid-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cc-grid-posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.cc-main-grid--no .cc-grid-posts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ==========================================================================
   7. Page headers & breadcrumbs
   ========================================================================== */

.cc-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
	margin-bottom: 1rem;
	font-family: var(--cc-font-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--cc-outline);
}

.cc-breadcrumbs a {
	color: var(--cc-outline);
}

.cc-breadcrumbs a:hover {
	color: var(--cc-primary);
}

.cc-crumb-sep {
	font-size: 14px;
}

.cc-crumb-current {
	color: var(--cc-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 60ch;
}

.cc-page-header {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.cc-page-header .cc-eyebrow {
	margin-bottom: 0.5rem;
}

.cc-page-title {
	font-size: 32px;
	line-height: 38px;
	letter-spacing: -0.025em;
	margin: 0;
	max-width: 60rem;
}

.cc-page-desc {
	max-width: none;
	margin-top: 0.75rem;
	color: var(--cc-text-muted);
}

.cc-page-desc p:last-child {
	margin-bottom: 0;
}

.cc-page-header--narrow {
	max-width: calc(var(--cc-content-width, 860px) + var(--cc-gutter) * 2);
}

.cc-archive-author img {
	width: 72px;
	height: 72px;
	border-radius: 999px;
	margin-bottom: 1rem;
	box-shadow: 0 0 0 4px var(--cc-surface-highest);
}

@media (min-width: 1024px) {
	.cc-page-title {
		font-size: 44px;
		line-height: 52px;
	}
}

/* ==========================================================================
   8. Post cards
   ========================================================================== */

.cc-card-post {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--cc-radius-xl);
	background: var(--cc-surface);
	border: 1px solid var(--cc-border);
	box-shadow: var(--cc-shadow-1);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cc-card-post:hover {
	transform: translateY(-2px);
	box-shadow: var(--cc-shadow-2);
	border-color: color-mix(in srgb, var(--cc-primary) 40%, transparent);
}

.cc-card-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--cc-surface-mid);
}

.cc-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.cc-card-post:hover .cc-card-media img {
	transform: scale(1.05);
}

.cc-card-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--cc-outline);
	background: linear-gradient(135deg, var(--cc-surface-mid), var(--cc-surface-highest));
}

.cc-card-placeholder .cc-icon {
	font-size: 40px;
}

.cc-card-time {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	padding: 0.125rem 0.5rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--cc-surface) 90%, transparent);
	color: var(--cc-text);
	font-family: var(--cc-font-head);
	font-size: 11px;
	font-weight: 600;
}

.cc-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1rem 1.125rem 1.125rem;
}

.cc-card-top {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.cc-card-title {
	margin: 0;
	font-size: var(--cc-fs-card, 20px);
	line-height: 1.35;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.cc-card-title a {
	color: var(--cc-text);
}

.cc-card-post:hover .cc-card-title a,
.cc-card-title a:hover {
	color: var(--cc-primary);
}

.cc-card-title .cc-icon {
	font-size: 18px;
	vertical-align: -3px;
}

.cc-card-excerpt {
	margin: 0.25rem 0 0;
	color: var(--cc-text-muted);
	font-size: 14px;
	line-height: 22px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cc-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding-top: 0.5rem;
}

/* ==========================================================================
   Lead story: full-width image, title below
   ========================================================================== */

.cc-lead-post.cc-lead-overlay {
	display: block;
	padding: 0;
}

.cc-lead-overlay .cc-lead-media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	min-height: 0;
	margin: 0;
	border-radius: 0;
}

.cc-lead-overlay .cc-lead-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cc-lead-overlay .cc-lead-body {
	display: block;
	padding: 1rem 1.25rem 1.25rem;
}

.cc-lead-overlay .cc-cat-pill {
	display: inline-block;
	margin-bottom: 0.5rem;
}

.cc-lead-overlay .cc-lead-title {
	margin: 0;
	font-size: 22px;
	line-height: 1.3;
}

.cc-lead-overlay .cc-lead-title a {
	color: var(--cc-text);
}

.cc-lead-overlay .cc-lead-title a:hover {
	color: var(--cc-primary);
}

@media (min-width: 768px) {
	.cc-lead-overlay .cc-lead-body {
		padding: 1.25rem 1.5rem 1.5rem;
	}

	.cc-lead-overlay .cc-lead-title {
		font-size: 28px;
	}
}

@media (min-width: 1100px) {
	.cc-lead-overlay .cc-lead-title {
		font-size: 32px;
		line-height: 1.25;
	}
}

.cc-design-editorial .cc-lead-overlay .cc-lead-media {
	margin-top: 0.75rem;
}

.cc-design-editorial .cc-lead-overlay .cc-lead-body {
	padding: 1rem 0 0.5rem;
}

/* Pagination */
.cc-pagination {
	margin-top: 2.5rem;
}

.cc-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.375rem;
}

.cc-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border-radius: var(--cc-radius);
	background: var(--cc-surface-low);
	color: var(--cc-text);
	font-family: var(--cc-font-head);
	font-weight: 600;
	font-size: 14px;
}

.cc-pagination a.page-numbers:hover {
	background: var(--cc-surface-high);
	color: var(--cc-primary);
}

.cc-pagination .page-numbers.current {
	background: var(--cc-primary);
	color: #fff;
}

.cc-empty {
	text-align: center;
	padding: 3rem 1.5rem;
}

.cc-empty .cc-h-md {
	justify-content: center;
	margin-bottom: 0.5rem;
}

.cc-empty-icon {
	font-size: 48px;
	color: var(--cc-outline);
	margin-bottom: 0.5rem;
}

.cc-empty .cc-search-form {
	max-width: 28rem;
	margin: 1rem auto 0;
}

/* ==========================================================================
   9. Single post: header, hero
   ========================================================================== */

.cc-single-top {
	padding-top: 1.5rem;
}

.cc-single-top .cc-breadcrumbs {
	margin-bottom: 0.5rem;
}

.cc-article-header {
	padding-bottom: 1.5rem;
}

.cc-article-title {
	max-width: 64rem;
	margin: 0 0 1rem;
	font-size: clamp(26px, 6.5vw, var(--cc-fs-title, 44px));
	line-height: 1.18;
	letter-spacing: -0.025em;
}

.cc-meta-strip {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 0.25rem 0 0.75rem;
}

@media (min-width: 1024px) {
	.cc-meta-strip {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

.cc-byline {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.cc-byline-avatar img {
	width: 3rem;
	height: 3rem;
	border-radius: 999px;
	object-fit: cover;
	box-shadow: 0 0 0 2px var(--cc-primary-soft);
}

.cc-byline-text {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.cc-byline-name-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.375rem;
}

.cc-byline-name {
	font-family: var(--cc-font-head);
	font-weight: 600;
	color: var(--cc-text);
}

.cc-byline-name:hover {
	color: var(--cc-primary);
}

.cc-byline-name-row .cc-label {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.cc-verified {
	color: var(--cc-primary);
	font-size: 16px;
}

.cc-byline-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.5rem;
	font-size: 11px;
}

.cc-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.375rem;
}

.cc-share-label {
	margin-right: 0.25rem;
	text-transform: uppercase;
	font-size: 10px;
}

.cc-share .cc-icon-btn {
	width: 2.25rem;
	height: 2.25rem;
	font-size: 15px;
}

.cc-share .cc-share-whatsapp:hover {
	background: var(--cc-teal);
}

.cc-copy-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	height: 2.25rem;
	padding: 0 0.75rem;
	border: 0;
	border-radius: var(--cc-radius);
	background: var(--cc-surface-high);
	color: var(--cc-text);
	font-family: var(--cc-font-head);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.cc-copy-link .cc-icon {
	font-size: 16px;
}

.cc-copy-link:hover,
.cc-copy-link.is-copied {
	background: var(--cc-primary);
	color: #fff;
}

@media (max-width: 767px) {

	.cc-share-label,
	.cc-copy-text {
		display: none;
	}
}

.cc-topics {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.375rem;
	padding-top: 0.25rem;
}

.cc-topics .cc-label {
	text-transform: uppercase;
	font-size: 10px;
	margin-right: 0.25rem;
}

.cc-topic {
	padding: 0.125rem 0.5rem;
	border-radius: var(--cc-radius-sm);
	background: var(--cc-surface-low);
	color: var(--cc-text-muted);
	font-family: var(--cc-font-head);
	font-size: 11px;
	font-weight: 600;
}

.cc-topic:hover {
	background: var(--cc-surface-mid);
	color: var(--cc-primary);
}

/* Hero image */
.cc-hero {
	margin: 0 auto;
	padding-bottom: 2.5rem;
}

.cc-hero-frame {
	position: relative;
	overflow: hidden;
	border-radius: var(--cc-radius-xl);
	background: var(--cc-surface-high);
	box-shadow: 0 20px 40px -12px rgba(15, 23, 42, 0.25);
	aspect-ratio: 16 / 9;
}

.cc-hero-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cc-hero-caption {
	position: absolute;
	inset: auto 0 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 3rem 1rem 1rem;
	background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent);
	color: #eef0ff;
}

.cc-hero-eyebrow {
	font-family: var(--cc-font-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #89f5e7;
}

.cc-hero-text {
	max-width: 56rem;
	font-size: 14px;
	line-height: 22px;
	opacity: 0.92;
}

.cc-hero--narrow {
	max-width: calc(var(--cc-content-width, 860px) + var(--cc-gutter) * 2);
}

@media (min-width: 1024px) {
	.cc-hero-caption {
		padding: 4rem 1.5rem 1.5rem;
	}
}

/* ==========================================================================
   10. Article body
   ========================================================================== */

.cc-article {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	min-width: 0;
}

.cc-lead,
.cc-has-dropcap-lead>p:first-child {
	font-size: 18px;
	line-height: 30px;
	font-weight: 500;
	color: var(--cc-text);
	margin: 0;
}

.cc-has-dropcap-lead>p:first-child {
	margin-bottom: 1.25em;
}

/* Inline table of contents */
.cc-inline-toc {
	padding: 1rem;
	border-radius: var(--cc-radius-xl);
	background: var(--cc-surface-low);
	box-shadow: var(--cc-shadow-1);
}

.cc-inline-toc .cc-eyebrow {
	font-size: 12px;
	margin-bottom: 0.75rem;
}

.cc-inline-toc-grid {
	display: grid;
	gap: 0.25rem;
}

@media (min-width: 640px) {
	.cc-inline-toc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.cc-inline-toc-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.5rem;
	border-radius: var(--cc-radius-sm);
	background: var(--cc-bg);
	color: var(--cc-text);
	font-family: var(--cc-font-head);
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
}

.cc-inline-toc-link .cc-icon {
	font-size: 14px;
	color: var(--cc-outline);
}

.cc-inline-toc-link:hover {
	background: var(--cc-surface-mid);
	color: var(--cc-primary);
}

/* Content typography */
.cc-entry-content {
	color: var(--cc-text-muted);
	font-size: var(--cc-fs-content, 17px);
	line-height: var(--cc-lh-content, 1.75);
	overflow-wrap: break-word;
	counter-reset: cc-section;
}

.cc-entry-content>* {
	margin-top: 0;
	margin-bottom: 1.25em;
}

.cc-entry-content>*:last-child {
	margin-bottom: 0;
}

.cc-entry-content a {
	color: var(--cc-link-color);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.cc-entry-content a:hover {
	text-decoration-thickness: 2px;
}

.cc-entry-content strong,
.cc-entry-content b {
	color: var(--cc-text);
	font-weight: 700;
}

.cc-entry-content h2,
.cc-entry-content h3,
.cc-entry-content h4,
.cc-entry-content h5,
.cc-entry-content h6 {
	color: var(--cc-text);
	scroll-margin-top: var(--cc-sticky-top);
}

.cc-entry-content h2 {
	position: relative;
	font-size: clamp(20px, 5.5vw, var(--cc-fs-h2, 28px));
	line-height: 1.28;
	font-weight: 600;
	margin-top: 2em;
	margin-bottom: 0.6em;
}

.cc-entry-content h3 {
	font-size: var(--cc-fs-h3, 20px);
	line-height: 1.4;
	font-weight: 600;
	margin-top: 1.6em;
	margin-bottom: 0.5em;
}

.cc-entry-content h4 {
	font-size: 18px;
	margin-top: 1.5em;
}



/* "SECTION 01 —" eyebrow above each H2 */
.cc-section-numbers .cc-entry-content h2 {
	counter-increment: cc-section;
	padding-top: 1.25rem;
}

.cc-section-numbers .cc-entry-content h2::before {
	content: var(--cc-section-label, "SECTION") " " counter(cc-section, decimal-leading-zero) "  \2014";
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--cc-font-head);
	font-size: 10px;
	font-weight: 700;
	line-height: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cc-outline);
}

/* Lists with check / number markers */
.cc-entry-content ul,
.cc-entry-content ol {
	padding-left: 0;
	list-style: none;
}

.cc-entry-content ul>li,
.cc-entry-content ol>li {
	position: relative;
	padding-left: 2rem;
	margin-bottom: 0.5rem;
	color: var(--cc-text);
}

.cc-entry-content ul>li::before {
	content: "check_circle";
	position: absolute;
	left: 0;
	top: 0.2em;
	font-family: "Material Symbols Outlined";
	font-size: 20px;
	line-height: 1;
	color: var(--cc-primary);
}

.cc-entry-content ol {
	counter-reset: cc-ol;
}

.cc-entry-content ol>li {
	counter-increment: cc-ol;
}

.cc-entry-content ol>li::before {
	content: counter(cc-ol);
	position: absolute;
	left: 0;
	top: 0.15em;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 999px;
	background: var(--cc-primary);
	color: #fff;
	font-family: var(--cc-font-head);
	font-size: 11px;
	font-weight: 700;
}

.cc-entry-content li>ul,
.cc-entry-content li>ol {
	margin-top: 0.5rem;
}

/* Quotes */
.cc-entry-content blockquote,
.cc-entry-content .wp-block-quote {
	position: relative;
	overflow: hidden;
	margin-inline: 0;
	padding: 1.5rem 1.5rem 1.5rem 1.75rem;
	border: 0;
	border-radius: var(--cc-radius-xl);
	background: var(--cc-surface-low);
	box-shadow: var(--cc-shadow-1);
}

.cc-entry-content blockquote::before {
	content: "\201C";
	position: absolute;
	top: -1.5rem;
	left: -0.25rem;
	font-family: Georgia, serif;
	font-size: 120px;
	line-height: 1;
	color: color-mix(in srgb, var(--cc-primary) 18%, transparent);
	pointer-events: none;
}

.cc-entry-content blockquote p {
	position: relative;
	font-family: var(--cc-font-head);
	font-size: 22px;
	line-height: 1.4;
	font-weight: 600;
	font-style: italic;
	color: var(--cc-text);
	margin-bottom: 0.75rem;
}

.cc-entry-content blockquote cite,
.cc-entry-content .wp-block-quote cite {
	font-family: var(--cc-font-head);
	font-size: 11px;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cc-primary);
}

.cc-entry-content .wp-block-pullquote {
	border: 0;
	padding: 0;
}

/* Callout: use the "Callout" block style or class "cc-callout" on a Group / Paragraph */
.cc-entry-content .cc-callout,
.cc-entry-content .is-style-cc-callout,
.cc-entry-content .is-style-cc-callout-accent {
	position: relative;
	padding: 1.25rem 1.25rem 1.25rem 1.5rem;
	border-radius: var(--cc-radius-xl);
	background: var(--cc-primary-soft);
	color: var(--cc-text-muted);
	overflow: hidden;
}

.cc-entry-content .cc-callout::before,
.cc-entry-content .is-style-cc-callout::before,
.cc-entry-content .is-style-cc-callout-accent::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 6px;
	background: var(--cc-primary);
}

.cc-entry-content .cc-callout> :last-child,
.cc-entry-content .is-style-cc-callout> :last-child,
.cc-entry-content .is-style-cc-callout-accent> :last-child {
	margin-bottom: 0;
}

.cc-entry-content .is-style-cc-callout-accent {
	background: var(--cc-accent-soft);
}

.cc-entry-content .is-style-cc-callout-accent::before {
	background: var(--cc-accent);
}

/* Tables */
.cc-entry-content table,
.cc-entry-content .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 22px;
}

.cc-entry-content .wp-block-table,
.cc-entry-content>table {
	overflow-x: auto;
	border-radius: var(--cc-radius-xl);
	background: var(--cc-surface-low);
	box-shadow: 0 6px 20px -6px rgba(15, 23, 42, 0.12);
}

.cc-entry-content th,
.cc-entry-content td {
	padding: 0.75rem 1rem;
	border: 0;
	text-align: left;
	color: var(--cc-text);
}

.cc-entry-content thead th,
.cc-entry-content thead td {
	background: var(--cc-surface-mid);
	font-family: var(--cc-font-head);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cc-entry-content tbody tr:nth-child(odd) {
	background: var(--cc-surface);
}

.cc-entry-content tbody tr:nth-child(even) {
	background: var(--cc-surface-low);
}

.cc-entry-content tbody td:first-child {
	font-weight: 600;
	color: var(--cc-primary);
}

.cc-entry-content .wp-block-table thead {
	border: 0;
}

.cc-entry-content .wp-block-table figcaption {
	padding: 0.5rem 1rem;
}

/* Media */
.cc-entry-content figure {
	margin-inline: 0;
}

.cc-entry-content img,
.cc-entry-content .wp-block-image img,
.cc-entry-content .wp-block-embed iframe,
.cc-entry-content video {
	border-radius: var(--cc-radius);
}

.cc-entry-content figcaption,
.cc-entry-content .wp-caption-text,
.cc-entry-content .wp-element-caption {
	margin-top: 0.5rem;
	font-family: var(--cc-font-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--cc-outline);
	text-align: left;
}

.cc-entry-content .wp-block-gallery {
	gap: 1rem;
}

.cc-entry-content .alignleft {
	float: left;
	margin: 0.25rem 1.5rem 1rem 0;
	max-width: 50%;
}

.cc-entry-content .alignright {
	float: right;
	margin: 0.25rem 0 1rem 1.5rem;
	max-width: 50%;
}

.cc-entry-content .aligncenter {
	margin-inline: auto;
	text-align: center;
}

.cc-entry-content::after {
	content: "";
	display: table;
	clear: both;
}

/* Code */
.cc-entry-content code,
.cc-entry-content kbd {
	padding: 0.125rem 0.375rem;
	border-radius: var(--cc-radius-sm);
	background: var(--cc-surface-mid);
	color: var(--cc-text);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.875em;
}

.cc-entry-content pre {
	padding: 1.25rem;
	overflow-x: auto;
	border-radius: var(--cc-radius-lg);
	background: #0f172a;
	color: #e2e8f0;
	font-size: 14px;
	line-height: 1.6;
}

.cc-entry-content pre code {
	padding: 0;
	background: none;
	color: inherit;
}

.cc-entry-content hr,
.cc-entry-content .wp-block-separator {
	border: 0;
	height: 1px;
	background: var(--cc-border);
	margin: 2.5rem 0;
}

/* Details / FAQ accordion (core Details block or <details>) */
.cc-entry-content details {
	margin-bottom: 0.75rem;
	border-radius: var(--cc-radius-xl);
	background: var(--cc-surface-low);
	box-shadow: var(--cc-shadow-1);
	overflow: hidden;
}

.cc-entry-content details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem;
	cursor: pointer;
	list-style: none;
	font-family: var(--cc-font-head);
	font-size: 17px;
	font-weight: 600;
	color: var(--cc-text);
	transition: background-color 0.15s ease;
}

.cc-entry-content details summary::-webkit-details-marker {
	display: none;
}

.cc-entry-content details summary::after {
	content: "expand_more";
	font-family: "Material Symbols Outlined";
	font-size: 22px;
	color: var(--cc-outline);
	transition: transform 0.2s ease;
}

.cc-entry-content details[open] summary::after {
	transform: rotate(180deg);
}

.cc-entry-content details summary:hover {
	background: var(--cc-surface-mid);
}

.cc-entry-content details> :not(summary) {
	padding: 0 1rem;
}

.cc-entry-content details> :last-child {
	padding-bottom: 1rem;
	margin-bottom: 0;
}

/* Buttons & misc blocks */
.cc-entry-content .wp-block-button__link {
	color: #fff;
	text-decoration: none;
}

.cc-entry-content .is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--cc-text);
	border: 1px solid var(--cc-outline-variant);
}

.cc-entry-content .has-background {
	padding: 1.25rem 1.5rem;
	border-radius: var(--cc-radius-lg);
}

.cc-page-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.375rem;
	margin-top: 1.5rem;
}

.cc-page-links a span,
.cc-page-links>span:not(.cc-label) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	border-radius: var(--cc-radius);
	background: var(--cc-surface-low);
	text-decoration: none;
}

.cc-edit-link a {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-family: var(--cc-font-head);
	font-size: 12px;
	font-weight: 600;
}

/* Pages */
.cc-page-body {
	max-width: calc(var(--cc-content-width, 860px) + var(--cc-gutter) * 2);
	padding-bottom: 3rem;
}

.cc-fullwidth>.alignfull {
	margin-inline: 0;
}

/* ==========================================================================
   11. Post navigation, author box
   ========================================================================== */

.cc-post-nav {
	display: grid;
	gap: 1rem;
	padding-top: 1rem;
}

@media (min-width: 768px) {
	.cc-post-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.cc-post-nav-card {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1rem 1.25rem;
	border-radius: var(--cc-radius-xl);
	background: var(--cc-surface-low);
	box-shadow: var(--cc-shadow-1);
	color: var(--cc-text);
}

.cc-post-nav-card:hover {
	background: var(--cc-surface-mid);
}

.cc-post-nav-next {
	text-align: right;
	align-items: flex-end;
}

.cc-post-nav-title {
	font-family: var(--cc-font-head);
	font-size: 18px;
	line-height: 26px;
	font-weight: 600;
	color: var(--cc-text);
	transition: color 0.15s ease;
}

.cc-post-nav-card:hover .cc-post-nav-title {
	color: var(--cc-primary);
}

.cc-author-box {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	background: var(--cc-surface-mid);
}

@media (min-width: 640px) {
	.cc-author-box {
		flex-direction: row;
		align-items: center;
	}
}

.cc-author-avatar img {
	width: 5rem;
	height: 5rem;
	border-radius: 999px;
	object-fit: cover;
	box-shadow: 0 0 0 4px var(--cc-surface-highest), var(--cc-shadow-1);
}

.cc-author-body {
	flex: 1;
}

.cc-author-name-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.375rem;
}

.cc-author-name {
	font-family: var(--cc-font-head);
	font-size: 20px;
	font-weight: 700;
	color: var(--cc-text);
}

.cc-author-bio {
	margin: 0.25rem 0 0.75rem;
	font-size: 14px;
	line-height: 22px;
	color: var(--cc-text-muted);
}

.cc-author-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.cc-author-links a {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	color: var(--cc-outline);
}

.cc-author-links a:hover {
	color: var(--cc-primary);
}

.cc-author-links .cc-icon {
	font-size: 16px;
}

/* ==========================================================================
   12. Comments
   ========================================================================== */

.cc-comments {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding-top: 1rem;
}

.cc-comments-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.cc-comments-head .cc-label {
	text-transform: uppercase;
	font-size: 10px;
}

.comment-respond {
	padding: 1.5rem;
	border-radius: var(--cc-radius-xl);
	background: var(--cc-surface-low);
	box-shadow: var(--cc-shadow-1);
}

.cc-comment-list .comment-respond {
	margin-top: 1rem;
	background: var(--cc-surface);
}

.comment-reply-title small {
	margin-left: 0.5rem;
	font-size: 12px;
}

.cc-comment-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.cc-comment-form .comment-notes {
	margin: -0.5rem 0 0;
	font-size: 14px;
}

.cc-comment-form p {
	margin: 0;
}

.cc-field label {
	display: block;
	margin-bottom: 0.25rem;
	font-family: var(--cc-font-head);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cc-text);
}

.cc-form-grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 640px) {
	.cc-form-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 14px;
	color: var(--cc-text-muted);
}

.comment-form-cookies-consent label {
	margin: 0;
}

.cc-comment-list,
.cc-comment-list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-comment-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.cc-comment-list>.cc-comment>.cc-comment-body {
	padding: 1rem;
	border-radius: var(--cc-radius-xl);
	background: var(--cc-surface-low);
	box-shadow: var(--cc-shadow-1);
}

.cc-comment-list .children {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0.75rem 0 0 1.5rem;
}

@media (min-width: 640px) {
	.cc-comment-list .children {
		margin-left: 2.75rem;
	}
}

.cc-comment-list .children .cc-comment-body {
	padding: 0.75rem 1rem;
	border-radius: var(--cc-radius);
	background: var(--cc-surface-mid);
}

.cc-comment-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
}

.cc-comment-author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.cc-comment-author img {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	object-fit: cover;
}

.cc-comment-name-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
}

.cc-comment-name,
.cc-comment-name a {
	font-family: var(--cc-font-head);
	font-weight: 600;
	color: var(--cc-text);
}

.bypostauthor>.cc-comment-body .cc-comment-name,
.bypostauthor>.cc-comment-body .cc-comment-name a {
	color: var(--cc-primary);
}

.cc-comment-name-row .cc-chip-solid {
	font-size: 9px;
	padding: 0 0.375rem;
	border-radius: var(--cc-radius-sm);
}

.cc-comment-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

.cc-comment-actions a {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	color: var(--cc-outline);
}

.cc-comment-actions a:hover {
	color: var(--cc-primary);
}

.cc-comment-actions .cc-icon {
	font-size: 16px;
}

.cc-comment-content {
	padding-top: 0.5rem;
	color: var(--cc-text-muted);
}

@media (min-width: 640px) {
	.cc-comment-content {
		padding-left: 3rem;
	}
}

.cc-comment-content p:last-child {
	margin-bottom: 0;
}

.cc-comment-moderation {
	margin: 0.5rem 0 0;
	font-size: 13px;
	color: var(--cc-accent);
}

.comment-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	font-family: var(--cc-font-head);
	font-weight: 600;
}

.comment-navigation a {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

/* ==========================================================================
   13. Sidebar & widgets
   ========================================================================== */

.cc-sidebar {
	min-width: 0;
}

.cc-sidebar-inner {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

@media (min-width: 1024px) {
	.cc-main-grid>.cc-sidebar {
		align-self: stretch;
		display: flex;
		flex-direction: column;
	}

	.cc-sidebar-inner {
		flex: 1 1 auto;
	}

	/* Whole sidebar fits on screen: pin all of it. */
	.cc-sidebar-inner.is-sticky {
		flex: 0 0 auto;
		position: sticky;
		top: var(--cc-sticky-top);
	}

	/* Too tall: move the table of contents to the end and pin just that. */
	.cc-sidebar-inner:not(.is-sticky)>.cc-toc-card {
		order: 99;
		position: sticky;
		top: var(--cc-sticky-top);
	}
}

.cc-widget {
	padding: 1.25rem;
	border-radius: var(--cc-radius-xl);
	background: var(--cc-surface-low);
	box-shadow: var(--cc-shadow-1);
}

.cc-widget-title,
.cc-widget .wp-block-heading {
	margin: 0 0 0.75rem;
	font-family: var(--cc-font-head);
	font-size: 11px;
	font-weight: 700;
	line-height: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cc-outline);
}

.cc-widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-widget li {
	margin-bottom: 0.25rem;
}

.cc-widget li a {
	color: var(--cc-text);
}

.cc-widget li a:hover {
	color: var(--cc-primary);
}

.cc-widget>ul:not([class])>li>a,
.cc-widget .wp-block-latest-posts__list>li>a,
.cc-widget .wp-block-categories-list>li>a {
	display: inline-block;
	padding: 0.25rem 0;
	font-size: 14px;
}

/* Table of contents card */
.cc-toc-card {
	padding: 1.5rem;
}

.cc-toc-card .cc-eyebrow {
	font-size: 12px;
}

.cc-toc-card .cc-label {
	font-size: 10px;
	text-transform: uppercase;
}

.cc-toc-list {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	max-height: 50vh;
	overflow-y: auto;
}

.cc-toc-link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem;
	border-radius: var(--cc-radius);
	color: var(--cc-text-muted);
	font-family: var(--cc-font-head);
	font-size: 13px;
	font-weight: 500;
	line-height: 18px;
}

.cc-toc-link:hover {
	background: var(--cc-surface-mid);
	color: var(--cc-primary);
}

.cc-toc-dot {
	width: 6px;
	height: 6px;
	flex-shrink: 0;
	border-radius: 999px;
	background: var(--cc-outline-variant);
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.cc-toc-link.is-active {
	background: var(--cc-surface-mid);
	color: var(--cc-primary);
	font-weight: 600;
}

.cc-toc-link.is-active .cc-toc-dot {
	background: var(--cc-primary);
	transform: scale(1.3);
}

/* Newsletter box */
.cc-newsletter-box {
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--cc-primary) 15%, transparent), transparent 60%),
		linear-gradient(315deg, color-mix(in srgb, var(--cc-accent) 12%, transparent), transparent 60%),
		var(--cc-surface-mid);
}

.cc-newsletter-box .cc-eyebrow {
	margin-bottom: 0.5rem;
}

.cc-newsletter-box p {
	margin-bottom: 0.75rem;
}

.cc-newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.cc-newsletter-form input[type="email"] {
	min-height: 40px;
}

.cc-newsletter-form .cc-btn {
	min-height: 40px;
	font-size: 11px;
}

/* Category counts */
.cc-count-list li {
	margin: 0;
}

.cc-count-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.375rem;
	border-radius: var(--cc-radius-sm);
	font-size: 14px;
}

.cc-count-list a:hover {
	background: var(--cc-surface-mid);
}

.cc-count {
	padding: 0.125rem 0.5rem;
	border-radius: 999px;
	background: var(--cc-surface-mid);
	color: var(--cc-outline);
	font-family: var(--cc-font-head);
	font-size: 11px;
	font-weight: 600;
}

/* Archives as a 2-column grid */
.cc-archive-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.25rem;
}

.cc-archive-grid li {
	margin: 0;
	padding: 0.375rem;
	border-radius: var(--cc-radius-sm);
	background: var(--cc-surface-highest);
	font-family: var(--cc-font-head);
	font-size: 11px;
	font-weight: 600;
	color: var(--cc-text-muted);
}

.cc-archive-grid li a {
	color: var(--cc-text-muted);
}

/* Mini posts widget */
.cc-mini-posts {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.cc-mini-post {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 !important;
}

.cc-mini-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 54px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: var(--cc-radius);
	background: var(--cc-surface-mid);
	color: var(--cc-outline);
}

.cc-mini-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cc-mini-body {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	min-width: 0;
}

.cc-mini-title {
	font-family: var(--cc-font-head);
	font-size: 14px;
	font-weight: 600;
	line-height: 19px;
	color: var(--cc-text) !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cc-mini-title:hover {
	color: var(--cc-primary) !important;
}

/* Core widget tweaks */
.cc-widget .wp-block-search__inside-wrapper {
	gap: 0.25rem;
}

.cc-widget .wp-block-search__button {
	margin: 0;
}

.cc-widget .tagcloud a,
.cc-widget .wp-block-tag-cloud a {
	display: inline-flex;
	margin: 0 0.25rem 0.375rem 0;
	padding: 0.25rem 0.625rem;
	border-radius: 999px;
	background: var(--cc-surface-mid);
	color: var(--cc-text);
	font-family: var(--cc-font-head);
	font-size: 12px !important;
	font-weight: 600;
}

.cc-widget .tagcloud a:hover,
.cc-widget .wp-block-tag-cloud a:hover {
	background: var(--cc-primary);
	color: #fff;
}

/* ==========================================================================
   14. Related posts band
   ========================================================================== */

.cc-related {
	padding: 2.5rem 0;
	background: var(--cc-surface-low);
}

.cc-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.cc-related .cc-card-post {
	background: var(--cc-surface);
}

@media (min-width: 1024px) {
	.cc-related .cc-h-md {
		font-size: 28px;
		line-height: 36px;
	}
}

/* ==========================================================================
   15. 404
   ========================================================================== */

.cc-404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	max-width: 44rem;
	padding-top: 4rem;
	padding-bottom: 4rem;
	text-align: center;
}

.cc-404-title {
	margin: 0;
	font-size: 40px;
	line-height: 46px;
	letter-spacing: -0.03em;
}

.cc-404-search {
	width: 100%;
	max-width: 30rem;
}

@media (min-width: 768px) {
	.cc-404-title {
		font-size: 56px;
		line-height: 64px;
	}
}

/* ==========================================================================
   16. Footer
   ========================================================================== */

.cc-footer {
	padding: 2.5rem 0 1.5rem;
	background: var(--cc-footer-bg, var(--cc-surface-low));
	color: var(--cc-footer-text, var(--cc-text));
}

.cc-related+.cc-footer,
.cc-site-content:has(> .cc-related:last-child)+.cc-footer {
	border-top: 1px solid var(--cc-border);
}

.cc-footer-grid {
	display: grid;
	gap: 2rem;
	padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
	.cc-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.cc-footer-grid {
		grid-template-columns: 4fr 2fr 2fr 4fr;
		gap: 1.5rem;
	}
}

.cc-footer-brand,
.cc-footer-news,
.cc-footer-col {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.cc-footer-brand p,
.cc-footer-news p {
	max-width: 24rem;
	margin: 0;
}

.cc-footer-title {
	margin: 0;
	font-family: var(--cc-font-head);
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cc-primary);
}

.cc-footer-links {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.cc-footer-links a {
	color: var(--cc-text-muted);
}

.cc-footer-links a:hover {
	color: var(--cc-primary);
}

.cc-footer-links .children {
	display: none;
}

.cc-newsletter-footer {
	gap: 0.5rem;
}

@media (min-width: 640px) {
	.cc-newsletter-footer {
		flex-direction: row;
	}

	.cc-newsletter-footer input[type="email"] {
		flex: 1;
	}
}

.cc-newsletter-footer input[type="email"],
.cc-newsletter-footer .cc-btn {
	min-height: 44px;
}

.cc-footer-bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--cc-border);
	text-align: center;
}

.cc-footer-bottom p {
	margin: 0;
}

.cc-footer-tagline {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-transform: uppercase;
	font-size: 10px;
}

@media (min-width: 768px) {
	.cc-footer-bottom {
		flex-direction: row;
		text-align: left;
	}
}

/* Back to top */
.cc-back-to-top {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border: 0;
	border-radius: 999px;
	background: var(--cc-primary);
	color: #fff;
	box-shadow: 0 10px 25px -5px color-mix(in srgb, var(--cc-primary) 45%, transparent);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.15s ease;
}

.cc-back-to-top .cc-icon {
	font-size: 26px;
}

.cc-back-to-top:hover {
	background: var(--cc-primary-deep);
}

.cc-back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

/* ==========================================================================
   17. WordPress core classes
   ========================================================================== */

.alignwide {
	max-width: 1100px;
}

.alignfull {
	max-width: none;
}

.wp-caption {
	max-width: 100%;
}

.gallery-caption {
	display: block;
}

.sticky {
	display: block;
}

.bypostauthor {
	display: block;
}

.wp-block-search__input {
	border-radius: var(--cc-radius);
}

/* Elementor: let its sections span the full content width */
.elementor-page .cc-fullwidth,
.cc-fullwidth {
	width: 100%;
}

/* ==========================================================================
   18. Motion & print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

@media print {

	.cc-header,
	.cc-progress,
	.cc-sidebar,
	.cc-share,
	.cc-related,
	.cc-comments,
	.cc-footer,
	.cc-back-to-top,
	.cc-post-nav {
		display: none !important;
	}

	.cc-main-grid {
		display: block;
	}

	body {
		background: #fff;
		color: #000;
	}
}

/* ==========================================================================
   19. Designs (Customize → CyberClipper Options → Design)
   ========================================================================== */

/* --- Midnight Terminal ---------------------------------------------------- */
body.cc-design-midnight {
	--cc-primary: #06b6d4;
	--cc-accent: #f43f5e;
	--cc-teal: #22c55e;
	--cc-on-primary: #03161c;
	--cc-radius-sm: 0.125rem;
	--cc-radius: 0.25rem;
	--cc-radius-lg: 0.375rem;
	--cc-radius-xl: 0.5rem;
}

html:not(.cc-dark) body.cc-design-midnight {
	--cc-bg: #f4f7fb;
	--cc-surface: #ffffff;
	--cc-surface-low: #eef3f9;
	--cc-surface-mid: #e4ebf4;
	--cc-surface-high: #d9e2ee;
	--cc-surface-highest: #ccd7e6;
	--cc-text: #0b1220;
	--cc-text-muted: #3b4557;
	--cc-outline: #5f6b7e;
	--cc-outline-variant: #c5cfdd;
}

html.cc-dark body.cc-design-midnight {
	--cc-bg: #05070c;
	--cc-surface: #0b1018;
	--cc-surface-low: #0e141e;
	--cc-surface-mid: #131b27;
	--cc-surface-high: #1a2331;
	--cc-surface-highest: #243042;
	--cc-text: #e6f1ff;
	--cc-text-muted: #a5b4c8;
	--cc-outline: #7d8ba1;
	--cc-outline-variant: #253043;
	--cc-border: rgba(103, 232, 249, 0.12);
}

.cc-design-midnight .cc-eyebrow,
.cc-design-midnight .cc-label,
.cc-design-midnight .cc-cat,
.cc-design-midnight .cc-badge,
.cc-design-midnight .cc-topbar-date,
.cc-design-midnight .cc-topbar-menu a,
.cc-design-midnight .cc-widget-title,
.cc-design-midnight .cc-card-time,
.cc-design-midnight .cc-section-numbers .cc-entry-content h2::before {
	font-family: ui-monospace, "JetBrains Mono", SFMono-Regular, Menlo, Consolas, monospace;
	letter-spacing: 0.04em;
}

.cc-design-midnight .cc-card-post,
.cc-design-midnight .cc-widget,
.cc-design-midnight .cc-card,
.cc-design-midnight .cc-lead-post {
	border: 1px solid var(--cc-border);
}

html.cc-dark .cc-design-midnight .cc-card-post:hover,
html.cc-dark .cc-design-midnight .cc-lead-post:hover {
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--cc-primary) 50%, transparent), 0 12px 40px -10px color-mix(in srgb, var(--cc-primary) 35%, transparent);
}

.cc-design-midnight .cc-brand-mark {
	background: linear-gradient(135deg, var(--cc-primary), var(--cc-teal));
	color: var(--cc-on-primary);
}

.cc-design-midnight .cc-progress span {
	background: linear-gradient(90deg, var(--cc-primary), var(--cc-teal));
}

.cc-design-midnight h1,
.cc-design-midnight h2,
.cc-design-midnight h3 {
	letter-spacing: -0.015em;
}

/* --- Classic Print -------------------------------------------------------- */
body.cc-design-editorial {
	--cc-primary: #b4231b;
	--cc-accent: #1f3a8a;
	--cc-teal: #1f6f5c;
	--cc-radius-sm: 0;
	--cc-radius: 2px;
	--cc-radius-lg: 2px;
	--cc-radius-xl: 3px;
	--cc-shadow-1: none;
}

html:not(.cc-dark) body.cc-design-editorial {
	--cc-bg: #fbf8f3;
	--cc-surface: #fffdf9;
	--cc-surface-low: #f5f0e8;
	--cc-surface-mid: #eee7dc;
	--cc-surface-high: #e6ddcf;
	--cc-surface-highest: #dccfbd;
	--cc-text: #151311;
	--cc-text-muted: #3d3934;
	--cc-outline: #6f6861;
	--cc-outline-variant: #d6cdbf;
	--cc-border: rgba(21, 19, 17, 0.14);
}

html.cc-dark body.cc-design-editorial {
	--cc-bg: #12110f;
	--cc-surface: #1a1816;
	--cc-surface-low: #1e1c19;
	--cc-surface-mid: #25221e;
	--cc-surface-high: #2d2a25;
	--cc-surface-highest: #38342e;
	--cc-text: #f3ede4;
	--cc-text-muted: #cfc6b8;
	--cc-outline: #a0978a;
	--cc-outline-variant: #3e3a33;
	--cc-border: rgba(243, 237, 228, 0.14);
	--cc-primary: #e0564d;
	--cc-accent: #8fa8f0;
}

body.cc-design-editorial {
	--cc-shadow-2: none;
}

.cc-design-editorial .cc-header {
	box-shadow: none;
	border-bottom: 3px double var(--cc-text);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	background: var(--cc-header-bg, var(--cc-bg));
}

.cc-design-editorial .cc-brand-name {
	font-size: 24px;
	letter-spacing: 0;
	text-transform: none;
}

.cc-design-editorial .cc-brand-mark {
	background: var(--cc-text);
	color: var(--cc-bg);
}

.cc-design-editorial .cc-card-post,
.cc-design-editorial .cc-lead-post {
	background: transparent;
	border: 0;
	border-top: 3px solid var(--cc-text);
	border-radius: 0;
	box-shadow: none;
}

.cc-design-editorial .cc-card-media,
.cc-design-editorial .cc-lead-media {
	border-radius: 0;
	margin-top: 0.75rem;
}

.cc-design-editorial .cc-card-body {
	padding: 0.875rem 0 0.5rem;
}

.cc-design-editorial .cc-lead-body {
	padding: 1.25rem 0 0.5rem 0;
}

.cc-design-editorial .cc-card-post:hover {
	transform: none;
	box-shadow: none;
}

@media (min-width: 1100px) {
	.cc-design-editorial .cc-lead-body {
		padding: 1.25rem 0 1.25rem 2rem;
	}
}

.cc-design-editorial .cc-widget,
.cc-design-editorial .cc-card,
.cc-design-editorial .cc-inline-toc,
.cc-design-editorial .comment-respond,
.cc-design-editorial .cc-comment-list>.cc-comment>.cc-comment-body {
	background: transparent;
	border: 1px solid var(--cc-border);
	box-shadow: none;
}

.cc-design-editorial .cc-widget-title {
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--cc-text);
	color: var(--cc-text);
}

.cc-design-editorial .cc-cat-pill,
.cc-design-editorial .cc-badge {
	border-radius: 0;
}

.cc-design-editorial .cc-article-title {
	letter-spacing: -0.01em;
}

.cc-design-editorial .cc-entry-content blockquote {
	border-left: 4px solid var(--cc-primary);
	background: transparent;
}

.cc-design-editorial .cc-entry-content blockquote::before {
	display: none;
}

.cc-design-editorial .cc-hero-frame {
	border-radius: 0;
	box-shadow: none;
}

.cc-design-editorial .cc-related {
	background: transparent;
	border-top: 3px double var(--cc-text);
}

.cc-design-editorial .cc-footer {
	border-top: 3px double var(--cc-text);
}

.cc-design-editorial .cc-btn,
.cc-design-editorial .cc-icon-btn {
	border-radius: 0;
}

/* Text on primary-colored backgrounds */
.cc-btn-primary,
.cc-chip-solid,
.cc-pagination .page-numbers.current,
.cc-back-to-top,
.cc-entry-content ol>li::before,
.cc-copy-link:hover,
.cc-copy-link.is-copied,
.cc-icon-btn:not(.cc-ghost):hover,
.cc-pill-link:hover,
.cc-social-link:hover,
.cc-widget .tagcloud a:hover,
.cc-widget .wp-block-tag-cloud a:hover,
:where(input[type="submit"], button[type="submit"]:not(.cc-icon-btn)):not(.cc-btn-accent):not(.cc-btn-danger):not(.submit) {
	color: var(--cc-on-primary, #fff);
}

.cc-btn-primary:hover {
	color: var(--cc-on-primary, #fff);
}

/* ==========================================================================
   20. Shape, shadow & motion options
   ========================================================================== */

body.cc-corners-sharp {
	--cc-radius-sm: 0;
	--cc-radius: 0;
	--cc-radius-lg: 0;
	--cc-radius-xl: 0;
}

body.cc-corners-soft {
	--cc-radius-sm: 2px;
	--cc-radius: 4px;
	--cc-radius-lg: 6px;
	--cc-radius-xl: 8px;
}

body.cc-corners-round {
	--cc-radius-sm: 6px;
	--cc-radius: 10px;
	--cc-radius-lg: 14px;
	--cc-radius-xl: 20px;
}

body.cc-no-shadow {
	--cc-shadow-1: none;
	--cc-shadow-2: none;
}

.cc-no-shadow .cc-card-post,
.cc-no-shadow .cc-lead-post {
	border: 1px solid var(--cc-border);
}

.cc-no-hover .cc-card-post:hover,
.cc-no-hover .cc-lead-post:hover {
	transform: none;
}

.cc-no-hover .cc-card-post:hover .cc-card-media img,
.cc-no-hover .cc-lead-post:hover .cc-lead-media img {
	transform: none;
}

.cc-flat-header .cc-header,
.cc-flat-header .cc-header.is-scrolled {
	box-shadow: none;
	border-bottom: 1px solid var(--cc-border);
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	background: var(--cc-header-bg, var(--cc-bg));
}

/* ==========================================================================
   21. Post list styles, columns & image shapes
   ========================================================================== */

.cc-card-post {
	position: relative;
}

.cc-ratio-3-2 .cc-card-media {
	aspect-ratio: 3 / 2;
}

.cc-ratio-4-3 .cc-card-media {
	aspect-ratio: 4 / 3;
}

.cc-ratio-1-1 .cc-card-media {
	aspect-ratio: 1 / 1;
}

@media (min-width: 768px) {
	.cc-cols-1 .cc-grid-posts {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (min-width: 1024px) {
	.cc-cols-3 .cc-grid-posts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* List */
.cc-blog-list .cc-grid-posts {
	grid-template-columns: minmax(0, 1fr) !important;
}

@media (min-width: 640px) {
	.cc-blog-list .cc-grid-posts .cc-card-post {
		flex-direction: row;
	}

	.cc-blog-list .cc-grid-posts .cc-card-media {
		width: 40%;
		flex-shrink: 0;
		align-self: stretch;
		aspect-ratio: auto;
		min-height: 200px;
	}

	.cc-blog-list .cc-grid-posts .cc-card-body {
		padding: 1.25rem 1.5rem;
	}

	.cc-blog-list .cc-grid-posts .cc-card-title {
		font-size: calc(var(--cc-fs-card, 20px) * 1.15);
	}

	.cc-blog-list .cc-grid-posts .cc-card-save {
		left: calc(40% - 3rem);
		right: auto;
	}
}

/* Overlay */
.cc-blog-overlay .cc-grid-posts .cc-card-post {
	min-height: 360px;
	justify-content: flex-end;
	border: 0;
}

.cc-blog-overlay .cc-grid-posts .cc-card-media {
	position: absolute;
	inset: 0;
	aspect-ratio: auto;
}

.cc-blog-overlay .cc-grid-posts .cc-card-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(8, 12, 24, 0.92) 10%, rgba(8, 12, 24, 0.35) 55%, transparent);
}

.cc-blog-overlay .cc-grid-posts .cc-card-body {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	pointer-events: none;
}

.cc-blog-overlay .cc-grid-posts .cc-card-body a {
	pointer-events: auto;
}

.cc-blog-overlay .cc-grid-posts .cc-card-title a,
.cc-blog-overlay .cc-grid-posts .cc-card-excerpt,
.cc-blog-overlay .cc-grid-posts .cc-card-meta,
.cc-blog-overlay .cc-grid-posts .cc-card-meta a {
	color: #f1f5f9;
}

.cc-blog-overlay .cc-grid-posts .cc-cat-label {
	color: #fff;
	filter: none;
}

.cc-blog-overlay .cc-grid-posts .cc-card-post:hover .cc-card-title a {
	color: #fff;
	text-decoration: underline;
}

.cc-design-editorial.cc-blog-overlay .cc-grid-posts .cc-card-media {
	margin-top: 0;
}

.cc-design-editorial.cc-blog-overlay .cc-grid-posts .cc-card-body {
	padding: 1rem;
}

/* Card extras */
.cc-card-save {
	position: absolute;
	top: 0.625rem;
	right: 0.625rem;
	z-index: 2;
}

.cc-card-meta-left {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.cc-card-author {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	color: var(--cc-text);
}

.cc-card-author img {
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 999px;
}

/* ==========================================================================
   22. Sidebar options & blocks
   ========================================================================== */

@media (min-width: 1024px) {
	.cc-sidebar-narrow .cc-main-grid--right {
		grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
	}

	.cc-sidebar-narrow .cc-main-grid--left {
		grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
	}

	.cc-sidebar-wide .cc-main-grid--right {
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	}

	.cc-sidebar-wide .cc-main-grid--left {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	}
}

@media (max-width: 1023px) {
	.cc-hide-sidebar-mobile .cc-sidebar {
		display: none;
	}
}

.cc-sticky-off .cc-sidebar-inner.is-sticky {
	position: static;
}

.cc-sticky-off .cc-sidebar-inner>.cc-toc-card {
	position: static !important;
	order: 0 !important;
}

.cc-sidebar-style-plain .cc-sidebar .cc-widget:not(.cc-newsletter-box) {
	padding: 0 0 1.5rem;
	background: none;
	box-shadow: none;
	border: 0;
	border-bottom: 1px solid var(--cc-border);
	border-radius: 0;
}

.cc-about-img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--cc-radius-lg);
	margin-bottom: 0.75rem;
}

.cc-block-about .cc-social-menu {
	margin-top: 0.75rem;
}

.cc-mini-posts.is-numbered {
	counter-reset: cc-rank;
}

.cc-mini-posts.is-numbered .cc-mini-post {
	counter-increment: cc-rank;
	position: relative;
}

.cc-mini-posts.is-numbered .cc-mini-thumb::after {
	content: counter(cc-rank);
	position: absolute;
	top: -6px;
	left: -6px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background: var(--cc-accent);
	color: #fff;
	font-family: var(--cc-font-head);
	font-size: 11px;
	font-weight: 700;
	box-shadow: 0 0 0 2px var(--cc-surface-low);
}

.cc-mini-posts {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cc-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
}

.cc-ad-box {
	text-align: center;
}

.cc-ad-label {
	display: block;
	margin-bottom: 0.5rem;
	font-family: var(--cc-font-head);
	font-size: 10px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cc-outline);
}

.cc-ad-code img {
	margin-inline: auto;
}

.cc-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.cc-mini-profile {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.875rem;
}

.cc-mini-profile img {
	width: 3rem;
	height: 3rem;
	border-radius: 999px;
}

.cc-mini-profile>div {
	display: flex;
	flex-direction: column;
}

.cc-mini-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.375rem;
}

.cc-mini-stats a {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0.5rem;
	border-radius: var(--cc-radius);
	background: var(--cc-surface);
	color: var(--cc-text);
}

.cc-mini-stats strong {
	font-family: var(--cc-font-head);
	font-size: 20px;
}

.cc-mini-stats span {
	font-size: 11px;
	color: var(--cc-outline);
}

/* ==========================================================================
   23. Footer style
   ========================================================================== */

.cc-footer-dark .cc-footer {
	--cc-text: #f1f5f9;
	--cc-text-muted: #cbd5e1;
	--cc-outline: #94a3b8;
	--cc-outline-variant: #334155;
	--cc-surface: #111827;
	--cc-surface-mid: #1e293b;
	--cc-border: rgba(255, 255, 255, 0.1);
	background: var(--cc-footer-bg, #0b1120);
	color: var(--cc-footer-text, #f1f5f9);
}

/* ==========================================================================
   24. Buttons: ghost, danger, save / like / follow
   ========================================================================== */

.cc-btn-ghost {
	background: transparent;
	color: var(--cc-text);
	box-shadow: inset 0 0 0 1px var(--cc-outline-variant);
}

.cc-btn-ghost:hover {
	background: var(--cc-surface-mid);
	color: var(--cc-text);
	box-shadow: inset 0 0 0 1px var(--cc-outline-variant);
}

.cc-btn-danger {
	background: #dc2626;
	color: #fff;
}

.cc-btn-danger:hover {
	background: #b91c1c;
	color: #fff;
	box-shadow: none;
}

.cc-action {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	height: 2.25rem;
	padding: 0 0.875rem;
	border: 0;
	border-radius: 999px;
	background: var(--cc-surface-mid);
	color: var(--cc-text);
	font-family: var(--cc-font-head);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.cc-action .cc-icon {
	font-size: 18px;
}

.cc-action:hover {
	background: var(--cc-surface-high);
	color: var(--cc-text);
}

.cc-action:active {
	transform: scale(0.94);
}

.cc-action.is-busy {
	opacity: 0.6;
	pointer-events: none;
}

.cc-action.is-active .cc-icon {
	font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
}

.cc-action-save.is-active {
	background: var(--cc-primary-soft);
	color: var(--cc-primary);
}

.cc-action-like.is-active {
	background: var(--cc-accent-soft);
	color: var(--cc-accent);
}

.cc-action-like.is-active .cc-icon {
	animation: cc-pulse 0.35s ease;
}

.cc-action-follow {
	background: var(--cc-primary);
	color: var(--cc-on-primary, #fff);
}

.cc-action-follow:hover {
	background: var(--cc-primary-deep);
	color: var(--cc-on-primary, #fff);
}

.cc-action-follow.is-active {
	background: var(--cc-surface-mid);
	color: var(--cc-text);
}

.cc-action-count {
	opacity: 0.8;
}

.cc-action--icon {
	width: 2.25rem;
	padding: 0;
	justify-content: center;
	background: color-mix(in srgb, var(--cc-surface) 92%, transparent);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.cc-action--icon .cc-action-count {
	display: none;
}

@keyframes cc-pulse {
	50% {
		transform: scale(1.3);
	}
}

.cc-meta-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.cc-page-title-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

/* Toast */
.cc-toast {
	position: fixed;
	left: 50%;
	bottom: 1.5rem;
	z-index: 90;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	max-width: calc(100vw - 2rem);
	padding: 0.75rem 1.125rem;
	border-radius: var(--cc-radius-lg);
	background: var(--cc-inverse);
	color: var(--cc-on-inverse);
	font-size: 14px;
	font-weight: 500;
	box-shadow: var(--cc-shadow-4);
	transform: translate(-50%, 150%);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.cc-toast.is-visible {
	transform: translate(-50%, 0);
	opacity: 1;
}

/* ==========================================================================
   25. Header account button & menu
   ========================================================================== */

.cc-signin-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border-radius: var(--cc-radius);
	color: var(--cc-text);
	font-family: var(--cc-font-head);
	font-size: 13px;
	font-weight: 600;
}

.cc-signin-btn:hover {
	background: var(--cc-surface-high);
	color: var(--cc-text);
}

.cc-signin-btn .cc-icon {
	font-size: 22px;
}

@media (max-width: 639px) {
	.cc-signin-btn span:not(.cc-icon) {
		display: none;
	}

	.cc-signin-btn {
		padding: 0 0.5rem;
	}
}

.cc-account-menu {
	position: relative;
}

.cc-account-menu>summary {
	display: flex;
	list-style: none;
	cursor: pointer;
	border-radius: 999px;
}

.cc-account-menu>summary::-webkit-details-marker {
	display: none;
}

.cc-account-menu>summary img {
	width: 2.125rem;
	height: 2.125rem;
	border-radius: 999px;
	object-fit: cover;
	box-shadow: 0 0 0 2px var(--cc-surface-highest);
}

.cc-account-menu[open]>summary img {
	box-shadow: 0 0 0 2px var(--cc-primary);
}

.cc-account-dropdown {
	position: absolute;
	top: calc(100% + 0.625rem);
	right: 0;
	z-index: 60;
	display: flex;
	flex-direction: column;
	min-width: 240px;
	padding: 0.5rem;
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius-lg);
	background: var(--cc-surface);
	box-shadow: var(--cc-shadow-4);
	animation: cc-pop 0.15s ease;
}

.cc-header-right .cc-account-dropdown {
	right: auto;
	left: 0;
}

.cc-account-dropdown-head {
	display: flex;
	flex-direction: column;
	padding: 0.5rem 0.625rem 0.75rem;
	margin-bottom: 0.25rem;
	border-bottom: 1px solid var(--cc-border);
}

.cc-account-dropdown a {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.5rem 0.625rem;
	border-radius: var(--cc-radius);
	color: var(--cc-text);
	font-size: 14px;
}

.cc-account-dropdown a:hover {
	background: var(--cc-surface-low);
	color: var(--cc-primary);
}

.cc-account-dropdown .cc-count {
	margin-left: auto;
}

.cc-account-dropdown .cc-logout {
	color: #dc2626;
}

/* ==========================================================================
   26. My Account page
   ========================================================================== */

.cc-account-wrap {
	padding-top: 2rem;
	padding-bottom: 3rem;
}

.cc-notice {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	padding: 0.75rem 1rem;
	border-radius: var(--cc-radius);
	font-size: 14px;
	font-weight: 500;
}

.cc-notice-success {
	background: var(--cc-teal-soft);
	color: var(--cc-teal-deep);
}

.cc-notice-error {
	background: color-mix(in srgb, #dc2626 12%, transparent);
	color: #b91c1c;
}

html.cc-dark .cc-notice-error {
	color: #fca5a5;
}

/* Sign in / sign up */
.cc-auth {
	display: grid;
	gap: 2rem;
	align-items: center;
	max-width: 1080px;
	margin-inline: auto;
}

@media (min-width: 900px) {
	.cc-auth {
		grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
		gap: 4rem;
	}
}

.cc-auth-title {
	margin: 0.5rem 0 0.75rem;
	font-size: clamp(28px, 5vw, 44px);
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.cc-perks {
	display: grid;
	gap: 0.75rem;
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.cc-perks li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--cc-text);
	font-weight: 500;
}

.cc-perks .cc-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: var(--cc-radius);
	background: var(--cc-primary-soft);
	color: var(--cc-primary);
	font-size: 20px;
	overflow: visible;
}

.cc-auth-card {
	padding: 1.75rem;
	border-radius: var(--cc-radius-xl);
	background: var(--cc-surface);
	border: 1px solid var(--cc-border);
	box-shadow: var(--cc-shadow-4);
}

.cc-auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.25rem;
	margin-bottom: 1.5rem;
	padding: 0.25rem;
	border-radius: var(--cc-radius);
	background: var(--cc-surface-mid);
}

.cc-auth-tabs a {
	padding: 0.5rem;
	border-radius: calc(var(--cc-radius) - 2px);
	text-align: center;
	font-family: var(--cc-font-head);
	font-size: 14px;
	font-weight: 600;
	color: var(--cc-text-muted);
}

.cc-auth-tabs a.is-active {
	background: var(--cc-surface);
	color: var(--cc-text);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.cc-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.cc-form p {
	margin: 0;
}

.cc-form-grid-2 {
	display: grid;
	gap: 1rem;
}

@media (min-width: 640px) {
	.cc-form-grid-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.cc-form-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.cc-check {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 14px;
	color: var(--cc-text-muted);
	cursor: pointer;
}

.cc-password {
	position: relative;
	display: block;
}

.cc-password input {
	padding-right: 3rem;
}

.cc-password .cc-pass-toggle {
	position: absolute;
	top: 2px;
	right: 2px;
}

.cc-strength {
	display: block;
	margin-top: 0.375rem;
	font-size: 12px;
	font-weight: 600;
}

.cc-strength.is-weak {
	color: #dc2626;
}

.cc-strength.is-ok {
	color: #d97706;
}

.cc-strength.is-strong {
	color: var(--cc-teal-deep);
}

.cc-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Dashboard */
.cc-account {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
}

.cc-account-side {
	min-width: 0;
}

@media (min-width: 960px) {
	.cc-account {
		grid-template-columns: 260px minmax(0, 1fr);
		gap: 2.5rem;
	}

	.cc-account-side {
		position: sticky;
		top: var(--cc-sticky-top);
	}
}

.cc-account-side {
	padding: 1.25rem;
	border-radius: var(--cc-radius-xl);
	background: var(--cc-surface-low);
	box-shadow: var(--cc-shadow-1);
}

.cc-account-profile {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding-bottom: 1rem;
	margin-bottom: 0.75rem;
	border-bottom: 1px solid var(--cc-border);
}

.cc-account-profile img {
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 999px;
}

.cc-account-profile>div {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.cc-account-profile strong {
	font-family: var(--cc-font-head);
	font-size: 17px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cc-account-nav {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

@media (max-width: 959px) {
	.cc-account-nav {
		flex-direction: row;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.cc-account-nav a {
		flex-shrink: 0;
	}
}

.cc-account-nav a {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.625rem 0.75rem;
	border-radius: var(--cc-radius);
	color: var(--cc-text-muted);
	font-family: var(--cc-font-head);
	font-size: 14px;
	font-weight: 600;
}

.cc-account-nav a:hover {
	background: var(--cc-surface-mid);
	color: var(--cc-text);
}

.cc-account-nav a.is-active {
	background: var(--cc-surface);
	color: var(--cc-primary);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.cc-account-nav .cc-count {
	margin-left: auto;
}

.cc-account-nav .cc-logout {
	color: #dc2626;
	margin-top: 0.5rem;
}

.cc-account-main {
	min-width: 0;
}

.cc-account-head {
	margin-bottom: 1.5rem;
}

.cc-account-head p {
	margin: 0;
}

.cc-account-head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
}

.cc-h-lg {
	margin: 0 0 0.25rem;
	font-size: clamp(26px, 4vw, 34px);
	line-height: 1.15;
	letter-spacing: -0.025em;
}

.cc-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: 2rem;
}

@media (min-width: 768px) {
	.cc-stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.cc-stat {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 1.125rem;
	border-radius: var(--cc-radius-xl);
	background: var(--cc-surface-low);
	box-shadow: var(--cc-shadow-1);
	color: var(--cc-text);
	text-transform: uppercase;
}

.cc-stat strong {
	font-family: var(--cc-font-head);
	font-size: 32px;
	line-height: 1;
	text-transform: none;
}

.cc-stat:hover {
	background: var(--cc-surface-mid);
	color: var(--cc-text);
}

.cc-account-section {
	margin-bottom: 2.5rem;
}

.cc-account-section .cc-section-head {
	margin-bottom: 1rem;
}

.cc-account .cc-grid-3 {
	grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
}

.cc-account .cc-card-title {
	font-size: 17px;
}

.cc-history-list,
.cc-my-comments {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cc-history-list li {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.75rem;
	border-radius: var(--cc-radius-lg);
	background: var(--cc-surface-low);
}

.cc-history-list li>div {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.cc-history-thumb {
	width: 88px;
	height: 60px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: var(--cc-radius);
	background: var(--cc-surface-mid);
}

.cc-history-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cc-history-title {
	font-family: var(--cc-font-head);
	font-weight: 600;
	color: var(--cc-text);
}

.cc-history-title:hover {
	color: var(--cc-primary);
}

.cc-my-comment-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.cc-my-comments .cc-card {
	padding: 1.125rem;
}

.cc-my-comments p {
	margin: 0 0 0.5rem;
}

.cc-topic-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.75rem;
}

.cc-topic-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.375rem;
	padding: 1rem;
	border-radius: var(--cc-radius-xl);
	background: var(--cc-surface-low);
	border: 1px solid transparent;
	transition: border-color 0.15s ease;
}

.cc-topic-card.is-following {
	border-color: color-mix(in srgb, var(--cc-primary) 45%, transparent);
}

.cc-topic-card .cc-action {
	margin-top: 0.375rem;
}

.cc-topic-name {
	font-family: var(--cc-font-head);
	font-size: 17px;
	font-weight: 600;
	color: var(--cc-text);
}

.cc-settings-card {
	margin-bottom: 1.5rem;
}

.cc-settings-card .cc-h-sm {
	margin-bottom: 1rem;
}

.cc-avatar-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.cc-avatar-row img {
	width: 4rem;
	height: 4rem;
	border-radius: 999px;
}

.cc-avatar-row p {
	margin: 0;
}

.cc-danger-zone {
	border: 1px solid color-mix(in srgb, #dc2626 35%, transparent);
}

.cc-danger-zone summary {
	list-style: none;
	cursor: pointer;
	margin-bottom: 1rem;
}

.cc-danger-zone summary::-webkit-details-marker {
	display: none;
}

.cc-account-page .cc-empty .cc-btn {
	margin-top: 0.5rem;
}

/* ==========================================================================
   Show full featured images (no cropping) on cards and the lead story
   ========================================================================== */

.cc-card-media,
.cc-lead-overlay .cc-lead-media,
.cc-ratio-3-2 .cc-card-media,
.cc-ratio-4-3 .cc-card-media,
.cc-ratio-1-1 .cc-card-media {
	aspect-ratio: auto;
	min-height: 0;
	height: auto;
}

.cc-card-media img,
.cc-lead-overlay .cc-lead-media img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

/* No zoom on hover (it was cutting the edges) */
.cc-card-post:hover .cc-card-media img,
.cc-lead-post:hover .cc-lead-media img {
	transform: none;
}

/* ==========================================================================
   Single post: featured image inside the article column, sidebar beside it
   ========================================================================== */

.cc-hero.cc-hero--in-article {
	max-width: none;
	margin: 0 0 1.75rem;
	padding: 0;
}

.cc-hero--in-article .cc-hero-frame {
	aspect-ratio: auto;
	background: transparent;
}

.cc-hero--in-article .cc-hero-frame img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
}

/* ==========================================================================
   Home page + archive pages: fixed sidebar, posts scroll
   (home/blog, category, tag, author, date archives + search results)
   ========================================================================== */

@media (min-width: 1024px) {

	body.blog .cc-main-grid>.cc-sidebar,
	body.archive .cc-main-grid>.cc-sidebar,
	body.search .cc-main-grid>.cc-sidebar {
		align-self: stretch;
	}

	body.blog .cc-sidebar-inner,
	body.archive .cc-sidebar-inner,
	body.search .cc-sidebar-inner {
		flex: 0 0 auto;
		position: sticky;
		top: var(--cc-sticky-top);
		max-height: calc(100vh - var(--cc-sticky-top) - 1.5rem);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding-right: 6px;
		scrollbar-width: thin;
		scrollbar-color: var(--cc-outline-variant) transparent;
	}

	body.blog .cc-sidebar-inner::-webkit-scrollbar,
	body.archive .cc-sidebar-inner::-webkit-scrollbar,
	body.search .cc-sidebar-inner::-webkit-scrollbar {
		width: 6px;
	}

	body.blog .cc-sidebar-inner::-webkit-scrollbar-thumb,
	body.archive .cc-sidebar-inner::-webkit-scrollbar-thumb,
	body.search .cc-sidebar-inner::-webkit-scrollbar-thumb {
		background: var(--cc-outline-variant);
		border-radius: 6px;
	}
}

/* ==========================================================================
   Homepage sections (Customize → CyberClipper Options → Homepage Sections)
   ========================================================================== */

.cc-home-sections {
	padding-bottom: 1rem;
}

.cc-hs {
	padding: 2.5rem 0;
	color: var(--cc-hs-text, inherit);
}

.cc-hs--bleed {
	background: var(--cc-hs-bg);
}

.cc-hs--boxed .cc-hs-inner {
	background: var(--cc-hs-bg);
	border-radius: var(--cc-radius-xl);
	padding: 1.75rem;
}

.cc-hs--boxed {
	padding: 1.25rem 0;
}

.cc-hs--has-text .cc-hs-title,
.cc-hs--has-text .cc-hs-item-title a,
.cc-hs--has-text .cc-hs-subtitle,
.cc-hs--has-text .cc-hs-excerpt,
.cc-hs--has-text .cc-hs-meta,
.cc-hs--has-text .cc-hs-date,
.cc-hs--has-text .cc-hs-person-role,
.cc-hs--has-text .cc-hs-num {
	color: var(--cc-hs-text);
}

/* Section header */
.cc-hs-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
	padding-bottom: 0.875rem;
	border-bottom: 1px solid var(--cc-border);
}

.cc-hs-title {
	margin: 0;
	font-size: 26px;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.cc-hs-subtitle {
	margin: 0.375rem 0 0;
	color: var(--cc-text-muted);
	font-size: 15px;
}

.cc-hs-head-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
}

.cc-hs-more {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-family: var(--cc-font-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--cc-primary);
	white-space: nowrap;
}

.cc-hs-more .cc-icon {
	font-size: 18px;
	transition: transform 0.2s ease;
}

.cc-hs-more:hover .cc-icon {
	transform: translateX(3px);
}

/* Shared card parts */
.cc-hs-card {
	min-width: 0;
}

.cc-hs-media {
	display: block;
	overflow: hidden;
	border-radius: var(--cc-radius-lg);
	background: var(--cc-surface-mid);
}

.cc-hs-media img {
	display: block;
	width: 100%;
	height: auto;
	transition: opacity 0.2s ease;
}

.cc-hs-media:hover img {
	opacity: 0.9;
}

.cc-hs-media .cc-card-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 9;
	color: var(--cc-outline);
}

.cc-hs-body {
	padding-top: 0.875rem;
}

.cc-hs-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.375rem;
	font-family: var(--cc-font-head);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--cc-text-muted);
}

.cc-hs-cat {
	color: var(--cc-primary);
}

.cc-hs-cat::after {
	content: "·";
	margin-left: 0.5rem;
	color: var(--cc-text-muted);
}

.cc-hs-item-title {
	margin: 0;
	font-size: 18px;
	line-height: 1.35;
}

.cc-hs-item-title a {
	color: var(--cc-text);
}

.cc-hs-item-title a:hover {
	color: var(--cc-primary);
}

.cc-hs-excerpt {
	margin: 0.5rem 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--cc-text-muted);
}

/* 1 + 2. Cards grid (3 / 4 columns) */
.cc-hs-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
}

@media (min-width: 600px) {

	.cc-hs-cols-3,
	.cc-hs-cols-4,
	.cc-hs-cols-6 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.cc-hs-cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cc-hs-cols-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.cc-hs-cols-6 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.cc-hs-cols-6 {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

.cc-hs--grid4 .cc-hs-item-title {
	font-size: 16px;
}

/* 3. List */
.cc-hs-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

@media (min-width: 700px) {
	.cc-hs-list .cc-hs-card {
		display: grid;
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
		gap: 1.5rem;
		align-items: center;
	}

	.cc-hs-list .cc-hs-body {
		padding-top: 0;
	}

	.cc-hs-list .cc-hs-item-title {
		font-size: 22px;
	}
}

/* 4. Featured: 1 big + side list */
.cc-hs-featured {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
}

.cc-hs-side {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.cc-hs-side .cc-hs-card {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 0.875rem;
	align-items: center;
}

.cc-hs-side .cc-hs-body {
	padding-top: 0;
}

.cc-hs-side .cc-hs-item-title {
	font-size: 15px;
}

.cc-hs-side .cc-hs-media {
	border-radius: var(--cc-radius);
}

.cc-hs-card--big .cc-hs-item-title {
	font-size: 26px;
	line-height: 1.25;
}

@media (min-width: 900px) {
	.cc-hs-featured {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
		gap: 2rem;
	}

	.cc-hs-side .cc-hs-card {
		grid-template-columns: 150px minmax(0, 1fr);
	}
}

/* 5 + 8. Tiles: title on the image (Overlay & Mosaic) */
.cc-hs-card--tile {
	position: relative;
	overflow: hidden;
	border-radius: var(--cc-radius-lg);
}

.cc-hs-card--tile .cc-hs-media {
	aspect-ratio: 16 / 10;
	border-radius: 0;
	height: 100%;
}

.cc-hs-card--tile .cc-hs-media img {
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.cc-hs-card--tile:hover .cc-hs-media img {
	transform: scale(1.04);
	opacity: 1;
}

.cc-hs-card--tile .cc-hs-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(5, 8, 20, 0.9) 0%, rgba(5, 8, 20, 0.45) 40%, rgba(5, 8, 20, 0) 70%);
	pointer-events: none;
}

.cc-hs-card--tile .cc-hs-body {
	position: absolute;
	inset: auto 0 0;
	padding: 1rem 1.125rem 1.125rem;
	pointer-events: none;
}

.cc-hs-card--tile .cc-hs-body a {
	pointer-events: auto;
}

.cc-hs-card--tile .cc-hs-item-title a,
.cc-hs-card--tile .cc-hs-meta,
.cc-hs-card--tile .cc-hs-cat,
.cc-hs-card--tile .cc-hs-date {
	color: #fff;
}

.cc-hs-card--tile .cc-hs-cat::after {
	color: rgba(255, 255, 255, 0.7);
}

.cc-hs-card--tile .cc-hs-item-title {
	font-size: 18px;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* 8. Mosaic */
.cc-hs-mosaic {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

@media (min-width: 700px) {
	.cc-hs-mosaic {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cc-hs-mosaic .cc-hs-card--big {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1000px) {
	.cc-hs-mosaic {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		grid-auto-rows: 210px;
	}

	.cc-hs-mosaic .cc-hs-card--big {
		grid-column: span 2;
		grid-row: span 2;
	}

	.cc-hs-mosaic .cc-hs-card--tile .cc-hs-media {
		aspect-ratio: auto;
	}

	.cc-hs-mosaic .cc-hs-card--big .cc-hs-item-title {
		font-size: 28px;
	}
}

/* 6. Carousel */
.cc-hs-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(250px, 78%);
	gap: 1.25rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 0.75rem;
	scrollbar-width: thin;
	scrollbar-color: var(--cc-outline-variant) transparent;
}

.cc-hs-track>* {
	scroll-snap-align: start;
}

@media (min-width: 700px) {
	.cc-hs-track {
		grid-auto-columns: calc((100% - 2 * 1.25rem) / 3);
	}
}

@media (min-width: 1100px) {
	.cc-hs-track {
		grid-auto-columns: calc((100% - 3 * 1.25rem) / 4);
	}
}

.cc-hs-track::-webkit-scrollbar {
	height: 6px;
}

.cc-hs-track::-webkit-scrollbar-thumb {
	background: var(--cc-outline-variant);
	border-radius: 6px;
}

.cc-hs--carousel .cc-hs-item-title {
	font-size: 16px;
}

/* 7. Numbered */
.cc-hs-numbered {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0 2rem;
}

@media (min-width: 800px) {
	.cc-hs-numbered {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.cc-hs-num-item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	padding: 1rem 0;
	border-bottom: 1px solid var(--cc-border);
}

.cc-hs-num {
	font-family: var(--cc-font-head);
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	color: var(--cc-primary);
	opacity: 0.85;
	min-width: 2.75rem;
}

.cc-hs-num-item .cc-hs-meta {
	margin: 0.375rem 0 0;
}

.cc-hs-num-item .cc-hs-item-title {
	font-size: 17px;
}

/* Web Stories */
.cc-hs-story a {
	position: relative;
	display: block;
	aspect-ratio: 9 / 16;
	overflow: hidden;
	border-radius: var(--cc-radius-lg);
	background: var(--cc-surface-mid);
}

.cc-hs-story img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.cc-hs-story a:hover img {
	transform: scale(1.04);
}

.cc-hs-story a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(5, 8, 20, 0.85), rgba(5, 8, 20, 0) 55%);
}

.cc-hs-story-title {
	position: absolute;
	inset: auto 0 0;
	z-index: 1;
	padding: 0.875rem;
	font-family: var(--cc-font-head);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
}

.cc-hs-track.cc-hs-stories {
	grid-auto-columns: minmax(170px, 45%);
}

@media (min-width: 700px) {
	.cc-hs-track.cc-hs-stories {
		grid-auto-columns: calc((100% - 3 * 1.25rem) / 4);
	}
}

@media (min-width: 1100px) {
	.cc-hs-track.cc-hs-stories {
		grid-auto-columns: calc((100% - 5 * 1.25rem) / 6);
	}
}

/* Author profiles */
.cc-hs-person {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 1.5rem 1.25rem;
	border-radius: var(--cc-radius-xl);
	background: var(--cc-surface);
	border: 1px solid var(--cc-border);
}

.cc-hs-person-avatar img {
	width: 88px;
	height: 88px;
	border-radius: 999px;
	margin-bottom: 0.875rem;
}

.cc-hs-person-role {
	margin: 0.25rem 0 0;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cc-primary);
}

.cc-hs-person .cc-hs-excerpt {
	margin-top: 0.625rem;
}

.cc-hs-person-count {
	margin-top: 0.875rem;
	padding: 0.375rem 0.875rem;
	border-radius: 999px;
	background: var(--cc-surface-mid);
	font-family: var(--cc-font-head);
	font-size: 12px;
	font-weight: 600;
	color: var(--cc-text);
}

/* Category tiles */
.cc-hs-topic {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 150px;
	overflow: hidden;
	border-radius: var(--cc-radius-xl);
	background: linear-gradient(135deg, var(--cc-primary), var(--cc-teal));
	color: #fff;
}

.cc-hs-topic img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.cc-hs-topic:hover img {
	transform: scale(1.05);
}

.cc-hs-topic.has-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(5, 8, 20, 0.88), rgba(5, 8, 20, 0.2));
}

.cc-hs-topic-body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	padding: 1rem 1.125rem;
}

.cc-hs-topic-body strong {
	font-family: var(--cc-font-head);
	font-size: 20px;
	line-height: 1.2;
}

.cc-hs-topic-body span {
	margin-top: 0.25rem;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	opacity: 0.85;
}

@media (max-width: 599px) {
	.cc-hs {
		padding: 2rem 0;
	}

	.cc-hs-title {
		font-size: 22px;
	}

	.cc-hs-head {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.cc-hs--boxed .cc-hs-inner {
		padding: 1.25rem;
	}
}

/* "★ Latest stories" block (moveable in Homepage Sections) */
.cc-hs--main {
	padding: 0 0 1rem;
}

.cc-hs--main.cc-hs--has-bg {
	padding: 2rem 0;
}

.cc-hs--main.cc-hs--boxed {
	padding: 1rem 0;
}

.cc-hs--main .cc-main-grid {
	padding-bottom: 1rem;
}

.cc-home-sections--before .cc-hs:first-child {
	padding-top: 0.5rem;
}

.cc-home-sections--before+.cc-hs--main:not(.cc-hs--has-bg) {
	padding-top: 2rem;
}

.cc-hs--main .cc-posts-area>.cc-hs-grid,
.cc-hs--main .cc-posts-area>.cc-hs-list,
.cc-hs--main .cc-posts-area>.cc-hs-featured,
.cc-hs--main .cc-posts-area>.cc-hs-mosaic,
.cc-hs--main .cc-posts-area>.cc-hs-numbered,
.cc-hs--main .cc-posts-area>.cc-hs-track {
	margin-bottom: 0.5rem;
}

/* With a sidebar beside it, keep wide layouts readable */
@media (min-width: 1024px) {

	.cc-hs--main .cc-main-grid--right .cc-hs-cols-4,
	.cc-hs--main .cc-main-grid--left .cc-hs-cols-4 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cc-hs--main .cc-main-grid--right .cc-hs-cols-3,
	.cc-hs--main .cc-main-grid--left .cc-hs-cols-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cc-hs--main .cc-main-grid--right .cc-hs-mosaic,
	.cc-hs--main .cc-main-grid--left .cc-hs-mosaic {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cc-hs--main .cc-main-grid--right .cc-hs-featured,
	.cc-hs--main .cc-main-grid--left .cc-hs-featured {
		grid-template-columns: minmax(0, 1fr);
	}
}