.tw-seo-tools-grid {
	width: 100%;
	background: #ffffff;
	color: #111111;
}

.tw-seo-tools-grid-inner {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 95px 30px 100px;
}

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.tw-seo-tools-grid-header {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	align-items: end;
	gap: 80px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.tw-seo-tools-grid-eyebrow {
	margin: 0 0 18px;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.18em;
	color: #777777;
}

.tw-seo-tools-grid-header h2 {
	max-width: 720px;
	margin: 0;
	font-size: clamp(42px, 4.8vw, 66px);
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: -0.055em;
	color: #111111;
}

.tw-seo-tools-grid-header h2 span {
	display: block;
	color: #777777;
}

.tw-seo-tools-grid-intro {
	max-width: 430px;
	margin: 0 0 4px;
	font-size: 16px;
	line-height: 1.7;
	color: #666666;
}

/* ---------------------------------------------------------
   CARDS GRID
   --------------------------------------------------------- */

.tw-seo-tools-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-left: 1px solid rgba(17, 17, 17, 0.1);
	border-top: 1px solid rgba(17, 17, 17, 0.1);
}

/* ---------------------------------------------------------
   CARD
   --------------------------------------------------------- */

.tw-seo-tool-card {
	position: relative;
	min-height: 330px;
	padding: 32px 34px 30px;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-right: 1px solid rgba(17, 17, 17, 0.1);
	border-bottom: 1px solid rgba(17, 17, 17, 0.1);
	transition:
		background-color 0.25s ease,
		transform 0.25s ease;
}

.tw-seo-tool-card:hover {
	background: #f7f5f0;
}

/* ---------------------------------------------------------
   CARD TOP
   --------------------------------------------------------- */

.tw-seo-tool-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.tw-seo-tool-number {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #777777;
}

.tw-seo-tool-label {
	font-size: 9px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.16em;
	color: #999999;
}

/* ---------------------------------------------------------
   CARD CONTENT
   --------------------------------------------------------- */

.tw-seo-tool-card-content {
	max-width: 500px;
	margin-top: 55px;
}

.tw-seo-tool-card-content h3 {
	margin: 0;
	font-size: clamp(25px, 2.5vw, 34px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.035em;
	color: #111111;
}

.tw-seo-tool-card-content p {
	max-width: 470px;
	margin: 20px 0 0;
	font-size: 15px;
	line-height: 1.7;
	color: #666666;
}

/* ---------------------------------------------------------
   TOOL LINK
   --------------------------------------------------------- */

.tw-seo-tool-card-link {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding-top: 35px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.08em;
	color: #111111;
}

.tw-seo-tool-card-link span {
	font-size: 18px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.tw-seo-tool-card-link:hover {
	color: #777777;
}

.tw-seo-tool-card-link:hover span {
	transform: translateX(4px);
}

/* ---------------------------------------------------------
   CARD EDGE DETAIL
   --------------------------------------------------------- */

.tw-seo-tool-card::after {
	content: "";
	position: absolute;
	left: 34px;
	bottom: 30px;
	width: 28px;
	height: 1px;
	background: #777777;
	transition: width 0.25s ease;
}

.tw-seo-tool-card:hover::after {
	width: 50px;
}

/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 900px) {

	.tw-seo-tools-grid-inner {
		padding-top: 75px;
		padding-bottom: 80px;
	}

	.tw-seo-tools-grid-header {
		grid-template-columns: 1fr;
		gap: 28px;
		padding-bottom: 40px;
	}

	.tw-seo-tools-grid-intro {
		max-width: 650px;
	}

	.tw-seo-tool-card {
		min-height: 310px;
		padding: 28px 28px 28px;
	}

	.tw-seo-tool-card-content {
		margin-top: 45px;
	}

	.tw-seo-tool-card::after {
		left: 28px;
		bottom: 28px;
	}
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

	.tw-seo-tools-grid-inner {
		padding: 65px 20px 70px;
	}

	.tw-seo-tools-grid-header {
		gap: 24px;
		padding-bottom: 34px;
	}

	.tw-seo-tools-grid-eyebrow {
		margin-bottom: 15px;
		font-size: 9px;
	}

	.tw-seo-tools-grid-header h2 {
		font-size: clamp(38px, 11vw, 52px);
		line-height: 0.98;
	}

	.tw-seo-tools-grid-intro {
		font-size: 15px;
		line-height: 1.65;
	}

	.tw-seo-tools-cards {
		grid-template-columns: 1fr;
	}

	.tw-seo-tool-card {
		min-height: 300px;
		padding: 26px 24px 26px;
	}

	.tw-seo-tool-card-content {
		margin-top: 42px;
	}

	.tw-seo-tool-card-content h3 {
		font-size: 27px;
	}

	.tw-seo-tool-card-content p {
		margin-top: 17px;
		font-size: 15px;
		line-height: 1.65;
	}

	.tw-seo-tool-card-link {
		padding-top: 30px;
	}

	.tw-seo-tool-card::after {
		left: 24px;
		bottom: 26px;
	}
}