/*
Theme Name: CursoFlow
Theme URI: https://example.com/cursoflow
Author: CursoFlow
Author URI: https://example.com
Description: Tema moderno e colorido para plataformas de cursos online, com integração pronta para Tutor LMS e WooCommerce. Inclui página inicial com destaque de cursos, categorias, depoimentos e call-to-action, além de opções de personalização de cores e conteúdo pelo Customizer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cursoflow
Tags: education, e-learning, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns, right-sidebar

CursoFlow é um tema WordPress feito para escolas online e infoprodutores que
vendem cursos com Tutor LMS e WooCommerce.
*/

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */

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

:root {
	--cf-primary: #6d28d9;
	--cf-primary-dark: #5321ad;
	--cf-primary-light: #ede9fe;
	--cf-accent: #f97316;
	--cf-accent-dark: #ea580c;
	--cf-dark: #17122b;
	--cf-text: #2b2438;
	--cf-text-muted: #6b6478;
	--cf-bg: #ffffff;
	--cf-bg-alt: #faf8ff;
	--cf-border: #ece7f6;
	--cf-success: #16a34a;
	--cf-radius: 16px;
	--cf-radius-sm: 10px;
	--cf-shadow: 0 4px 24px rgba(43, 24, 78, 0.08);
	--cf-shadow-lg: 0 20px 45px rgba(43, 24, 78, 0.14);
	--cf-font-heading: "Poppins", "Segoe UI", sans-serif;
	--cf-font-body: "Inter", "Segoe UI", sans-serif;
	--cf-container: 1200px;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--cf-font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--cf-text);
	background: var(--cf-bg);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--cf-primary);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--cf-accent);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--cf-font-heading);
	color: var(--cf-dark);
	line-height: 1.25;
	margin: 0 0 0.6em;
	font-weight: 600;
}

p {
	margin: 0 0 1.2em;
}

ul, ol {
	padding-left: 1.3em;
}

button, input, select, textarea {
	font-family: inherit;
	font-size: 1rem;
}

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--cf-primary);
	color: #fff;
	padding: 12px 20px;
	z-index: 10000;
	border-radius: 0 0 8px 0;
}

.skip-link:focus {
	top: 0;
	color: #fff;
}

/* ==========================================================================
   2. LAYOUT HELPERS
   ========================================================================== */

.cf-container {
	max-width: var(--cf-container);
	margin: 0 auto;
	padding: 0 24px;
}

.cf-section {
	padding: 80px 0;
}

.cf-section--alt {
	background: var(--cf-bg-alt);
}

.cf-section-head {
	max-width: 640px;
	margin: 0 auto 48px;
	text-align: center;
}

.cf-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cf-primary);
	background: var(--cf-primary-light);
	padding: 6px 16px;
	border-radius: 999px;
	margin-bottom: 16px;
}

.cf-section-head h2 {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	margin-bottom: 12px;
}

.cf-section-head p {
	color: var(--cf-text-muted);
	margin-bottom: 0;
}

.cf-grid {
	display: grid;
	gap: 32px;
}

.cf-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.cf-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

.cf-content-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
	padding: 64px 0;
}

.cf-content-layout.has-sidebar {
	grid-template-columns: minmax(0, 1fr) 320px;
}

@media (max-width: 960px) {
	.cf-grid--3, .cf-grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}
	.cf-content-layout.has-sidebar {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.cf-grid--3, .cf-grid--4 {
		grid-template-columns: 1fr;
	}
	.cf-section {
		padding: 56px 0;
	}
}

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */

.cf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 14px 28px;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
	white-space: nowrap;
}

.cf-btn:hover {
	transform: translateY(-2px);
}

.cf-btn--primary {
	background: var(--cf-accent);
	color: #fff;
	box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
}

.cf-btn--primary:hover {
	background: var(--cf-accent-dark);
	color: #fff;
}

.cf-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

.cf-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
}

