/* Section ap_pillars: one active card and finished cards with a diagonal stamp. */

.ap-pillars {
	max-width: var(--ap-container);
	margin: 0 auto;
	padding: 80px var(--ap-gutter) 0;
}

.ap-pillars__head .ap-section-head__title {
	line-height: normal;
}

.ap-pillars__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	align-items: stretch;
}

.ap-pillars__active {
	background: var(--ap-color-white);
	border: 1px solid var(--ap-color-line);
	border-radius: var(--ap-radius-card-md);
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-height: 100%;
}

.ap-pillars__active:hover {
	border-color: var(--ap-color-graphite);
	transform: translateY(-3px);
}

.ap-pillars__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ap-pillars__tag {
	font-family: var(--ap-font-expanded);
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 0.05em;
	color: var(--ap-color-accent);
}

.ap-pillars__arrow {
	font-size: 18px;
}

.ap-pillars__title {
	font-family: var(--ap-font-heading);
	font-weight: 600;
	font-size: clamp(34px, 3.6vw, 52px);
	line-height: 1.04;
	margin-top: auto;
}

.ap-pillars__text {
	font-size: 16px;
	line-height: 1.55;
	color: var(--ap-color-ink-soft);
	max-width: 42ch;
}

.ap-pillars__done-list {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.ap-pillars__done {
	position: relative;
	background: #ede7dc;
	border: 1px solid var(--ap-color-line);
	border-radius: var(--ap-radius-card-md);
	padding: 26px 32px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 120px;
	overflow: hidden;
	pointer-events: none;
	flex: 1;
}

.ap-pillars__hatch {
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(45deg, rgba(43, 43, 48, 0.045) 0, rgba(43, 43, 48, 0.045) 12px, transparent 12px, transparent 24px);
}

/* Width, font size and angle come from pillars.js. */
.ap-pillars__stamp {
	position: absolute;
	left: 0;
	bottom: 0;
	transform-origin: left bottom;
	white-space: nowrap;
	text-align: center;
	font-family: var(--ap-font-heading);
	font-style: normal;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	color: rgba(43, 43, 48, 0.13);
	text-transform: uppercase;
}

.ap-pillars__done-tag {
	position: relative;
	font-family: var(--ap-font-expanded);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.05em;
	color: #9a9183;
}

.ap-pillars__done-title {
	position: relative;
	font-family: var(--ap-font-heading);
	font-weight: 600;
	font-size: 26px;
	line-height: 1.06;
	color: #6e665b;
}

.ap-pillars__done-text {
	position: relative;
	font-size: 14px;
	line-height: 1.5;
	color: #9a9183;
	max-width: 42ch;
}

@media (max-width: 760px) {
	.ap-pillars__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.ap-pillars {
		padding-left: 20px;
		padding-right: 20px;
	}
}
