/* ROOT */
.dr1051termsandconditions {
	font-family: 'Poppins', sans-serif;
	background: #f8fafc;
	color: #0f172a;
	box-sizing: border-box;
}

.dr1051termsandconditions *, .dr1051termsandconditions *::before,
	.dr1051termsandconditions *::after {
	box-sizing: inherit;
}

/* =========================
   HERO
========================= */
.dr1051termsandconditions .tc-hero {
	background: linear-gradient(135deg, #020617, #0f172a);
	color: #ffffff;
	text-align: center;
	padding: 90px 20px;
}

.dr1051termsandconditions .tc-hero h1 {
	font-size: 42px;
	font-weight: 800;
	margin-bottom: 10px;
	line-height: 1.2;
}

.dr1051termsandconditions .tc-hero p {
	font-size: 16px;
	color: #c7d2fe;
}

/* =========================
   CONTAINER (OVERFLOW SAFE)
========================= */
.dr1051termsandconditions .tc-container {
	max-width: 1100px;
	margin: 0 auto 80px; /* removed negative margin */
	padding: 0 20px;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	transform: translateY(-50px); /* same visual overlap */
}

/* =========================
   CARD
========================= */
.dr1051termsandconditions .tc-card {
	background: #ffffff;
	border-radius: 22px;
	padding: 30px 28px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
	transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover only on hover-capable devices */
@media ( hover : hover) {
	.dr1051termsandconditions .tc-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
	}
}

.dr1051termsandconditions .tc-card h2 {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 14px;
	color: #020617;
}

.dr1051termsandconditions .tc-card p {
	font-size: 15px;
	line-height: 1.8;
	color: #334155;
}

/* =========================
   LINKS
========================= */
.dr1051termsandconditions .tc-card a {
	color: #2563eb;
	font-weight: 600;
	text-decoration: none;
}

.dr1051termsandconditions .tc-card a:hover {
	text-decoration: underline;
}

/* =========================
   MAP (OVERFLOW SAFE)
========================= */
.dr1051termsandconditions .tc-map iframe {
	width: 100%;
	height: 350px;
	border: 0;
	border-radius: 16px;
	display: block;
}

/* =========================
   RESPONSIVE
========================= */
@media ( max-width : 768px) {
	.dr1051termsandconditions .tc-hero {
		padding: 70px 16px;
	}
	.dr1051termsandconditions .tc-hero h1 {
		font-size: 32px;
	}
	.dr1051termsandconditions .tc-container {
		transform: translateY(-40px);
	}
	.dr1051termsandconditions .tc-card {
		padding: 22px 20px;
	}
}