/* ============================
   CryptoFaucets.cash base UI
   ============================ */
/* Tokens */
:root {
}

/* Base */
body {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	background: radial-gradient(900px 500px at 10% 0%, rgba(120,170,255,.16), transparent 60%), radial-gradient(900px 500px at 90% 10%, rgba(255,190,120,.14), transparent 60%), #fff;
}

/* Block theme padding */
.wp-site-blocks > * {
	padding-left: var(--cf-pad);
	padding-right: var(--cf-pad);
}

/* Content width */
.wp-block-post-content,
.entry-content,
.post-content,
main article {
	max-width: var(--cf-max);
	margin-left: auto;
	margin-right: auto;
	line-height: 1.7;
	font-size: clamp(16px, 1.2vw, 18px);
}

/* Headings */
h1,
.wp-block-post-title {
	letter-spacing: -.02em;
	line-height: 1.1;
}

h2 {
	margin-top: 2.2em;
	padding-top: .2em;
	letter-spacing: -.01em;
}

p {
	margin: 1em 0;
}

/* Media */
img,
figure,
.wp-block-image img {
	border-radius: 12px;
}

.wp-block-image img {
	box-shadow: var(--cf-shadow);
}

/* Links */
a {
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 2px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size .18s ease, opacity .18s ease;
}

a:hover {
	background-size: 100% 2px;
	opacity: .9;
}

/* ============================
   IMPORTANT: leave normal lists alone
   (No global "list-style: none")
   ============================ */
.wp-block-post-content :is(ul, ol),
.entry-content :is(ul, ol) {
	max-width: var(--cf-max);
	margin-left: auto;
	margin-right: auto;
}

/* ============================
   Card styling, opt-in classes
   ============================ */
/* Use on a Group block that should look like one big card */
.cf-card {
	background: linear-gradient(180deg, var(--cf-card-bg-1) 0%, var(--cf-card-bg-2) 100%);
	border: 1px solid var(--cf-card-border);
	border-left: 4px solid var(--cf-accent);
	border-radius: var(--cf-radius);
	box-shadow: var(--cf-card-shadow);
	padding: 16px;
}

/* Use on a Group block that contains multiple "item cards" */
.cf-card-stack > * {
	margin-top: 12px;
}

.cf-card-stack > :first-child {
	margin-top: 0;
}

/* Use on a List block to turn its items into cards */
.cf-cards {
	padding-left: 0;
	list-style: none;
	margin: 1.2em auto;
	max-width: var(--cf-max);
}

.cf-cards > li {
	background: linear-gradient(180deg, var(--cf-card-bg-1) 0%, var(--cf-card-bg-2) 100%);
	border: 1px solid var(--cf-card-border);
	border-left: 4px solid var(--cf-accent);
	border-radius: var(--cf-radius);
	box-shadow: var(--cf-card-shadow);
	padding: 16px;
	margin: 12px 0;
	transition: transform .15s ease, box-shadow .15s ease;
}

.cf-cards > li:hover {
	transform: translateY(-2px);
	box-shadow: var(--cf-card-shadow-hover);
}

/* First link in a card looks like a title */
.cf-cards > li > a:first-child {
	font-weight: 700;
	font-size: 1.05em;
}

/* Nested lists inside a card should look normal */
.cf-cards > li :is(ul, ol) {
	list-style: disc;
	padding-left: 1.2em;
	margin: .75em 0 0;
}

/* ============================
   Tables
   ============================ */
.wp-block-post-content table,
.entry-content table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	border-radius: 12px;
	border: 1px solid rgba(0,0,0,.08);
	background: rgba(255,255,255,.8);
}

.wp-block-post-content th,
.wp-block-post-content td,
.entry-content th,
.entry-content td {
	padding: 12px;
	border-bottom: 1px solid rgba(0,0,0,.06);
	vertical-align: top;
}

.wp-block-post-content th,
.entry-content th {
	text-align: left;
	background: rgba(0,0,0,.03);
	font-weight: 700;
}

.wp-block-post-content tr:nth-child(even) td,
.entry-content tr:nth-child(even) td {
	background: rgba(0,0,0,.015);
}

.wp-block-table {
	overflow-x: auto;
}

/* ============================
   Callouts
   ============================ */
.wp-block-post-content blockquote,
.entry-content blockquote {
	margin: 1.6em 0;
	padding: 14px 16px;
	border-left: 4px solid rgba(0,0,0,.25);
	background: rgba(0,0,0,.03);
	border-radius: 12px;
}

.wp-block-post-content blockquote p,
.entry-content blockquote p {
	margin: .6em 0;
}

/* cache-bust: v2 */