.cf-btn--outline {
	background: transparent;
	border-color: var(--cf-primary);
	color: var(--cf-primary);
}

.cf-btn--outline:hover {
	background: var(--cf-primary);
	color: #fff;
}

.cf-btn--sm {
	padding: 9px 18px;
	font-size: 0.85rem;
}

/* ==========================================================================
   4. HEADER
   ========================================================================== */

.cf-topbar {
	background: var(--cf-dark);
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.82rem;
}

.cf-topbar .cf-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 8px;
	padding-bottom: 8px;
	flex-wrap: wrap;
	gap: 8px;
}

.cf-topbar a {
	color: rgba(255, 255, 255, 0.75);
}

.cf-topbar a:hover {
	color: #fff;
}

.cf-topbar-social {
	display: flex;
	gap: 14px;
}

.cf-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: #fff;
	border-bottom: 1px solid var(--cf-border);
}

.cf-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 16px 0;
}

.cf-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--cf-font-heading);
	font-weight: 700;
	font-size: 1.4rem;
	color: var(--cf-dark);
	flex-shrink: 0;
}

.cf-logo img {
	max-height: 44px;
	width: auto;
}

.cf-logo span.cf-logo-dot {
	color: var(--cf-accent);
}

.cf-primary-nav {
	flex-grow: 1;
	display: flex;
	justify-content: center;
}

.cf-primary-nav ul {
	list-style: none;
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.cf-primary-nav li {
	position: relative;
}

.cf-primary-nav a {
	display: block;
	padding: 10px 16px;
	border-radius: 999px;
	color: var(--cf-text);
	font-weight: 500;
	font-size: 0.95rem;
}

.cf-primary-nav a:hover,
.cf-primary-nav .current-menu-item > a {
	background: var(--cf-primary-light);
	color: var(--cf-primary);
}

.cf-primary-nav ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	flex-direction: column;
	background: #fff;
	box-shadow: var(--cf-shadow-lg);
	border-radius: var(--cf-radius-sm);
	padding: 8px;
	min-width: 220px;
	z-index: 20;
}

.cf-primary-nav li:hover > ul {
	display: flex;
}

.cf-primary-nav ul ul a {
	border-radius: 8px;
	white-space: nowrap;
}

.cf-header-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-shrink: 0;
}

.cf-icon-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--cf-bg-alt);
	color: var(--cf-text);
}

.cf-icon-link:hover {
	background: var(--cf-primary-light);
	color: var(--cf-primary);
}

.cf-cart-count {
	position: absolute;
	top: -4px;
	right: -4px;
	background: var(--cf-accent);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cf-menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.cf-menu-toggle span {
	width: 24px;
	height: 2px;
	background: var(--cf-dark);
	border-radius: 2px;
}

@media (max-width: 900px) {
	.cf-primary-nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: min(320px, 85vw);
		height: 100vh;
		background: #fff;
		flex-direction: column;
		padding: 90px 24px 24px;
		box-shadow: var(--cf-shadow-lg);
		transition: right 0.3s ease;
		overflow-y: auto;
		justify-content: flex-start;
	}
	.cf-primary-nav.is-open {
		right: 0;
	}
	.cf-primary-nav ul {
		flex-direction: column;
		width: 100%;
	}
	.cf-primary-nav ul ul {
		position: static;
		box-shadow: none;
		display: none;
		padding-left: 12px;
	}
	.cf-primary-nav li.is-open > ul {
		display: flex;
	}
	.cf-menu-toggle {
		display: flex;
	}
	.cf-menu-overlay {
		display: none;
		position: fixed;
		inset: 0;
		background: rgba(23, 18, 43, 0.5);
		z-index: 998;
	}
	.cf-menu-overlay.is-open {
		display: block;
	}
}

/* ==========================================================================
   5. HERO
   ========================================================================== */

.cf-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--cf-primary) 0%, #4c1d95 55%, var(--cf-dark) 100%);
	color: #fff;
	padding: 96px 0;
}

