:root {
	--qwop-ink: #17221c;
	--qwop-green: #1e5b43;
	--qwop-mint: #dceccf;
	--qwop-terra: #c96949;
	--qwop-yellow: #f2cb67;
	--qwop-cream: #f5f2ea;
	--qwop-white: #fff;
	--qwop-muted: #64706a;
	--qwop-line: rgba(23, 34, 28, 0.12);
	--qwop-radius: 14px;
}

.qwop-home,
.qwop-home * {
	box-sizing: border-box;
}

.qwop-home {
	background: var(--qwop-cream);
	color: var(--qwop-ink);
	font-family: Montserrat, Arial, sans-serif;
	padding: 24px 0 0;
}

.qwop-home__inner {
	margin: 0 auto;
	max-width: 1440px;
	width: calc(100% - 48px);
}

.qwop-visually-hidden {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.qwop-hero {
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
	grid-template-rows: repeat(2, 238px);
}

.qwop-hero__card {
	background: linear-gradient(135deg, var(--qwop-green), var(--qwop-ink));
	background-position: center;
	background-size: cover;
	border-radius: var(--qwop-radius);
	min-height: 0;
	overflow: hidden;
	position: relative;
}

.qwop-hero__main {
	grid-row: 1 / 3;
}

.qwop-hero__link {
	align-items: flex-start;
	background: linear-gradient(180deg, rgba(10, 20, 15, 0.02) 12%, rgba(10, 20, 15, 0.88) 100%);
	color: var(--qwop-white) !important;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: flex-end;
	padding: 30px;
	position: relative;
	text-decoration: none !important;
	z-index: 1;
}

.qwop-hero__main .qwop-hero__link {
	padding: 42px;
}

.qwop-hero h2 {
	color: inherit;
	font-family: Lora, Georgia, serif;
	font-size: clamp(25px, 2.15vw, 46px);
	font-weight: 700;
	line-height: 1.08;
	margin: 12px 0 8px;
	max-width: 820px;
}

.qwop-hero__side h2 {
	font-size: clamp(21px, 1.45vw, 30px);
	max-width: 520px;
}

.qwop-hero p {
	font-size: 16px;
	line-height: 1.5;
	margin: 0 0 14px;
	max-width: 680px;
}

.qwop-chip {
	background: var(--qwop-yellow);
	border-radius: 5px;
	color: var(--qwop-ink);
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.035em;
	line-height: 1.2;
	padding: 6px 9px;
	text-transform: uppercase;
}

.qwop-meta {
	color: inherit;
	font-size: 12px;
	opacity: 0.82;
}

.qwop-arrow {
	align-items: center;
	background: var(--qwop-white);
	border-radius: 50%;
	bottom: 24px;
	color: var(--qwop-ink);
	display: flex;
	font-size: 22px;
	height: 46px;
	justify-content: center;
	position: absolute;
	right: 24px;
	transition: transform 0.2s ease;
	width: 46px;
}

.qwop-hero__link:hover .qwop-arrow,
.qwop-topic:hover .qwop-topic__body > span {
	transform: translateX(4px);
}

.qwop-empty-hero {
	background: linear-gradient(135deg, var(--qwop-white) 0%, #edf3ea 100%);
	border: 1px solid var(--qwop-line);
	border-radius: var(--qwop-radius);
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
	min-height: 430px;
	overflow: hidden;
}

.qwop-empty-hero__content {
	align-self: center;
	padding: clamp(34px, 6vw, 80px);
}

.qwop-kicker {
	color: var(--qwop-terra);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.qwop-empty-hero h1 {
	color: var(--qwop-ink);
	font-family: Lora, Georgia, serif;
	font-size: clamp(40px, 5vw, 74px);
	line-height: 0.98;
	margin: 18px 0;
	max-width: 850px;
}

.qwop-empty-hero p {
	color: var(--qwop-muted);
	font-size: 18px;
	line-height: 1.55;
	max-width: 680px;
}

.qwop-empty-hero .search-form {
	display: flex;
	margin-top: 28px;
	max-width: 680px;
}

.qwop-empty-hero .search-field {
	background: var(--qwop-white);
	border: 1px solid var(--qwop-line);
	border-radius: 8px 0 0 8px;
	font-size: 16px;
	min-height: 54px;
	padding: 0 18px;
	width: 100%;
}

.qwop-empty-hero .search-submit {
	background: var(--qwop-yellow);
	border: 0;
	border-radius: 0 8px 8px 0;
	color: var(--qwop-ink);
	font-weight: 700;
	padding: 0 24px;
}

.qwop-empty-hero__note {
	align-items: flex-start;
	background: var(--qwop-green);
	color: var(--qwop-white);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 46px;
}

.qwop-empty-hero__note strong {
	font-family: Lora, Georgia, serif;
	font-size: 30px;
	line-height: 1.1;
	margin-bottom: 14px;
}

.qwop-empty-hero__note span {
	font-size: 14px;
	line-height: 1.5;
	opacity: 0.86;
}

.qwop-now {
	align-items: center;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid var(--qwop-line);
	border-radius: 9px;
	display: flex;
	gap: 20px;
	margin: 14px 0 0;
	overflow-x: auto;
	padding: 12px 16px;
	white-space: nowrap;
}

.qwop-now strong {
	color: var(--qwop-terra);
	font-size: 13px;
}

.qwop-now a {
	color: var(--qwop-ink);
	font-size: 12px;
	text-decoration: none;
}

.qwop-now a span {
	align-items: center;
	background: var(--qwop-yellow);
	border-radius: 50%;
	display: inline-flex;
	font-weight: 700;
	height: 22px;
	justify-content: center;
	margin-right: 7px;
	width: 22px;
}

.qwop-topics,
.qwop-feed {
	margin-top: 42px;
}

.qwop-section-title {
	align-items: flex-end;
	display: flex;
	justify-content: space-between;
	margin-bottom: 18px;
}

.qwop-section-title h2 {
	color: var(--qwop-ink);
	font-family: Lora, Georgia, serif;
	font-size: clamp(34px, 3.6vw, 56px);
	line-height: 1.05;
	margin: 0;
}

.qwop-section-title > a {
	color: var(--qwop-ink);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.qwop-topics__grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.qwop-topic {
	background: var(--qwop-white);
	border: 1px solid var(--qwop-line);
	border-radius: 11px;
	color: var(--qwop-ink) !important;
	overflow: hidden;
	text-decoration: none !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qwop-topic:hover {
	box-shadow: 0 12px 30px rgba(23, 34, 28, 0.1);
	transform: translateY(-3px);
}

.qwop-topic__media {
	align-items: center;
	background: linear-gradient(135deg, var(--qwop-mint), #eff4eb);
	background-position: center;
	background-size: cover;
	display: flex;
	font-family: Lora, Georgia, serif;
	font-size: 54px;
	height: 128px;
	justify-content: center;
}

.qwop-topic__body {
	min-height: 128px;
	padding: 15px 15px 18px;
	position: relative;
}

.qwop-topic__body strong {
	display: block;
	font-family: Lora, Georgia, serif;
	font-size: 18px;
	line-height: 1.15;
	padding-right: 24px;
}

.qwop-topic__body small {
	color: var(--qwop-muted);
	display: block;
	font-size: 11px;
	line-height: 1.35;
	margin-top: 8px;
}

.qwop-topic__body > span {
	bottom: 16px;
	font-size: 20px;
	position: absolute;
	right: 14px;
	transition: transform 0.2s ease;
}

.qwop-feed {
	border-top: 3px solid var(--qwop-green);
	padding-top: 20px;
}

.qwop-feed--terracotta {
	border-color: var(--qwop-terra);
}

.qwop-feed--yellow {
	border-color: var(--qwop-yellow);
}

.qwop-feed__grid {
	display: grid;
	gap: 14px;
	grid-template-columns: 1.25fr repeat(2, minmax(0, 0.72fr)) minmax(260px, 0.92fr);
}

.qwop-feed-card {
	background: var(--qwop-white);
	border: 1px solid var(--qwop-line);
	border-radius: 11px;
	overflow: hidden;
}

.qwop-feed-card:nth-of-type(4) {
	display: none;
}

.qwop-feed-card__image {
	background: linear-gradient(135deg, var(--qwop-green), var(--qwop-mint));
	background-position: center;
	background-size: cover;
	display: block;
	height: 145px;
}

.qwop-feed-card--lead .qwop-feed-card__image {
	height: 260px;
}

.qwop-feed-card__body {
	padding: 17px;
}

.qwop-feed-card h3 {
	font-family: Lora, Georgia, serif;
	font-size: 20px;
	line-height: 1.18;
	margin: 10px 0 8px;
}

.qwop-feed-card--lead h3 {
	font-size: 27px;
}

.qwop-feed-card h3 a {
	color: var(--qwop-ink);
	text-decoration: none;
}

.qwop-feed-card p {
	color: var(--qwop-muted);
	font-size: 13px;
	line-height: 1.5;
	margin: 0 0 12px;
}

.qwop-feed-card .qwop-meta {
	color: var(--qwop-muted);
}

.qwop-editor-note {
	background: linear-gradient(145deg, var(--qwop-mint), #f2f6ed);
	border-radius: 11px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 410px;
	padding: 30px;
}

.qwop-editor-note > span {
	color: var(--qwop-green);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.qwop-editor-note strong {
	font-family: Lora, Georgia, serif;
	font-size: 27px;
	line-height: 1.12;
	margin: 14px 0;
}

.qwop-editor-note p {
	font-size: 13px;
	line-height: 1.55;
	margin: 0;
}

.qwop-trust {
	background: var(--qwop-mint);
	border-radius: 12px 12px 0 0;
	display: grid;
	gap: 0;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 48px;
	padding: 28px;
}

.qwop-trust > div {
	align-items: center;
	display: grid;
	gap: 2px 12px;
	grid-template-columns: 42px 1fr;
	padding: 6px 24px;
}

.qwop-trust > div + div {
	border-left: 1px solid rgba(30, 91, 67, 0.2);
}

.qwop-trust span {
	align-items: center;
	background: var(--qwop-green);
	border-radius: 50%;
	color: var(--qwop-white);
	display: flex;
	font-weight: 700;
	grid-row: 1 / 3;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.qwop-trust strong {
	font-family: Lora, Georgia, serif;
	font-size: 18px;
}

.qwop-trust small {
	color: var(--qwop-muted);
	font-size: 11px;
}

@media (max-width: 1180px) {
	.qwop-topics__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.qwop-feed__grid {
		grid-template-columns: 1.2fr repeat(2, 0.8fr);
	}

	.qwop-editor-note {
		display: none;
	}
}

@media (max-width: 820px) {
	.qwop-home {
		padding-top: 14px;
	}

	.qwop-home__inner {
		width: calc(100% - 28px);
	}

	.qwop-hero {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 420px 230px;
	}

	.qwop-hero__main {
		grid-column: 1 / 3;
		grid-row: auto;
	}

	.qwop-hero__main .qwop-hero__link,
	.qwop-hero__link {
		padding: 24px;
	}

	.qwop-empty-hero {
		grid-template-columns: 1fr;
	}

	.qwop-empty-hero__note {
		min-height: 180px;
		padding: 28px;
	}

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

	.qwop-feed__grid {
		grid-template-columns: 1fr 1fr;
	}

	.qwop-feed-card--lead {
		grid-column: 1 / 3;
	}

	.qwop-trust {
		grid-template-columns: 1fr;
	}

	.qwop-trust > div + div {
		border-left: 0;
		border-top: 1px solid rgba(30, 91, 67, 0.2);
	}
}

@media (max-width: 520px) {
	.qwop-home__inner {
		width: calc(100% - 20px);
	}

	.qwop-hero {
		display: block;
	}

	.qwop-hero__card {
		min-height: 220px;
	}

	.qwop-hero__main {
		min-height: 420px;
	}

	.qwop-hero__card + .qwop-hero__card {
		margin-top: 10px;
	}

	.qwop-hero h2,
	.qwop-hero__side h2 {
		font-size: 25px;
		padding-right: 36px;
	}

	.qwop-hero__main h2 {
		font-size: 34px;
	}

	.qwop-arrow {
		bottom: 18px;
		height: 38px;
		right: 18px;
		width: 38px;
	}

	.qwop-empty-hero__content {
		padding: 34px 24px;
	}

	.qwop-empty-hero h1 {
		font-size: 42px;
	}

	.qwop-empty-hero .search-form {
		flex-direction: column;
	}

	.qwop-empty-hero .search-field,
	.qwop-empty-hero .search-submit {
		border-radius: 8px;
		width: 100%;
	}

	.qwop-empty-hero .search-submit {
		min-height: 50px;
	}

	.qwop-section-title {
		align-items: center;
	}

	.qwop-section-title h2 {
		font-size: 34px;
	}

	.qwop-topics,
	.qwop-feed {
		margin-top: 32px;
	}

	.qwop-topic__media {
		height: 105px;
	}

	.qwop-topic__body {
		min-height: 120px;
	}

	.qwop-feed__grid {
		grid-template-columns: 1fr;
	}

	.qwop-feed-card--lead {
		grid-column: auto;
	}

	.qwop-feed-card:nth-of-type(4) {
		display: block;
	}

	.qwop-feed-card--lead .qwop-feed-card__image,
	.qwop-feed-card__image {
		height: 210px;
	}

	.qwop-trust {
		padding: 18px;
	}

	.qwop-trust > div {
		padding: 15px 4px;
	}
}

