/* What Could Work – homepage and investigation lists. Loaded by wcw-site-helpers.php. */

.wcw-home {
	--wcw-ink: var(--wp--preset--color--contrast, #111);
	--wcw-mut: #5d5d57;
	--wcw-line: #e5e3dc;
	--wcw-tint: #f4f2ec;
	--wcw-acc: #0f5f4a;
	max-width: 1080px;
	margin-inline: auto;
	padding-inline: clamp(20px, 5vw, 40px);
	color: var(--wcw-ink);
	font-size: 16px;
	line-height: 1.5;
}
body:has(main.wcw-home) header.wp-block-template-part .alignwide {
	max-width: 1000px;
}
.wcw-home * { box-sizing: border-box; }
.wcw-home a { text-decoration: none; }
.wcw-home a:hover { text-decoration: underline; }
.wcw-home :is(p, h1, h2, h3, ul, ol, div, a, form) { margin-block: 0; }
.wcw-home ul.wp-block-post-template { list-style: none; padding: 0; margin: 0; display: block; }

/* Hero */
.wcw-home .wcw-hero {
	display: grid;
	grid-template-columns: 5fr 6fr;
	gap: 48px;
	align-items: center;
	padding: 28px 0 44px;
}
.wcw-home .wcw-eye {
	font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
	color: var(--wcw-acc); margin-bottom: 14px;
}
.wcw-home h1 {
	font-size: clamp(26px, 1rem + 2vw, 38px); line-height: 1.14; font-weight: 500;
	letter-spacing: -.02em; margin-bottom: 16px; text-wrap: balance;
}
.wcw-home .wcw-sub { color: var(--wcw-mut); margin-bottom: 18px; }
.wcw-home .wcw-proof { font-size: 13px; font-weight: 600; }

/* Featured investigation */
.wcw-home .wcw-feat { background: var(--wcw-tint); border-radius: 18px; padding: 30px 32px; }
.wcw-home .wcw-feat-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.wcw-home .wcw-feat-top .wcw-eye { margin-bottom: 0; }
.wcw-home .wcw-feat .wp-block-post-title {
	font-size: clamp(21px, 1rem + .9vw, 26px); line-height: 1.2; font-weight: 600;
	letter-spacing: -.015em; margin-bottom: 12px; text-wrap: balance;
}
.wcw-home .wcw-feat .wp-block-post-excerpt { color: #3b3b37; margin-bottom: 20px; }
.wcw-home .wcw-feat-foot {
	display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap;
	font-size: 13px; color: var(--wcw-mut);
}
.wcw-home .wp-block-read-more {
	font-weight: 700; font-size: 15px; color: var(--wcw-ink);
	border-bottom: 2px solid var(--wcw-ink); padding-bottom: 1px; display: inline-block;
}
.wcw-home .wp-block-read-more:hover { text-decoration: none; }

.wcw-home .wcw-feat-foot .wcw-meta { margin-bottom: 0; }

/* Sections */
.wcw-home .wcw-sec.wcw-latest { padding-bottom: 0; }
.wcw-home .wcw-sec { border-top: 1px solid var(--wcw-line); padding: 22px 0 26px; }
.wcw-home .wcw-shrow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.wcw-home .wcw-sh { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
.wcw-home .wcw-sec > .wcw-sh { margin-bottom: 14px; }
.wcw-home .wcw-all { font-size: 14px; font-weight: 600; }

/* Sector chips */
.wcw-home ul.wcw-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wcw-home ul.wcw-chips li {
	border: 1px solid var(--wcw-line); border-radius: 999px; padding: 7px 14px;
	font-size: 13px; color: var(--wcw-mut); white-space: nowrap;
}
.wcw-home ul.wcw-chips li a { font-size: 14px; font-weight: 500; color: var(--wcw-ink); }

/* List + sidebar */
.wcw-home .wcw-cols { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 52px; padding-bottom: 40px; }
.wcw-home .wcw-row { padding: 18px 0; border-bottom: 1px solid var(--wcw-line); }
.wcw-home .wcw-list li:first-child .wcw-row { padding-top: 2px; }
.wcw-home .wcw-meta {
	display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
	font-size: 12.5px; color: var(--wcw-mut); margin-bottom: 6px;
}
.wcw-home .taxonomy-category { font-size: inherit; }
.wcw-home .wcw-meta .taxonomy-category a { color: var(--wcw-acc); font-weight: 600; }
.wcw-home .wp-block-post-date { font-size: inherit; color: inherit; }
.wcw-home .wcw-row .wp-block-post-title {
	font-size: clamp(17px, 1rem + .25vw, 19px); line-height: 1.28; font-weight: 600;
	letter-spacing: -.01em; margin-bottom: 6px;
}
.wcw-home .wcw-row .wp-block-post-excerpt { color: var(--wcw-mut); font-size: 14.5px; }
.wcw-home .wp-block-post-excerpt__excerpt { margin: 0; }

/* Verdict label */
.taxonomy-wcw_verdict a, .wcw-key a {
	display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 1.5;
	border-radius: 999px; padding: 2px 9px; text-decoration: none; text-transform: none;
	color: #7a5300; background: #f8ecc9;
}
.taxonomy-wcw_verdict a[href*="/verdict/promising"], .wcw-key a[href*="/verdict/promising"] { color: #0b5a41; background: #dff1e8; }
.taxonomy-wcw_verdict a[href*="/verdict/not-convincing"], .wcw-key a[href*="/verdict/not-convincing"] { color: #97271f; background: #f9dfdb; }

/* Boxes */
.wcw-home .wcw-box { border: 1px solid var(--wcw-line); border-radius: 16px; padding: 20px 22px; margin-bottom: 18px; }
.wcw-home .wcw-box .wcw-sh { margin-bottom: 12px; }
.wcw-home .wcw-box { counter-reset: wcw-step; }
.wcw-home .wcw-step {
	position: relative; padding-left: 36px; margin-bottom: 12px;
	font-size: 13.5px; line-height: 1.4; color: var(--wcw-mut); counter-increment: wcw-step;
}
.wcw-home .wcw-step strong { display: block; font-size: 14.5px; font-weight: 500; color: var(--wcw-ink); }
.wcw-home .wcw-step::before {
	content: counter(wcw-step); position: absolute; left: 0; top: 0; width: 24px; height: 24px;
	border-radius: 50%; background: var(--wcw-ink); color: #fff; font-size: 12px; font-weight: 700;
	display: grid; place-items: center;
}
.wcw-home .wcw-more { font-size: 14px; font-weight: 700; }
.wcw-home .wcw-more a { border-bottom: 2px solid var(--wcw-ink); padding-bottom: 1px; }
.wcw-home .wcw-more a:hover { text-decoration: none; }
.wcw-home .wcw-keyhead {
	border-top: 1px solid var(--wcw-line); margin-top: 14px; padding-top: 12px;
	font-size: 13px; font-weight: 700;
}
.wcw-home .wcw-key { font-size: 13px; color: var(--wcw-mut); margin-top: 6px; }

/* Suggest a problem */
.wcw-home .wcw-sug {
	background: var(--wcw-tint); border-radius: 18px; padding: 26px 32px; margin-bottom: 40px;
	display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap;
}
.wcw-home .wcw-sug-title { font-size: 20px; font-weight: 600; margin-bottom: 3px; }
.wcw-home .wcw-sug-text { color: var(--wcw-mut); font-size: 15px; }
.wcw-home .wcw-sug .wp-block-button__link { font-size: 14px; font-weight: 600; padding: 9px 18px; }
.wcw-home .wcw-sug .wp-block-button__link:hover { text-decoration: none; }

/* All-investigations page */
.wcw-home.wcw-archive { max-width: 800px; padding-top: 28px; padding-bottom: 40px; }
.wcw-home.wcw-archive .wcw-proof { margin-bottom: 22px; color: var(--wcw-mut); }
.wcw-home.wcw-archive ul.wcw-chips { margin-bottom: 18px; }
.wcw-home.wcw-archive .wp-block-search { margin-bottom: 26px; }
.wcw-home.wcw-archive .wp-block-search__label { display: none; }
.wcw-home.wcw-archive .wp-block-query-pagination { margin-top: 28px; font-size: 15px; }

@media (max-width: 820px) {
	.wcw-home .wcw-hero { display: block; padding: 14px 0 26px; }
	.wcw-home .wcw-sub { font-size: 14.5px; margin-bottom: 10px; }
	.wcw-home .wcw-proof { font-size: 12px; }
	.wcw-home .wcw-hero .wcw-proof { margin-bottom: 20px; }
	.wcw-home .wcw-feat { padding: 20px; border-radius: 16px; }
	.wcw-home .wcw-feat .wp-block-post-excerpt { font-size: 15px; margin-bottom: 16px; }
	.wcw-home ul.wcw-chips { gap: 6px; }
	.wcw-home ul.wcw-chips li { padding: 5px 11px; font-size: 12.5px; }
	.wcw-home ul.wcw-chips li a { font-size: 13.5px; }
	.wcw-home .wcw-cols { display: block; padding-bottom: 24px; }
	.wcw-home .wcw-list { margin-bottom: 24px; }
	.wcw-home .wcw-sug { padding: 22px 20px; }
}

/* Category, tag, verdict and search result pages */
.wcw-home.wcw-archive .wcw-eye a { color: inherit; }
.wcw-home.wcw-archive .wp-block-term-description { color: var(--wcw-mut); margin-bottom: 18px; }
.wcw-home.wcw-archive .wcw-none { color: var(--wcw-mut); padding: 18px 0; }

/* Email signup (MailPoet form inside a .wcw-box.wcw-mail) */
.wcw-home .wcw-mail-text { font-size: 13.5px; line-height: 1.45; color: var(--wcw-mut); margin-bottom: 12px; }
.wcw-home .wcw-mail .mailpoet_paragraph { margin: 0 0 10px !important; line-height: normal !important; }
.wcw-home .wcw-mail .mailpoet_text {
	width: 100% !important; box-sizing: border-box; border: 1px solid var(--wcw-line); border-radius: 10px;
	padding: 10px 12px; font: inherit; font-size: 15px; color: var(--wcw-ink); background: #fff;
}
.wcw-home .wcw-mail .mailpoet_text:focus { outline: 2px solid var(--wcw-acc); outline-offset: 1px; }
.wcw-home .wcw-mail .mailpoet_submit {
	width: 100%; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer;
	font: inherit; font-size: 14px; font-weight: 600; color: #fff; background: var(--wcw-ink);
}
.wcw-home .wcw-mail .mailpoet_submit:hover { background: var(--wcw-acc); }
.wcw-home .wcw-mail .mailpoet_message { padding: 0 !important; font-size: 13.5px; line-height: 1.45; }
.wcw-home .wcw-mail .mailpoet_message p { margin: 8px 0 0; }
.wcw-home .wcw-mail .mailpoet_validate_success { color: var(--wcw-acc); }
.wcw-home .wcw-mail .mailpoet_validate_error, .wcw-home .wcw-mail .parsley-errors-list { color: #97271f; font-size: 13px; }
.wcw-home .wcw-mail .parsley-errors-list { list-style: none; margin: 6px 0 0; padding: 0; }