.cf-hero::before {
	content: "";
	position: absolute;
	width: 480px;
	height: 480px;
	border-radius: 50%;
	background: var(--cf-accent);
	opacity: 0.25;
	filter: blur(60px);
	top: -160px;
	right: -120px;
}

.cf-hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}

.cf-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.12);
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 20px;
}

.cf-hero h1 {
	color: #fff;
	font-size: clamp(2.2rem, 4vw, 3.4rem);
	margin-bottom: 20px;
}

.cf-hero h1 em {
	font-style: normal;
	color: var(--cf-accent);
}

.cf-hero p.cf-hero-lead {
	font-size: 1.15rem;
	color: rgba(255, 255, 255, 0.82);
	max-width: 520px;
	margin-bottom: 32px;
}

.cf-hero-actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

.cf-hero-stats {
	display: flex;
	gap: 36px;
	flex-wrap: wrap;
}

.cf-hero-stats strong {
	display: block;
	font-family: var(--cf-font-heading);
	font-size: 1.6rem;
	color: #fff;
}

.cf-hero-stats span {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.85rem;
}

.cf-hero-media {
	position: relative;
}

.cf-hero-media img {
	border-radius: var(--cf-radius);
	box-shadow: var(--cf-shadow-lg);
	position: relative;
	z-index: 1;
}

.cf-hero-card {
	position: absolute;
	bottom: -20px;
	left: -20px;
	background: #fff;
	color: var(--cf-text);
	padding: 16px 20px;
	border-radius: var(--cf-radius-sm);
	box-shadow: var(--cf-shadow-lg);
	display: flex;
	align-items: center;
	gap: 12px;
	z-index: 2;
	font-size: 0.85rem;
	font-weight: 600;
}

.cf-hero-card .cf-hero-card-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--cf-success);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.cf-hero-search {
	display: flex;
	background: #fff;
	border-radius: 999px;
	padding: 6px;
	box-shadow: var(--cf-shadow-lg);
	max-width: 480px;
	margin-bottom: 32px;
}

.cf-hero-search input {
	flex-grow: 1;
	border: none;
	background: transparent;
	padding: 12px 20px;
	color: var(--cf-text);
	outline: none;
}

.cf-hero-search button {
	border: none;
	background: var(--cf-accent);
	color: #fff;
	border-radius: 999px;
	padding: 12px 24px;
	font-weight: 600;
	cursor: pointer;
}

@media (max-width: 900px) {
	.cf-hero-inner {
		grid-template-columns: 1fr;
	}
	.cf-hero-media {
		order: -1;
	}
}

/* ==========================================================================
   6. CATEGORIES
   ========================================================================== */

.cf-cat-card {
	background: #fff;
	border: 1px solid var(--cf-border);
	border-radius: var(--cf-radius);
	padding: 28px 24px;
	text-align: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cf-cat-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--cf-shadow-lg);
	border-color: transparent;
}

.cf-cat-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 16px;
	border-radius: 16px;
	background: var(--cf-primary-light);
	color: var(--cf-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
}

.cf-cat-card h3 {
	font-size: 1.05rem;
	margin-bottom: 6px;
}

.cf-cat-card span {
	color: var(--cf-text-muted);
	font-size: 0.85rem;
}

/* ==========================================================================
   7. COURSE CARDS (fallback + tutor compat base)
   ========================================================================== */

.cf-course-card {
	background: #fff;
	border: 1px solid var(--cf-border);
	border-radius: var(--cf-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	height: 100%;
}

.cf-course-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--cf-shadow-lg);
}

.cf-course-thumb {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--cf-primary-light);
}

.cf-course-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.cf-course-card:hover .cf-course-thumb img {
	transform: scale(1.06);
}

.cf-course-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: var(--cf-accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 6px 12px;
	border-radius: 999px;
}

