/* ==========================================================
   CARO FINAL NATIVE SYSTEM — 2026
========================================================== */

/* SYSTEM PAGES */

.caro-system-page {
	background: #fff;
	color: #202020;
}

.caro-system-hero {
	padding: clamp(58px,6vw,86px) 24px clamp(42px,5vw,64px);
	border-bottom: 1px solid #e9e9e6;
	background: #f8f8f6;
}

.caro-system-hero > * {
	width: min(100%,1180px);
	margin-inline: auto;
}

.caro-system-eyebrow {
	margin-bottom: 14px !important;
	color: #777;
	font-size: .71rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.caro-system-hero h1 {
	margin-top: 0;
	margin-bottom: 0;
	color: #111;
	font-size: clamp(2.7rem,4vw,4.25rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.04em;
}

.caro-system-hero p:last-child:not(.caro-system-eyebrow) {
	max-width: 670px;
	margin-top: 20px;
	margin-bottom: 0;
	color: #555;
	font-size: 1rem;
	line-height: 1.65;
}

.caro-system-content {
	width: min(calc(100% - 48px),1180px);
	margin-inline: auto;
	padding: clamp(52px,6vw,82px) 0 100px;
}

.caro-system-content--wide {
	max-width: 1440px;
}


/* WOOCOMMERCE SYSTEM PAGES */

.caro-system-content .woocommerce {
	width: 100%;
}

.caro-system-content .woocommerce table.shop_table {
	border-collapse: separate;
	border-spacing: 0;
	border-color: #e3e3df;
	border-radius: 10px;
	overflow: hidden;
}

.caro-system-content .woocommerce input.input-text,
.caro-system-content .woocommerce textarea,
.caro-system-content .woocommerce select {
	border: 1px solid #d7d7d3;
	border-radius: 6px;
	background: #fff;
	box-shadow: none;
}

.caro-system-content .woocommerce button.button,
.caro-system-content .woocommerce a.button,
.caro-system-content .woocommerce input.button,
.caro-system-content .woocommerce #respond input#submit {
	border-radius: 6px;
	background: #111;
	color: #fff;
	font-weight: 700;
	letter-spacing: .03em;
}

.caro-system-content .woocommerce button.button:hover,
.caro-system-content .woocommerce a.button:hover,
.caro-system-content .woocommerce input.button:hover {
	background: #333;
	color: #fff;
}


/* SITEMAP */

.caro-html-sitemap {
	display: grid;
	grid-template-columns: repeat(3,minmax(0,1fr));
	gap: 50px;
}

.caro-sitemap-group h2 {
	margin: 0 0 20px;
	font-size: 1.4rem;
	font-weight: 650;
	letter-spacing: -.02em;
}

.caro-sitemap-group ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.caro-sitemap-group li {
	padding: 10px 0;
	border-bottom: 1px solid #ecece8;
}

.caro-sitemap-group a {
	color: #222;
	text-decoration: none;
}

.caro-sitemap-group a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}


/* ==========================================================
   SINGLE JOURNAL POSTS
========================================================== */

body.single-post #content > .ast-container,
body.single-post #primary,
body.single-post .site-main {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

body.single-post article.post {
	width: min(calc(100% - 48px),900px);
	margin: 0 auto;
	padding: clamp(58px,7vw,92px) 0 100px;
}

body.single-post .entry-header {
	margin-bottom: 34px;
}

body.single-post .entry-title {
	max-width: 850px;
	color: #111;
	font-size: clamp(2.6rem,4vw,4.2rem);
	font-weight: 600;
	line-height: 1.03;
	letter-spacing: -.04em;
}

body.single-post .entry-meta {
	color: #888;
	font-size: .76rem;
	letter-spacing: .04em;
}

body.single-post .post-thumb,
body.single-post .wp-post-image {
	margin-bottom: 36px;
	border-radius: 14px;
}

body.single-post .entry-content {
	color: #3e3e42;
	font-size: 1.04rem;
	line-height: 1.8;
}

body.single-post .entry-content h2 {
	margin-top: 48px;
	color: #151515;
	font-size: clamp(1.7rem,2.3vw,2.3rem);
	letter-spacing: -.025em;
}

body.single-post .entry-content h3 {
	margin-top: 36px;
	color: #191919;
	font-size: 1.35rem;
}


/* ==========================================================
   BLOG ARCHIVES / SEARCH
========================================================== */

body.category #content > .ast-container,
body.tag #content > .ast-container,
body.author #content > .ast-container,
body.date #content > .ast-container,
body.search #content > .ast-container {
	width: min(calc(100% - 48px),1240px);
	max-width: 1240px;
	margin-inline: auto;
	padding-top: 64px;
	padding-bottom: 100px;
}

body.category .page-title,
body.tag .page-title,
body.author .page-title,
body.date .page-title,
body.search .page-title {
	color: #111;
	font-size: clamp(2.4rem,4vw,3.8rem);
	font-weight: 600;
	letter-spacing: -.035em;
}

body.category article,
body.tag article,
body.author article,
body.date article,
body.search article {
	padding: 32px 0;
	border-bottom: 1px solid #e9e9e6;
}

body.category .entry-title,
body.tag .entry-title,
body.author .entry-title,
body.date .entry-title,
body.search .entry-title {
	font-size: clamp(1.45rem,2vw,2rem);
	font-weight: 650;
}


/* MOBILE */

@media (max-width: 760px) {

	.caro-system-content {
		width: calc(100% - 30px);
		padding-top: 44px;
		padding-bottom: 70px;
	}

	.caro-system-hero {
		padding: 46px 15px 40px;
	}

	.caro-html-sitemap {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	body.single-post article.post {
		width: calc(100% - 30px);
		padding-top: 46px;
		padding-bottom: 70px;
	}

	body.category #content > .ast-container,
	body.tag #content > .ast-container,
	body.author #content > .ast-container,
	body.date #content > .ast-container,
	body.search #content > .ast-container {
		width: calc(100% - 30px);
		padding-top: 44px;
		padding-bottom: 70px;
	}
}