.cf-course-price {
	position: absolute;
	bottom: 14px;
	right: 14px;
	background: #fff;
	color: var(--cf-primary);
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 0.9rem;
	box-shadow: var(--cf-shadow);
}

.cf-course-body {
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-grow: 1;
}

.cf-course-category {
	color: var(--cf-primary);
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.cf-course-body h3 {
	font-size: 1.1rem;
	margin-bottom: 4px;
}

.cf-course-body h3 a {
	color: var(--cf-dark);
}

.cf-course-meta {
	display: flex;
	align-items: center;
	gap: 16px;
	color: var(--cf-text-muted);
	font-size: 0.82rem;
	flex-wrap: wrap;
}

.cf-course-footer {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 14px;
	border-top: 1px solid var(--cf-border);
}

.cf-course-avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
}

.cf-course-instructor {
	font-size: 0.82rem;
	color: var(--cf-text-muted);
	font-weight: 500;
}

.cf-rating {
	color: #f59e0b;
	font-size: 0.82rem;
	margin-left: auto;
	font-weight: 600;
}

/* ==========================================================================
   8. FEATURES / WHY US
   ========================================================================== */

.cf-feature {
	display: flex;
	gap: 18px;
	align-items: flex-start;
}

.cf-feature-icon {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	border-radius: 14px;
	background: var(--cf-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
}

.cf-feature h3 {
	font-size: 1.05rem;
	margin-bottom: 6px;
}

.cf-feature p {
	color: var(--cf-text-muted);
	margin-bottom: 0;
	font-size: 0.92rem;
}

/* ==========================================================================
   9. TESTIMONIALS
   ========================================================================== */

.cf-testimonial {
	background: #fff;
	border-radius: var(--cf-radius);
	padding: 28px;
	box-shadow: var(--cf-shadow);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.cf-testimonial .cf-rating {
	margin: 0 0 14px;
}

.cf-testimonial p {
	color: var(--cf-text);
	font-style: italic;
	flex-grow: 1;
}

.cf-testimonial-author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
}

.cf-testimonial-author img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.cf-testimonial-author strong {
	display: block;
	font-size: 0.92rem;
}

.cf-testimonial-author span {
	color: var(--cf-text-muted);
	font-size: 0.8rem;
}

/* ==========================================================================
   10. CTA / NEWSLETTER
   ========================================================================== */

.cf-cta {
	background: linear-gradient(120deg, var(--cf-accent), var(--cf-accent-dark));
	border-radius: var(--cf-radius);
	padding: 56px;
	text-align: center;
	color: #fff;
}

.cf-cta h2 {
	color: #fff;
	margin-bottom: 12px;
}

.cf-cta p {
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 28px;
}

.cf-cta-form {
	display: flex;
	max-width: 460px;
	margin: 0 auto;
	background: #fff;
	border-radius: 999px;
	padding: 6px;
}

.cf-cta-form input {
	flex-grow: 1;
	border: none;
	background: transparent;
	padding: 12px 18px;
	outline: none;
}

.cf-cta-form button {
	border: none;
	background: var(--cf-dark);
	color: #fff;
	padding: 12px 26px;
	border-radius: 999px;
	font-weight: 600;
	cursor: pointer;
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */

.cf-footer {
	background: var(--cf-dark);
	color: rgba(255, 255, 255, 0.7);
	padding-top: 72px;
}

.cf-footer h4 {
	color: #fff;
	font-size: 1rem;
	margin-bottom: 18px;
}

.cf-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 40px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cf-footer-about .cf-logo {
	color: #fff;
	margin-bottom: 14px;
}

.cf-footer-social {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.cf-footer-social a {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cf-footer-social a:hover {
	background: var(--cf-accent);
}

.cf-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cf-footer ul li {
	margin-bottom: 10px;
}

.cf-footer ul a {
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.92rem;
}

.cf-footer ul a:hover {
	color: #fff;
}

.cf-footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 0;
	font-size: 0.82rem;
	flex-wrap: wrap;
	gap: 10px;
}

.cf-footer-bottom a {
	color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 900px) {
	.cf-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.cf-footer-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   12. PAGE / SINGLE / ARCHIVE CONTENT
   ========================================================================== */

.cf-page-header {
	background: linear-gradient(135deg, var(--cf-primary), var(--cf-dark));
	color: #fff;
	padding: 64px 0;
	text-align: center;
}

.cf-page-header h1 {
	color: #fff;
	margin-bottom: 8px;
}

.cf-breadcrumbs {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.85rem;
}

.cf-breadcrumbs a {
	color: rgba(255, 255, 255, 0.75);
}

.cf-breadcrumbs a:hover {
	color: #fff;
}

.cf-post-card {
	background: #fff;
	border: 1px solid var(--cf-border);
	border-radius: var(--cf-radius);
	overflow: hidden;
	margin-bottom: 32px;
}

.cf-post-card img {
	aspect-ratio: 16/9;
	object-fit: cover;
	width: 100%;
}

.cf-post-card-body {
	padding: 24px;
}

.cf-post-meta {
	font-size: 0.8rem;
	color: var(--cf-text-muted);
	margin-bottom: 8px;
}

article.cf-single {
	max-width: 780px;
	margin: 0 auto;
}

article.cf-single .cf-post-thumb {
	border-radius: var(--cf-radius);
	overflow: hidden;
	margin-bottom: 28px;
}

.cf-content, article.cf-single .entry-content {
	font-size: 1.05rem;
}

.cf-content img, .entry-content img {
	border-radius: var(--cf-radius-sm);
}

.cf-content blockquote, .entry-content blockquote {
	border-left: 4px solid var(--cf-primary);
	background: var(--cf-bg-alt);
	padding: 16px 24px;
	border-radius: 0 var(--cf-radius-sm) var(--cf-radius-sm) 0;
	font-style: italic;
	margin: 24px 0;
}

.cf-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 24px 0;
}

.cf-tags a {
	background: var(--cf-bg-alt);
	border: 1px solid var(--cf-border);
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 0.82rem;
	color: var(--cf-text);
}

.cf-tags a:hover {
	background: var(--cf-primary-light);
	color: var(--cf-primary);
}

/* Widgets / sidebar */

.cf-widget {
	background: #fff;
	border: 1px solid var(--cf-border);
	border-radius: var(--cf-radius);
	padding: 24px;
	margin-bottom: 28px;
}

.cf-widget h2, .cf-widget .widget-title {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--cf-primary-light);
}

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

.cf-widget ul li {
	padding: 8px 0;
	border-bottom: 1px dashed var(--cf-border);
}

.cf-widget ul li:last-child {
	border-bottom: none;
}

/* Pagination */

.cf-pagination {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 40px;
	flex-wrap: wrap;
}

.cf-pagination a, .cf-pagination span {
	min-width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: var(--cf-bg-alt);
	color: var(--cf-text);
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0 12px;
}

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

.cf-pagination a:hover {
	background: var(--cf-primary-light);
	color: var(--cf-primary);
}

/* Comments */

.cf-comments {
	margin-top: 48px;
}

.cf-comments ol.comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cf-comments .comment-body {
	background: var(--cf-bg-alt);
	border-radius: var(--cf-radius-sm);
	padding: 20px;
	margin-bottom: 16px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--cf-border);
	border-radius: var(--cf-radius-sm);
	margin-bottom: 16px;
}

.comment-form textarea {
	min-height: 140px;
}

/* 404 */

.cf-404 {
	text-align: center;
	padding: 100px 0;
}

.cf-404 h1 {
	font-size: 6rem;
	color: var(--cf-primary-light);
	-webkit-text-stroke: 2px var(--cf-primary);
	margin-bottom: 0;
}

/* Utility */
.cf-text-center { text-align: center; }
.cf-mt-0 { margin-top: 0; }
